Added logo

This commit is contained in:
2026-07-12 22:54:33 -04:00
parent 464c1a7205
commit 9359fdb016
3 changed files with 59 additions and 13 deletions

View File

@@ -2,6 +2,7 @@ import { Separator, Surface, Typography } from "@heroui/react";
import { Tabs } from "@heroui/react"; import { Tabs } from "@heroui/react";
import { Button } from "@heroui/react"; import { Button } from "@heroui/react";
import { useNavigate, useLocation } from "react-router"; import { useNavigate, useLocation } from "react-router";
import porning from "../images/porning.svg";
export function Header() { export function Header() {
const location = useLocation(); const location = useLocation();
@@ -39,19 +40,7 @@ export function Header() {
</Tabs.ListContainer> </Tabs.ListContainer>
</Tabs> </Tabs>
<div className="absolute flex left-1/2 -translate-x-1/2"> <div className="absolute flex left-1/2 -translate-x-1/2">
<Typography.Heading <img className="h-12" src={porning} alt="Porning logo" />
level={2}
align="center"
>
Porning
</Typography.Heading>
<Separator orientation="vertical" variant="tertiary" className="bg-white mx-4"/>
<Typography.Heading
level={2}
align="center"
>
CS2
</Typography.Heading>
</div> </div>
<Button>Login</Button> <Button>Login</Button>
</Surface> </Surface>

57
app/images/porning.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 44 KiB