Skip to content

Commit

Permalink
update landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAlan404 committed May 2, 2024
1 parent aed862f commit 9042526
Showing 1 changed file with 72 additions and 12 deletions.
84 changes: 72 additions & 12 deletions src/site/pages/HomePage.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,78 @@
import { Stack, Text, Title } from "@mantine/core";
import { Link } from "react-router-dom";
import { Accordion, Button, Group, List, Space, Stack, Text, Title } from "@mantine/core";
import { ChangeInstanceButton } from "../../components/options/links/ChangeInstanceButton";
import { IconExternalLink } from "@tabler/icons-react";

export const HomePage = () => {
return (
<Stack align="center" w="100%">
<Title>
NekoTube
</Title>
<Text>
alternative YouTube video player by dennis
</Text>
<Link to="/watch?v=FtutLA63Cp8">bad apple</Link>
<Link to="/watch?v=4Bz0pYhAoFg">video with chapters</Link>
<Link to="/watch?v=KxNOBCyGhnk">aishite, aishite, aishite</Link>
<Stack align="center" w="100%" h="100%" justify="center">
<Space h="5em" />
<Stack py="xl" align="center">
<Title>
NekoTube
</Title>
<Group>
<Text>alternative YouTube video player by</Text>
<Button
variant="light"
color="violet"
rightSection={<IconExternalLink />}
size="compact-sm"
component="a"
href="https://deniz.blue/"
>
dennis
</Button>
</Group>
</Stack>
<Stack>
<Accordion defaultValue="getting-started" w={{ base: "100vw", md: "80vw" }}>
<Accordion.Item value="getting-started">
<Accordion.Control>
Getting Started
</Accordion.Control>
<Accordion.Panel>
<Stack>
<Title order={3}>
Welcome to NekoTube
</Title>

<Text>
First, select an instance:
</Text>

<ChangeInstanceButton />

<Text>
Some instances might be blocked due to CORS
<br />
NekoTube is still in active development, so be aware of any bugs!
</Text>
</Stack>
</Accordion.Panel>
</Accordion.Item>
<Accordion.Item value="changelog">
<Accordion.Control>
Changelogs
</Accordion.Control>
<Accordion.Panel>
<List>
<List.Item>
0.1.1
<List withPadding>
<List.Item>Added WatchPage animations</List.Item>
<List.Item>Added changelogs and improved homepage</List.Item>
<List.Item>Chapters based on comments</List.Item>
<List.Item>Comments copy button</List.Item>
<List.Item>Jump to current chapter button</List.Item>
<List.Item>New cool font "borrowed" from Sharkey</List.Item>
</List>
</List.Item>
</List>
</Accordion.Panel>
</Accordion.Item>
</Accordion>
</Stack>
<Space h="10em" />
</Stack>
);
};

0 comments on commit 9042526

Please sign in to comment.