mirror of
https://github.com/gabehf/Prittee.git
synced 2026-03-16 10:55:55 -07:00
feat: Add vote nav item
This commit is contained in:
parent
8e0df8c6fc
commit
355d693af0
1 changed files with 6 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
import { Box, Container } from "@mui/material"
|
import { Box, Container } from "@mui/material"
|
||||||
import { AccountBoxOutlined, PostAdd, LeaderboardOutlined } from '@mui/icons-material';
|
import { AccountBoxOutlined, PostAdd, LeaderboardOutlined, WindowOutlined } from '@mui/icons-material';
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import NavIcon from "./NavIcon";
|
import NavIcon from "./NavIcon";
|
||||||
|
|
||||||
|
|
@ -14,6 +14,11 @@ export default function Header() {
|
||||||
<p className="text-md text-slate-300">An <span className='text-sky-400 italic'>unofficial</span> alternate front end for Pithee</p>
|
<p className="text-md text-slate-300">An <span className='text-sky-400 italic'>unofficial</span> alternate front end for Pithee</p>
|
||||||
</Box>
|
</Box>
|
||||||
<Box className='flex flex-row justify-between m-auto mb-6' width={125}>
|
<Box className='flex flex-row justify-between m-auto mb-6' width={125}>
|
||||||
|
<NavIcon
|
||||||
|
label="Vote"
|
||||||
|
href="/"
|
||||||
|
icon={WindowOutlined}
|
||||||
|
/>
|
||||||
<NavIcon
|
<NavIcon
|
||||||
label="Profile"
|
label="Profile"
|
||||||
href="/me"
|
href="/me"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue