style(website): mobile hero index and examples

This commit is contained in:
moklick
2020-10-08 00:12:58 +02:00
parent da44f0b03a
commit f85acd51e0
3 changed files with 9 additions and 3 deletions

View File

@@ -8,8 +8,10 @@ import useExamplePages from 'hooks/useExamplePages';
const Wrapper = styled(Flex)`
border-top: 1px solid ${(p) => p.theme.colors.silverLighten30};
height: 100%;
flex-grow: 1;
position: absolute;
width: 100%;
height: 100%;
`;
export default ({ children, title, slug }) => {

View File

@@ -23,6 +23,7 @@ const PageWrapper = styled(Flex)`
const PageContent = styled(Box)`
flex: 1 0 auto;
position: relative;
`;
const Page = ({

View File

@@ -17,7 +17,7 @@ import FlowB from 'components/TeaserFlow/B';
import FlowC from 'components/TeaserFlow/C';
import { Paragraph, H1, H4 } from 'components/Typo';
import { baseColors } from 'themes';
import { getThemeColor } from 'utils/css-utils';
import { getThemeColor, device } from 'utils/css-utils';
const metaTags = {
title: 'React Flow',
@@ -111,8 +111,11 @@ const WorkButton = styled(Button)`
const CenterHeadline = styled(CenterContent)`
display: flex;
flex-direction: column;
justify-content: center;
height: 100%;
@media ${device.tablet} {
justify-content: center;
}
`;
const Home = () => {