-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aed862f
commit 9042526
Showing
1 changed file
with
72 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
); | ||
}; |