-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
92 lines (88 loc) · 2.61 KB
/
next.config.js
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
const { withTamagui: createWithTamagui } = require("@tamagui/next-plugin");
process.env.TAMAGUI_TARGET = "web";
const withTamagui = createWithTamagui({
config: "./tamagui.config.ts",
components: ["tamagui"],
useReactNativeWebLite: true,
disableExtraction: process.env.NODE_ENV === "development",
excludeReactNativeWebExports: ["Switch", "ProgressBar", "Picker"],
});
const nextConfig = {
redirects: async () => {
return [
{
source: "/schedule",
destination:
"https://calendar.google.com/calendar/embed?src=3a6c47cd8bd16c15796054cbcf8b90a9c46c4cf2bc4ebe03d17009c44faf5ba7%40group.calendar.google.com&ctz=Asia%2FJakarta",
permanent: false,
},
{
source: "/join",
destination: "https://chat.whatsapp.com/Fhd16OBC7HtEMSdPUmJR9k",
permanent: false,
},
{
source: "/join-frontend",
destination: "https://chat.whatsapp.com/CagRjk8iOAqB8xDyeWtWEd",
permanent: false,
},
{
source: "/join-backend",
destination: "https://chat.whatsapp.com/IUogZB2obKS7FeaWJhT5br",
permanent: false,
},
{
source: "/join-android",
destination: "https://chat.whatsapp.com/J5roSLbzKQj7uGTLXizKTi",
permanent: false,
},
{
source: "/join-board-game",
destination: "https://chat.whatsapp.com/GEDOIx9zFxKKWfzQ42PV1d",
permanent: false,
},
{
source: "/join-sport",
destination: "https://chat.whatsapp.com/IhYSnjwwpmwEfZLWn2pEO3",
permanent: false,
},
{
source: "/join-book",
destination: "https://chat.whatsapp.com/FmuPjeuWGPp0qjjHxwV3fa",
permanent: false,
},
{
source: "/join-business",
destination: "https://chat.whatsapp.com/JE4rcgQFqMd08f9ztLVVYr",
permanent: false,
},
{
source: "/join-basic-programming",
destination: "https://chat.whatsapp.com/KGUb7sFokxuLVHl1ndNKiW",
permanent: false,
},
{
source: "/location",
destination: "https://goo.gl/maps/8cR4VM6ZS7XWDPXZ8",
permanent: false,
},
{
source: "/instagram",
destination: "https://instagram.com/gatherloop",
permanent: false,
},
{
source: "/linktree",
destination: "https://linktr.ee/gatherloop",
permanent: false,
},
{
source: "/menu",
destination:
"https://drive.google.com/drive/folders/1NwmPmpQ3mFnoadcOFqgqRzLfDXPgrajZ",
permanent: false,
},
];
},
};
module.exports = withTamagui(nextConfig);