Somewhat get a max-width container working

This commit is contained in:
Matthew Penner 2020-08-22 16:49:18 -06:00
parent 19176fb1b6
commit 1f850fac61
2 changed files with 24 additions and 7 deletions

View file

@ -52,6 +52,7 @@ export default () => {
{name}
</Link>
</div>
<RightNavigation>
<SearchContainer/>
<NavLink to={'/'} exact>
@ -60,11 +61,13 @@ export default () => {
<NavLink to={'/account'}>
<FontAwesomeIcon icon={faUserCircle}/>
</NavLink>
{rootAdmin &&
<a href={'/admin'} rel={'noreferrer'}>
<a href={'/admin'}>
<FontAwesomeIcon icon={faCogs}/>
</a>
}
<a href={'/auth/logout'}>
<FontAwesomeIcon icon={faSignOutAlt}/>
</a>

View file

@ -0,0 +1,14 @@
import React from 'react';
import tw from 'twin.macro';
import AdminContentBlock from '@/components/admin/AdminContentBlock';
export default () => {
return (
<AdminContentBlock>
<div>
<h2 css={tw`text-2xl text-neutral-50 font-header font-medium`}>Packs</h2>
<p css={tw`text-base text-neutral-400`}>All service packs available on the system.</p>
</div>
</AdminContentBlock>
);
};