generated from emmanuelubachi/nextjs-starter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.ts
73 lines (70 loc) · 1.36 KB
/
index.ts
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import { SidebarLink } from "@/types";
export const themes = [
{ value: "light", label: "Light", icon: "/assets/icons/sun.svg" },
{ value: "dark", label: "Dark", icon: "/assets/icons/moon.svg" },
{ value: "system", label: "System", icon: "/assets/icons/computer.svg" },
];
export const sidebarLinks: SidebarLink[] = [
{
imgURL: "/assets/icons/home.svg",
route: "/",
label: "Home",
},
{
imgURL: "/assets/icons/users.svg",
route: "/community",
label: "Community",
},
{
imgURL: "/assets/icons/star.svg",
route: "/collection",
label: "Collections",
},
{
imgURL: "/assets/icons/suitcase.svg",
route: "/jobs",
label: "Find Jobs",
},
{
imgURL: "/assets/icons/tag.svg",
route: "/tags",
label: "Tags",
},
{
imgURL: "/assets/icons/user.svg",
route: "/profile",
label: "Profile",
},
{
imgURL: "/assets/icons/question.svg",
route: "/ask-question",
label: "Ask a question",
},
];
export const BADGE_CRITERIA = {
QUESTION_COUNT: {
BRONZE: 10,
SILVER: 50,
GOLD: 100,
},
ANSWER_COUNT: {
BRONZE: 10,
SILVER: 50,
GOLD: 100,
},
QUESTION_UPVOTES: {
BRONZE: 10,
SILVER: 50,
GOLD: 100,
},
ANSWER_UPVOTES: {
BRONZE: 10,
SILVER: 50,
GOLD: 100,
},
TOTAL_VIEWS: {
BRONZE: 1000,
SILVER: 10000,
GOLD: 100000,
},
};