@ -1,8 +0,0 @@
|
||||
---
|
||||
import Layout from "@/layouts/Layout.astro"
|
||||
import About from "@/components/pages/About.astro"
|
||||
---
|
||||
|
||||
<Layout title="About — 暂未上线">
|
||||
<About />
|
||||
</Layout>
|
||||
@ -7,7 +7,7 @@ import { getSsrArticle } from "@/lib/api"
|
||||
export const prerender = false
|
||||
|
||||
const id = Astro.url.searchParams.get("id")
|
||||
const { article, error } = await getSsrArticle(id)
|
||||
const { article, error } = await getSsrArticle(id, Astro.currentLocale)
|
||||
---
|
||||
|
||||
<Layout>
|
||||
|
||||
@ -7,7 +7,7 @@ import { getSsrArticle } from "@/lib/api"
|
||||
export const prerender = false
|
||||
|
||||
const { id } = Astro.params
|
||||
const { article, error } = await getSsrArticle(id)
|
||||
const { article, error } = await getSsrArticle(id, Astro.currentLocale)
|
||||
---
|
||||
|
||||
<Layout>
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
---
|
||||
import Layout from "@/layouts/Layout.astro"
|
||||
import AuthForm from "@/components/pages/AuthForm.astro"
|
||||
---
|
||||
|
||||
<Layout title="Sign In">
|
||||
<AuthForm mode="login" />
|
||||
</Layout>
|
||||
@ -1,8 +0,0 @@
|
||||
---
|
||||
import Layout from "@/layouts/Layout.astro"
|
||||
import AuthForm from "@/components/pages/AuthForm.astro"
|
||||
---
|
||||
|
||||
<Layout title="Create Account">
|
||||
<AuthForm mode="register" />
|
||||
</Layout>
|
||||
Reference in New Issue
Block a user