Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
#7 Home page and page theme draft created
Browse files Browse the repository at this point in the history
  • Loading branch information
IujyrinoT2 committed Mar 25, 2023
1 parent e409bdf commit 205f223
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 12 deletions.
Binary file added public/assets/logoConversea.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ const App = (({
fontSizes: {
xl: '12px',
},
globalStyles: (theme) => ({
body: {
backgroundColor: theme.colors.indigo[1],
},
}),
}}
>
<Component {...pageProps} />
Expand Down
51 changes: 39 additions & 12 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
import { Button, Container, Stack, Title } from '@mantine/core';
import {
BackgroundImage,
Box,
Button,
Container,
Stack,
Title,
} from '@mantine/core';
import { GetServerSideProps } from 'next';
import { FC } from 'react';

Expand All @@ -8,21 +15,41 @@ const IndexPage: FC = () => {
<Title order={1} align="center">
Conversea
</Title>
<Stack

<Title mt={50} order={3} align="center">
Insert pompous motto
</Title>

<Box
mx="auto"
mt="xl"
align="center"
h={300}
w={300}
spacing="xl"
justify="center"
mt={50}
p="md"
h={400}
w={400}
sx={(theme) => ({
backgroundColor: theme.colors.gray[0],
backgroundColor: theme.colors.indigo[0],
textAlign: 'center',
padding: theme.spacing.xl,
borderRadius: theme.radius.md,
})}
>
<Button variant="outline">Inregistrare</Button>
<Button variant="outline">Logare</Button>
</Stack>
<BackgroundImage src="/assets/logoConversea.png">
<Stack mx="auto" align="center" h={400} spacing="xl" justify="center">
<Button
variant="gradient"
gradient={{ from: '#ed6ea0', to: '#ec8c69', deg: 35 }}
>
Inregistrare
</Button>
<Button
variant="gradient"
gradient={{ from: 'indigo', to: 'cyan' }}
>
Logare
</Button>
</Stack>
</BackgroundImage>
</Box>
</Container>
);
};
Expand Down

0 comments on commit 205f223

Please sign in to comment.