UNCLASSIFIED

Commit b0ae80c5 authored by Anne Demey's avatar Anne Demey
Browse files

Bringing back styleguide page but moving it

Adjusting megamenu columns
parent 6e0581d1
...@@ -83,7 +83,7 @@ const MegaMenu = ({ sticky }) => { ...@@ -83,7 +83,7 @@ const MegaMenu = ({ sticky }) => {
<Box <Box
{...{ border: !isVert && { side: 'right' } }} {...{ border: !isVert && { side: 'right' } }}
{...(isVert && { flex: { shrink: 0 } })} {...(isVert && { flex: { shrink: 0 } })}
basis={isVert ? 'auto' : '45%'} basis={isVert ? 'auto' : '55%'}
> >
<GroupHeader <GroupHeader
label="Networking & Connectivity" label="Networking & Connectivity"
...@@ -115,7 +115,7 @@ const MegaMenu = ({ sticky }) => { ...@@ -115,7 +115,7 @@ const MegaMenu = ({ sticky }) => {
{isVert && <Divider flex={{ grow: 0 }} />} {isVert && <Divider flex={{ grow: 0 }} />}
<Box <Box
direction="row" direction="row"
basis={isVert ? 'auto' : '55%'} basis={isVert ? 'auto' : '45%'}
gap="large" gap="large"
{...(isVert && { flex: { shrink: 0 } })} {...(isVert && { flex: { shrink: 0 } })}
> >
......
import React from 'react';
import { Heading } from 'grommet';
import { AppLayout, SEO } from '../components/app';
import { Container, Column } from '../components/layout';
import {
Colors,
GridColumns,
Typography,
Icons,
} from '../components/style-guide';
/**
* Page for displaying basic styling settings for the website. Move this file to the `src/pages`
* directory to view. It has been moved so it does not get published.
*/
const StyleGuide = () => (
<AppLayout>
<SEO title="Style Guide" />
<Container>
<Column>
<Heading>Style Guide</Heading>
<Colors />
<GridColumns />
<Typography />
<Icons />
</Column>
</Container>
</AppLayout>
);
export default StyleGuide;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment