From 420abc4ea5d3d8efe0e55fcf2da070092cd12890 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E9=91=AB?= <1219654535@qq.com> Date: Fri, 5 May 2023 17:23:07 +0800 Subject: [PATCH] chore: content blog --- components/Banner.vue | 51 ++++++++++++++++++++++++++++++++++++ components/Carousel.vue | 6 ++--- components/Footer.vue | 6 ++--- components/brand/logo.vue | 4 ++- components/header/header.vue | 2 +- content/en/test.md | 30 +++++++++++++++++++++ content/test.md | 33 +++++++++++++++++++++++ content/zh/test.md | 30 +++++++++++++++++++++ pages/blog/[id].vue | 17 ++++++++++++ pages/index.vue | 40 +++++----------------------- 10 files changed, 178 insertions(+), 41 deletions(-) create mode 100644 components/Banner.vue create mode 100644 content/en/test.md create mode 100644 content/test.md create mode 100644 content/zh/test.md create mode 100644 pages/blog/[id].vue diff --git a/components/Banner.vue b/components/Banner.vue new file mode 100644 index 0000000..b79e91d --- /dev/null +++ b/components/Banner.vue @@ -0,0 +1,51 @@ + + + + + + + + {{ title }} + + + {{ topic }} + + + {{ + description + }} + + + + {{ link?.name }} + + + + + diff --git a/components/Carousel.vue b/components/Carousel.vue index 2fd0f85..a479c9a 100644 --- a/components/Carousel.vue +++ b/components/Carousel.vue @@ -18,7 +18,7 @@ useIntervalFn(() => { > - + + - - - - - {{ $t(sectionFour.topic) }} - - - {{ - $t(sectionFour.description) - }} - - - - {{ $t(sectionFour.link.name) }} - - - - + @@ -229,19 +215,7 @@ const sectionNine = useSectionNine() - - - - - {{ $t(sectionSeven.title) }} - - - {{ $t(sectionSeven.topic) }} - - - +
+ {{ title }} +
+ {{ + description + }} +
- {{ - $t(sectionFour.description) - }} -
- {{ $t(sectionSeven.title) }} -