From 7aec066b8d2bb4e456c1512c90179541950943f1 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih Date: Wed, 12 Jul 2023 02:19:32 +0900 Subject: [PATCH] (add) docs page --- components/content/MkIndex.vue | 64 +++++++++++++++++++++++++ components/content/ProseA.vue | 43 +++++++++++++++++ components/content/ProseTable.vue | 7 +++ components/docs/PrevNext.vue | 44 +++++++++++++++++ components/docs/ReadersNav.vue | 41 +++++++++------- components/docs/TocLinks.vue | 76 ++++++++++++++++++++++++++++++ components/g/Footer.vue | 67 +++++++++++++++++++++++++- components/g/Nav.vue | 18 +++++-- composables/useScrollSpy.ts | 39 +++++++++++++++ layouts/default.vue | 8 +++- layouts/docs.vue | 18 +++++++ layouts/landing.vue | 7 ++- locales/ja-JP.yml | 15 +++++- nuxt.config.ts | 20 ++++---- pages/blog/[slug].vue | 4 +- pages/blog/index.vue | 2 +- pages/docs/[...slug].vue | 47 ++++++++++++++++-- pages/docs/index.vue | 19 ++++++-- pages/index.vue | 5 +- pages/servers.vue | 6 +-- public/img/emojis/rocket_3d.png | Bin 0 -> 36274 bytes tailwind.config.ts | 6 +++ 22 files changed, 507 insertions(+), 49 deletions(-) create mode 100644 components/content/MkIndex.vue create mode 100644 components/content/ProseA.vue create mode 100644 components/content/ProseTable.vue create mode 100644 components/docs/PrevNext.vue create mode 100644 components/docs/TocLinks.vue create mode 100644 composables/useScrollSpy.ts create mode 100644 layouts/docs.vue create mode 100644 public/img/emojis/rocket_3d.png diff --git a/components/content/MkIndex.vue b/components/content/MkIndex.vue new file mode 100644 index 00000000..ae2bfc8d --- /dev/null +++ b/components/content/MkIndex.vue @@ -0,0 +1,64 @@ + + + + + \ No newline at end of file diff --git a/components/content/ProseA.vue b/components/content/ProseA.vue new file mode 100644 index 00000000..e92ccf9d --- /dev/null +++ b/components/content/ProseA.vue @@ -0,0 +1,43 @@ + + + \ No newline at end of file diff --git a/components/content/ProseTable.vue b/components/content/ProseTable.vue new file mode 100644 index 00000000..ce9b4536 --- /dev/null +++ b/components/content/ProseTable.vue @@ -0,0 +1,7 @@ + diff --git a/components/docs/PrevNext.vue b/components/docs/PrevNext.vue new file mode 100644 index 00000000..da70fcda --- /dev/null +++ b/components/docs/PrevNext.vue @@ -0,0 +1,44 @@ + + + diff --git a/components/docs/ReadersNav.vue b/components/docs/ReadersNav.vue index d0e5d880..2da1b895 100644 --- a/components/docs/ReadersNav.vue +++ b/components/docs/ReadersNav.vue @@ -1,24 +1,33 @@ - \ No newline at end of file + diff --git a/components/docs/TocLinks.vue b/components/docs/TocLinks.vue new file mode 100644 index 00000000..cbda0942 --- /dev/null +++ b/components/docs/TocLinks.vue @@ -0,0 +1,76 @@ + + + + + \ No newline at end of file diff --git a/components/g/Footer.vue b/components/g/Footer.vue index cbdb8939..56c93491 100644 --- a/components/g/Footer.vue +++ b/components/g/Footer.vue @@ -1,11 +1,74 @@ \ No newline at end of file diff --git a/pages/docs/index.vue b/pages/docs/index.vue index 86816e19..c20e3e0f 100644 --- a/pages/docs/index.vue +++ b/pages/docs/index.vue @@ -15,7 +15,7 @@ -
+
- +

{{ $t('_docs._aboutMisskey.title') }}

{{ $t('_docs._aboutMisskey.description') }}

@@ -42,9 +42,20 @@
+ +
+

{{ $t('_docs._changelog.title') }}

+

{{ $t('_docs._changelog.description') }}

+
+ +
- - +
diff --git a/pages/index.vue b/pages/index.vue index ae83bd33..7b85b04e 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,5 +1,5 @@ diff --git a/pages/servers.vue b/pages/servers.vue index 7eb8cd8c..19f6de68 100644 --- a/pages/servers.vue +++ b/pages/servers.vue @@ -29,7 +29,7 @@ -
+