bigbuffet-rw/app/soapbox/features/ui/components/features_panel.js

60 lines
1.9 KiB
JavaScript
Raw Normal View History

2020-08-08 22:29:28 -07:00
import React from 'react';
import Icon from 'soapbox/components/icon';
2020-08-09 12:37:02 -07:00
import { NavLink } from 'react-router-dom';
2020-08-08 22:29:28 -07:00
export default class FeaturesPanel extends React.PureComponent {
render() {
return (
<div className='wtf-panel promo-panel'>
<div className='promo-panel__container'>
<div className='promo-panel-item'>
2020-08-09 12:37:02 -07:00
<NavLink className='promo-panel-item__btn' to='/settings/profile'>
2020-08-08 22:29:28 -07:00
<Icon id='user' className='promo-panel-item__icon' fixedWidth />
Edit Profile
2020-08-09 12:37:02 -07:00
</NavLink>
2020-08-08 22:29:28 -07:00
</div>
<div className='promo-panel-item'>
2020-08-09 12:37:02 -07:00
<NavLink className='promo-panel-item__btn' to='/messages'>
2020-08-08 22:29:28 -07:00
<Icon id='envelope' className='promo-panel-item__icon' fixedWidth />
Messages
2020-08-09 12:37:02 -07:00
</NavLink>
2020-08-08 22:29:28 -07:00
</div>
<div className='promo-panel-item'>
2020-08-09 12:37:02 -07:00
<NavLink className='promo-panel-item__btn' to='/bookmarks'>
2020-08-08 22:29:28 -07:00
<Icon id='bookmark' className='promo-panel-item__icon' fixedWidth />
Bookmarks
2020-08-09 12:37:02 -07:00
</NavLink>
2020-08-08 22:29:28 -07:00
</div>
<div className='promo-panel-item'>
2020-08-09 12:37:02 -07:00
<NavLink className='promo-panel-item__btn' to='/lists'>
2020-08-08 22:29:28 -07:00
<Icon id='list' className='promo-panel-item__icon' fixedWidth />
Lists
2020-08-09 12:37:02 -07:00
</NavLink>
2020-08-08 22:29:28 -07:00
</div>
<div className='promo-panel-item'>
2020-08-09 12:37:02 -07:00
<NavLink className='promo-panel-item__btn' to='/auth/edit'>
2020-08-08 22:29:28 -07:00
<Icon id='lock' className='promo-panel-item__icon' fixedWidth />
Security
2020-08-09 12:37:02 -07:00
</NavLink>
2020-08-08 22:29:28 -07:00
</div>
<div className='promo-panel-item'>
2020-08-09 12:37:02 -07:00
<NavLink className='promo-panel-item__btn' to='/settings/preferences'>
2020-08-08 22:29:28 -07:00
<Icon id='cog' className='promo-panel-item__icon' fixedWidth />
Preferences
2020-08-09 12:37:02 -07:00
</NavLink>
2020-08-08 22:29:28 -07:00
</div>
</div>
</div>
);
}
}