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

Commit 9178273

Browse files
Merge pull request #31 from wensenfriendandextra/patch-2
Info in calendar (placeholder for now)
2 parents aefb520 + 2f61e95 commit 9178273

File tree

1 file changed

+35
-27
lines changed

1 file changed

+35
-27
lines changed

src/routes/Main/Calendar/Calendar.tsx

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,42 @@ import {
77
CardBody,
88
Icon,
99
Flex,
10+
UnorderedList,
11+
ListItem,
12+
Link
1013
} from "@chakra-ui/react";
1114

1215
import { Calendar as CalendarIcon } from "phosphor-react";
1316

14-
export const Calendar = () => {
15-
console.log("calendar");
16-
return (
17-
<Flex w={"full"} h="full" direction={"column"} align="center">
18-
<Card bg="transparent" shadow="xl">
19-
<CardHeader>
20-
<Heading size="md" display={"flex"} alignItems="center" gap={2}>
21-
<Icon
22-
rounded="full"
23-
as={CalendarIcon}
24-
bg={useToken("colors", "primary.400") + "22"}
25-
boxSize={10}
26-
p={2}
27-
color="primary.400"
28-
/>
29-
Calendar<Badge>Coming soon</Badge>
30-
</Heading>
31-
</CardHeader>
32-
<CardBody>
33-
Get a bird&apos;s eye view of your timetable, and see what&apos;s
34-
coming. View your sport from Clipboard, see when you assignments are
35-
due from Canvas and more.
36-
</CardBody>
37-
</Card>
38-
</Flex>
39-
);
40-
};
17+
export const Calendar = () => (
18+
<Flex w={"full"} h="full" direction={"column"} align="center">
19+
<Card bg="transparent" shadow="xl">
20+
<CardHeader paddingBottom="0px" paddingTop="0px" paddingRight="0px">
21+
<Heading size="md" display={"flex"} alignItems="center" gap={2}>
22+
<Icon
23+
rounded="full"
24+
as={CalendarIcon}
25+
bg={useToken("colors", "primary.400") + "22"}
26+
boxSize={10}
27+
p={2}
28+
color="primary.400"
29+
/>
30+
Calendar <Badge>Coming soon</Badge>
31+
</Heading>
32+
</CardHeader>
33+
<CardBody>
34+
Calendar is currently in development. Please check back in a few days.
35+
Currently planned features:
36+
<UnorderedList>
37+
<ListItem>Get a bird&apos;s eye view of your timetable</ListItem>
38+
<ListItem>View your sport from Clipboard</ListItem>
39+
<ListItem>See when your Canvas assignments are due</ListItem>
40+
</UnorderedList>
41+
If you have any suggestions, <Link
42+
href="https://github.com/debater-coder/timetabl-app/issues/new?assignees=debater-coder&labels=&template=feature_request.md&title=Feature%20Request%20for%20Calendar"
43+
color={"primary.500"}
44+
isExternal>please make a feature request</Link>.
45+
</CardBody>
46+
</Card>
47+
</Flex>
48+
);

0 commit comments

Comments
 (0)