-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.js
More file actions
117 lines (111 loc) · 3.51 KB
/
Copy pathconstants.js
File metadata and controls
117 lines (111 loc) · 3.51 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
import Head from "next/head";
import { format } from "date-fns";
export const emailPattern =
/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
export const dateTimeFormat = (date, fmt) => {
let dateFormat = "MM/dd/yyyy hh:mm:ss a";
if (fmt) dateFormat = fmt;
return format(new Date(date), dateFormat);
};
export const appRoutes = {
/**
* @var pathIsUnProtected Add before login routes here
*/
HOME_PAGE: "/",
ABOUT_US_PAGE: "/about",
SERVICE_PAGE: "/services",
PORTFOLIO_PAGE: "/portfolio",
PORTFOLIO_DETAILS_PAGE: "/portfolio/[id]",
TEAM_PAGE: "/teams",
GALLERY_PAGE: "/gallery",
CAREER_PAGE: "/career",
CONTACT_US_PAGE: "/contact",
LOGIN_PAGE: "/admin/login",
/**
* @var pathIsProtected Add after login routes here
*/
DASHBOARD: "/admin/dashboard",
PROFILE: "/admin/profile",
TEAM_LIST: "/admin/team",
TEAM_CREATE: "/admin/team/create",
TEAM_UPDATE: "/admin/team/[id]",
CAREERS_LIST: "/admin/careers",
CAREERS_CREATE: "/admin/careers/create",
CAREERS_UPDATE: "/admin/careers/[id]",
CLIENT_LIST: "/admin/clientstetimonials",
CLIENT_CREATE: "/admin/clientstetimonials/create",
CLIENT_UPDATE: "/admin/clientstetimonials/[id]",
CATEGORIES_LIST:"/admin/categories",
CATEGORIES_CREATE:"/admin/categories/create",
CATEGORIES_UPDATE:"/admin/categories/[id]",
BLOGS_LIST:"/admin/blogs",
BLOGS_CREATE:"/admin/blogs/create",
BLOGS_UPDATE:"/admin/blogs/[id]",
COMPANY_EVENT_LIST:"/admin/companyevent",
COMPANY_EVENT_CREATE:"/admin/companyevent/create",
COMPANY_EVENT_UPDATE:"/admin/companyevent/[id]"
};
export const metaTags = {
HOME_PAGE: (
<Head>
<title>YuvaSoft Solutions</title>
<meta name="description" content="Home page" />
<meta name="keywords" content="titla, meta, nextjs" />
</Head>
),
ABOUT_US_PAGE: (
<Head>
<title>YuvaSoft Solutions - About</title>
<meta name="description" content="About us page" />
<meta name="keywords" content="titla, meta, nextjs" />
</Head>
),
SERVICE_PAGE: (
<Head>
<title>YuvaSoft Solutions - Service</title>
<meta name="description" content="Service page" />
<meta name="keywords" content="titla, meta, nextjs" />
</Head>
),
PORTFOLIO_PAGE: (
<>
<title>YuvaSoft Solutions - Portfolio</title>
<meta name="description" content="Portfolio page" />
<meta name="keywords" content="titla, meta, nextjs" />
</>
),
TEAM_PAGE: (
<Head>
<title>YuvaSoft Solutions - Team</title>
<meta name="description" content="Team page" />
<meta name="keywords" content="titla, meta, nextjs" />
</Head>
),
GALLERY_PAGE: (
<Head>
<title>YuvaSoft Solutions - Gallery</title>
<meta name="description" content="Gallery page" />
<meta name="keywords" content="titla, meta, nextjs" />
</Head>
),
CAREER_PAGE: (
<Head>
<title>YuvaSoft Solutions - Career</title>
<meta name="description" content="Career page" />
<meta name="keywords" content="titla, meta, nextjs" />
</Head>
),
CONTACT_US_PAGE: (
<Head>
<title>YuvaSoft Solutions - Contact</title>
<meta name="description" content="Contact page" />
<meta name="keywords" content="titla, meta, nextjs" />
</Head>
),
};
export const socialLinks = {
facebook: "https://www.facebook.com/YuvaSoftSolutions",
twitter: "https://twitter.com/yuvasoftech",
linkedin: "https://in.linkedin.com/company/yuvasoft-solutions-pvt-ltd",
instagram: "https://www.instagram.com/yuvasoftsolutions/?hl=en",
};