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

Commit 1e7c41f

Browse files
committed
Revert "Update Calendar.tsx"
This reverts commit 4030466.
1 parent 4030466 commit 1e7c41f

File tree

1 file changed

+34
-31
lines changed

1 file changed

+34
-31
lines changed

src/routes/Main/Calendar/Calendar.tsx

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -12,36 +12,39 @@ import {
1212
Link
1313
} from "@chakra-ui/react";
1414

15-
import Calendar from "phosphor-react";
15+
import { Calendar as CalendarIcon } from "phosphor-react";
1616

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

0 commit comments

Comments
 (0)