Skip to content

Commit a004ee4

Browse files
committed
.
1 parent 8cd6f45 commit a004ee4

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

components/redirect.tsx

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default function Redirect() {
5959
redirect('https://arxiv.org/pdf/2503.06669')
6060
}
6161
if (
62-
pathname.toLowerCase().startsWith('/DriveAGI')
62+
pathname.toLowerCase().startsWith('/driveagi')
6363
) {
6464
redirect('https://github.com/OpenDriveLab/DriveAGI')
6565
}
@@ -114,24 +114,24 @@ export default function Redirect() {
114114
redirect('/cvpr2025/')
115115
}
116116
if (
117-
pathname.toLowerCase().startsWith('/corl2025')
117+
pathname.toLowerCase().startsWith('/cvpr2025/workshop')
118118
) {
119-
redirect('/corl2025/workshop/')
119+
redirect('/cvpr2025/workshop/')
120120
}
121121
if (
122-
pathname.toLowerCase().startsWith('/iccv2025')
122+
pathname.toLowerCase().startsWith('/cvpr2025/tutorial')
123123
) {
124-
redirect('/iccv2025/workshop/')
124+
redirect('/cvpr2025/tutorial/')
125125
}
126126
if (
127-
pathname.toLowerCase().startsWith('/cvpr2025/workshop')
127+
pathname.toLowerCase().startsWith('/corl2025')
128128
) {
129-
redirect('/cvpr2025/workshop/')
129+
redirect('/corl2025/workshop/')
130130
}
131131
if (
132-
pathname.toLowerCase().startsWith('/cvpr2025/tutorial')
132+
pathname.toLowerCase().startsWith('/iccv2025')
133133
) {
134-
redirect('/cvpr2025/tutorial/')
134+
redirect('/iccv2025/workshop/')
135135
}
136136
if (
137137
pathname.toLowerCase().startsWith('/challenge2025')
@@ -142,6 +142,12 @@ export default function Redirect() {
142142

143143

144144
// event 2024
145+
if (
146+
pathname.toLowerCase() =='/cvpr2024' ||
147+
pathname.toLowerCase() =='/cvpr2024/'
148+
) {
149+
redirect('/cvpr2024/')
150+
}
145151
if (
146152
pathname.toLowerCase().startsWith('/cvpr2024/workshop')
147153
) {
@@ -163,12 +169,6 @@ export default function Redirect() {
163169
) {
164170
redirect('/valse2024/workshop/')
165171
}
166-
if (
167-
pathname.toLowerCase() =='/cvpr2024' ||
168-
pathname.toLowerCase() =='/cvpr2024/'
169-
) {
170-
redirect('/cvpr2024/')
171-
}
172172
if (
173173
pathname.toLowerCase().startsWith('/event2024')
174174
) {
@@ -215,22 +215,22 @@ export default function Redirect() {
215215
redirect('https://lihongyang.info/')
216216
}
217217
if (
218-
pathname.toLowerCase() == '/e2ead/UniAD_plenary_talk_slides.pdf'
218+
pathname == '/e2ead/UniAD_plenary_talk_slides.pdf'
219219
) {
220220
redirect('https://opendrivelab.github.io/UniAD_plenary_talk_slides.pdf')
221221
}
222222
if (
223-
pathname.toLowerCase() == '/Dataset_Survey_Chinese_V2.pdf'
223+
pathname == '/Dataset_Survey_Chinese_V2.pdf'
224224
) {
225225
redirect('http://engine.scichina.com/doi/10.1360/SSI-2023-0313')
226226
}
227227
if (
228-
pathname.toLowerCase() == '/ICCV23_towards_general_ai_in_ad.pdf'
228+
pathname == '/ICCV23_towards_general_ai_in_ad.pdf'
229229
) {
230230
redirect('/assets/file/ICCV23_towards_general_ai_in_ad.pdf')
231231
}
232232
if (
233-
pathname.toLowerCase() == '/ICCV23_oral_DriveAdapter.pdf'
233+
pathname == '/ICCV23_oral_DriveAdapter.pdf'
234234
) {
235235
redirect('/assets/file/ICCV23_oral_DriveAdapter.pdf')
236236
}

0 commit comments

Comments
 (0)