Skip to content

Commit

Permalink
wip: videos
Browse files Browse the repository at this point in the history
  • Loading branch information
kuizuo committed Aug 3, 2024
1 parent a1eac40 commit 8580746
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions src/pages/videos/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import { translate } from '@docusaurus/Translate'

import MyLayout from '@site/src/theme/MyLayout'

const TITLE = translate({
id: 'theme.video.title',
message: '视频正在快马加鞭的赶来',
})
const DESCRIPTION = translate({
id: 'theme.video.description',
message: '',
})

function ShowcaseHeader() {
return (
<section className="text-center">
<h2>{TITLE}</h2>
<p>{DESCRIPTION}</p>
{/* <a
className="button button--primary"
href={GITHUB_URL}
target="_blank"
rel="noreferrer"
>
<Translate id="showcase.header.button">前往 Github 克隆项目</Translate>
</a> */}
</section>
)
}

function Videos() {
return (
<MyLayout title={TITLE} description={DESCRIPTION} maxWidth={1280}>
<main className="margin-vert--lg">
<ShowcaseHeader />
</main>
</MyLayout>
)
}

export default Videos

0 comments on commit 8580746

Please sign in to comment.