소스 검색

feat: add resume redirection

rriecc 1 년 전
부모
커밋
36ee6a31c0
1개의 변경된 파일과 13개의 추가작업 그리고 0개의 파일을 삭제
  1. 13 0
      app/resume/page.ts

+ 13 - 0
app/resume/page.ts

@@ -0,0 +1,13 @@
+import { redirect } from "next/navigation";
+
+import { getPhotoUrl } from "@/firebase/db/photo";
+
+const Page = async () => {
+  const resumeUrl = await getPhotoUrl("Chengxiang-Wu-Resume-2024.pdf");
+
+  redirect(resumeUrl);
+
+  return null;
+};
+
+export default Page;