Somewhat get a max-width container working
This commit is contained in:
parent
19176fb1b6
commit
1f850fac61
2 changed files with 24 additions and 7 deletions
|
@ -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>
|
||||
|
|
14
resources/scripts/components/admin/packs/PacksContainer.tsx
Normal file
14
resources/scripts/components/admin/packs/PacksContainer.tsx
Normal 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>
|
||||
);
|
||||
};
|
Loading…
Reference in a new issue