Skip to content

Commit

Permalink
update styling of footer and about section to include some more margi…
Browse files Browse the repository at this point in the history
…n and padding
  • Loading branch information
nattvara committed Apr 20, 2024
1 parent b5903f2 commit 6f82008
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion gui/components/promo/AboutTheStudy/AboutTheStudy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import styles from "./styles.module.css";

const AboutTheStudy = () => {
return (
<section id="about-the-study">
<section id="about-the-study" className={styles.section}>
<Container>
<SimpleGrid cols={1}>
<Title order={1} className={styles.title}>
Expand Down
5 changes: 5 additions & 0 deletions gui/components/promo/AboutTheStudy/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

.section {
margin-top: 100px;
margin-bottom: 100px;
}

.title {
text-align: center;
margin-bottom: 2rem;
Expand Down
9 changes: 2 additions & 7 deletions gui/components/promo/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,20 @@ const Footer = () => {
<footer className={styles.footer}>
<Container>
<Grid gutter={0}>
<Grid.Col span={5}>
<Grid.Col span={12}>
<Space h="xl" />
<Text size="xl" mb="md">
Course Copilot
</Text>
<Text mb="xs">This project is part of a master&apos;s thesis at KTH Royal Institute of Technology.</Text>
<Space h="xl" />
<Space h="xl" />
</Grid.Col>
<Grid.Col span={5} offset={2}>
<Space h="xl" />
<Space h="xl" />
<Button
leftSection={<IconMail size={14} />}
variant="default"
component="a"
href={`mailto:${ContactEmail}`}
>
Contact Researcher
Contact the researcher
</Button>
</Grid.Col>
</Grid>
Expand Down
2 changes: 2 additions & 0 deletions gui/components/promo/Footer/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

.footer {
background-color: var(--mantine-color-gray-2);
padding-top: 100px;
padding-bottom: 200px;
}

0 comments on commit 6f82008

Please sign in to comment.