aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Sidebar/Links.ts
blob: dfb621d186a85f6da541b4b1cd6fa2986ad84569 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import {
    FlagIcon,
    HomeIcon,
    PortalIcon,
    BookIcon,
    HelpIcon,
} from "../../images/Images";

export interface SidebarLink {
    to: string;
    icon: any;
    label: string;
};

export interface SidebarLinks {
    content: SidebarLink[];
    footer: SidebarLink[];
}

const links: SidebarLinks = {
    content: [
        {
            to: "/",
            icon: HomeIcon,
            label: "Home Page"
        },
        {
            to: "/games",
            icon: PortalIcon,
            label: "Games"
        },
        {
            to: "/rankings",
            icon: FlagIcon,
            label: "Rankings"
        },
    ],

    footer: [
        {
            to: "/rules",
            icon: BookIcon,
            label: "Leaderboard Rules"
        },
        {
            to: "/about",
            icon: HelpIcon,
            label: "About"
        },
    ]
}

export default links;