Skip to content

Commit

Permalink
feat: about page (#524)
Browse files Browse the repository at this point in the history
* feat: about page

* fix: reorganize packages

* style: json indentation

---------

Co-authored-by: qwerzl <[email protected]>
  • Loading branch information
q1zhen and qwerzl authored Mar 11, 2024
1 parent 3d9360a commit eb7e349
Show file tree
Hide file tree
Showing 8 changed files with 1,207 additions and 455 deletions.
23 changes: 23 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"eslint.enable": true,
"eslint.format.enable": true,
"eslint.validate": [
"javascript",
"typescript",
"svelte"
],
"eslint.workingDirectories": [
"./*",
"."
],
"eslint.options": {
"overrideConfigFile": "./eslint.config.js"
},
"eslint.experimental.useFlatConfig": true,
"eslint.lintTask.enable": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"editor.insertSpaces": true,
"editor.tabSize": 2
}
6 changes: 6 additions & 0 deletions content/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# 关于我们

TODO

# 更新日志
<ContentDoc path="/changelog" />
4 changes: 4 additions & 0 deletions content/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## v0.0.0
### TEST
- Yay
- Yay
8 changes: 7 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ export default defineNuxtConfig({
openAPI: true,
},
},
modules: ['@nuxtjs/tailwindcss', 'shadcn-nuxt', 'nuxt-icon', '@nuxtjs/google-fonts'],
modules: [
'@nuxtjs/tailwindcss',
'@nuxt/content',
'shadcn-nuxt',
'nuxt-icon',
'@nuxtjs/google-fonts',
],
build: {
transpile: ['vue-clerk', '@clerk/clerk-js'],
},
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"dependencies": {
"@clerk/clerk-sdk-node": "^4.13.9",
"@nuxt/content": "^2.12.1",
"@radix-icons/vue": "^1.0.0",
"@tanstack/vue-table": "^8.12.0",
"@vee-validate/zod": "^4.12.5",
Expand Down Expand Up @@ -44,6 +45,7 @@
"@sentry/node": "^7.103.0",
"@sentry/profiling-node": "^7.103.0",
"@sentry/vue": "^7.103.0",
"@tailwindcss/typography": "^0.5.10",
"@types/uuid": "^9.0.8",
"@types/ws": "^8.5.10",
"eslint": "^8.56.0",
Expand Down
5 changes: 3 additions & 2 deletions pages/about.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ definePageMeta({
</script>

<template>
<div>
about
<!-- Content source at /content/about.md -->
<div class="prose prose-invert prose-h1:mb-1 prose-h2:mt-5">
<ContentDoc path="/about" />
</div>
</template>

Expand Down
Loading

0 comments on commit eb7e349

Please sign in to comment.