Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.

Commit 106be73

Browse files
committed
docs: add features heading
1 parent 55ee87f commit 106be73

File tree

3 files changed

+63
-40
lines changed

3 files changed

+63
-40
lines changed

src/routes/Landing/Features.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
Badge,
1010
} from "@chakra-ui/react";
1111
import { House, Barcode, Megaphone, Calendar, Check } from "phosphor-react";
12+
import "@fontsource/poppins";
1213

1314
export const Features = () => (
1415
<SimpleGrid minChildWidth="270px" spacing="40px">
@@ -108,5 +109,12 @@ export const Features = () => (
108109
reminders for what homework to do and when.
109110
</CardBody>
110111
</Card>
112+
<Card bg="transparent" shadow="xl">
113+
<CardHeader>
114+
<Heading fontFamily={"Poppins, sans-serif"} size="md">
115+
And plenty more features to come!
116+
</Heading>
117+
</CardHeader>
118+
</Card>
111119
</SimpleGrid>
112120
);

src/routes/Landing/Footer.tsx

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
import {
2+
Text,
3+
Stack,
4+
useColorModeValue,
5+
ButtonGroup,
6+
IconButton,
7+
Link,
8+
} from "@chakra-ui/react";
9+
import { TimetablLogo } from "../../components/Nav/Nav";
10+
import { FaGithub } from "react-icons/fa";
11+
import { Envelope } from "phosphor-react";
12+
13+
export const Footer = () => {
14+
return (
15+
<Stack spacing={{ base: "4", md: "5" }}>
16+
<Stack justify="space-between" direction="row" align="center">
17+
<TimetablLogo
18+
color={useColorModeValue("primary.700", "primary.200")}
19+
loggedIn={false}
20+
/>
21+
<ButtonGroup variant="ghost" colorScheme={"gray"}>
22+
<IconButton
23+
as="a"
24+
href="mailto:[email protected]"
25+
aria-label="LinkedIn"
26+
icon={<Envelope fontSize="1.25rem" />}
27+
/>
28+
<IconButton
29+
as="a"
30+
href="https://github.com/debater-coder/timetabl-app"
31+
aria-label="GitHub"
32+
icon={<FaGithub fontSize="1.25rem" />}
33+
/>
34+
</ButtonGroup>
35+
</Stack>
36+
<Text fontSize="sm" color="subtle">
37+
&copy; {new Date().getFullYear()}, Hamzah Ahmed under{" "}
38+
<Link
39+
href="https://github.com/debater-coder/timetabl-app/blob/main/LICENSE"
40+
color={"primary.500"}
41+
isExternal
42+
>
43+
MIT License.
44+
</Link>
45+
</Text>
46+
</Stack>
47+
);
48+
};

src/routes/Landing/Landing.tsx

Lines changed: 7 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,17 @@ import {
55
AlertTitle,
66
Container,
77
Flex,
8-
Text,
9-
Stack,
8+
Heading,
109
useColorModeValue,
11-
ButtonGroup,
12-
IconButton,
13-
Link,
1410
} from "@chakra-ui/react";
1511
import { useEffect } from "react";
1612
import { useAuth } from "../../hooks/useAuth";
1713
import { useNavigate } from "react-router-dom";
1814
import "@fontsource/poppins";
1915
import { Hero } from "./Hero";
2016
import { Features } from "./Features";
21-
import { TimetablLogo } from "../../components/Nav/Nav";
22-
import { FaGithub } from "react-icons/fa";
23-
import { Envelope } from "phosphor-react";
17+
import { Footer } from "./Footer";
18+
import "@fontsource/poppins";
2419

2520
export default () => {
2621
const navigate = useNavigate();
@@ -50,6 +45,9 @@ export default () => {
5045
borderTopColor={useColorModeValue("gray.200", "gray.700")}
5146
>
5247
<Container maxW={"7xl"} p={10}>
48+
<Heading fontFamily={"Poppins, sans-serif"} textAlign="center" mb={5}>
49+
Features
50+
</Heading>
5351
<Features />
5452
</Container>
5553
</Flex>
@@ -59,38 +57,7 @@ export default () => {
5957
borderTopColor={useColorModeValue("gray.200", "gray.700")}
6058
>
6159
<Container as="footer" role="contentinfo" maxW={"7xl"} py={10}>
62-
<Stack spacing={{ base: "4", md: "5" }}>
63-
<Stack justify="space-between" direction="row" align="center">
64-
<TimetablLogo
65-
color={useColorModeValue("primary.700", "primary.200")}
66-
loggedIn={false}
67-
/>
68-
<ButtonGroup variant="ghost" colorScheme={"gray"}>
69-
<IconButton
70-
as="a"
71-
href="mailto:[email protected]"
72-
aria-label="LinkedIn"
73-
icon={<Envelope fontSize="1.25rem" />}
74-
/>
75-
<IconButton
76-
as="a"
77-
href="https://github.com/debater-coder/timetabl-app"
78-
aria-label="GitHub"
79-
icon={<FaGithub fontSize="1.25rem" />}
80-
/>
81-
</ButtonGroup>
82-
</Stack>
83-
<Text fontSize="sm" color="subtle">
84-
&copy; {new Date().getFullYear()}, Hamzah Ahmed under{" "}
85-
<Link
86-
href="https://github.com/debater-coder/timetabl-app/blob/main/LICENSE"
87-
color={"primary.500"}
88-
isExternal
89-
>
90-
MIT License.
91-
</Link>
92-
</Text>
93-
</Stack>
60+
<Footer />
9461
</Container>
9562
</Flex>
9663
</>

0 commit comments

Comments
 (0)