chore: add Copyright in login page

This commit is contained in:
xiaoxian521
2024-02-24 15:06:57 +08:00
parent 21587ab26d
commit fe9fad3ca1
5 changed files with 34 additions and 20 deletions

2
.nvmrc
View File

@@ -1 +1 @@
v20.11.0 v20.11.1

View File

@@ -153,7 +153,7 @@
"svgo": "^3.2.0", "svgo": "^3.2.0",
"tailwindcss": "^3.4.1", "tailwindcss": "^3.4.1",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"vite": "^5.1.1", "vite": "^5.1.4",
"vite-plugin-cdn-import": "^0.3.5", "vite-plugin-cdn-import": "^0.3.5",
"vite-plugin-compression": "^0.5.1", "vite-plugin-compression": "^0.5.1",
"vite-plugin-fake-server": "^2.1.1", "vite-plugin-fake-server": "^2.1.1",

26
pnpm-lock.yaml generated
View File

@@ -228,10 +228,10 @@ devDependencies:
version: 6.19.1(eslint@8.56.0)(typescript@5.3.3) version: 6.19.1(eslint@8.56.0)(typescript@5.3.3)
'@vitejs/plugin-vue': '@vitejs/plugin-vue':
specifier: ^5.0.4 specifier: ^5.0.4
version: 5.0.4(vite@5.1.1)(vue@3.4.14) version: 5.0.4(vite@5.1.4)(vue@3.4.14)
'@vitejs/plugin-vue-jsx': '@vitejs/plugin-vue-jsx':
specifier: ^3.1.0 specifier: ^3.1.0
version: 3.1.0(vite@5.1.1)(vue@3.4.14) version: 3.1.0(vite@5.1.4)(vue@3.4.14)
autoprefixer: autoprefixer:
specifier: ^10.4.17 specifier: ^10.4.17
version: 10.4.17(postcss@8.4.33) version: 10.4.17(postcss@8.4.33)
@@ -317,14 +317,14 @@ devDependencies:
specifier: ^5.3.3 specifier: ^5.3.3
version: 5.3.3 version: 5.3.3
vite: vite:
specifier: ^5.1.1 specifier: ^5.1.4
version: 5.1.1(@types/node@20.11.7)(sass@1.70.0) version: 5.1.4(@types/node@20.11.7)(sass@1.70.0)
vite-plugin-cdn-import: vite-plugin-cdn-import:
specifier: ^0.3.5 specifier: ^0.3.5
version: 0.3.5(rollup@2.79.1) version: 0.3.5(rollup@2.79.1)
vite-plugin-compression: vite-plugin-compression:
specifier: ^0.5.1 specifier: ^0.5.1
version: 0.5.1(vite@5.1.1) version: 0.5.1(vite@5.1.4)
vite-plugin-fake-server: vite-plugin-fake-server:
specifier: ^2.1.1 specifier: ^2.1.1
version: 2.1.1 version: 2.1.1
@@ -2282,7 +2282,7 @@ packages:
nanoid: 3.3.7 nanoid: 3.3.7
dev: false dev: false
/@vitejs/plugin-vue-jsx@3.1.0(vite@5.1.1)(vue@3.4.14): /@vitejs/plugin-vue-jsx@3.1.0(vite@5.1.4)(vue@3.4.14):
resolution: {integrity: sha512-w9M6F3LSEU5kszVb9An2/MmXNxocAnUb3WhRr8bHlimhDrXNt6n6D2nJQR3UXpGlZHh/EsgouOHCsM8V3Ln+WA==} resolution: {integrity: sha512-w9M6F3LSEU5kszVb9An2/MmXNxocAnUb3WhRr8bHlimhDrXNt6n6D2nJQR3UXpGlZHh/EsgouOHCsM8V3Ln+WA==}
engines: {node: ^14.18.0 || >=16.0.0} engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies: peerDependencies:
@@ -2292,20 +2292,20 @@ packages:
'@babel/core': 7.23.9 '@babel/core': 7.23.9
'@babel/plugin-transform-typescript': 7.23.6(@babel/core@7.23.9) '@babel/plugin-transform-typescript': 7.23.6(@babel/core@7.23.9)
'@vue/babel-plugin-jsx': 1.2.1(@babel/core@7.23.9) '@vue/babel-plugin-jsx': 1.2.1(@babel/core@7.23.9)
vite: 5.1.1(@types/node@20.11.7)(sass@1.70.0) vite: 5.1.4(@types/node@20.11.7)(sass@1.70.0)
vue: 3.4.14(typescript@5.3.3) vue: 3.4.14(typescript@5.3.3)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
/@vitejs/plugin-vue@5.0.4(vite@5.1.1)(vue@3.4.14): /@vitejs/plugin-vue@5.0.4(vite@5.1.4)(vue@3.4.14):
resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==} resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==}
engines: {node: ^18.0.0 || >=20.0.0} engines: {node: ^18.0.0 || >=20.0.0}
peerDependencies: peerDependencies:
vite: ^5.0.0 vite: ^5.0.0
vue: ^3.2.25 vue: ^3.2.25
dependencies: dependencies:
vite: 5.1.1(@types/node@20.11.7)(sass@1.70.0) vite: 5.1.4(@types/node@20.11.7)(sass@1.70.0)
vue: 3.4.14(typescript@5.3.3) vue: 3.4.14(typescript@5.3.3)
dev: true dev: true
@@ -8781,7 +8781,7 @@ packages:
- rollup - rollup
dev: true dev: true
/vite-plugin-compression@0.5.1(vite@5.1.1): /vite-plugin-compression@0.5.1(vite@5.1.4):
resolution: {integrity: sha512-5QJKBDc+gNYVqL/skgFAP81Yuzo9R+EAf19d+EtsMF/i8kFUpNi3J/H01QD3Oo8zBQn+NzoCIFkpPLynoOzaJg==} resolution: {integrity: sha512-5QJKBDc+gNYVqL/skgFAP81Yuzo9R+EAf19d+EtsMF/i8kFUpNi3J/H01QD3Oo8zBQn+NzoCIFkpPLynoOzaJg==}
peerDependencies: peerDependencies:
vite: '>=2.0.0' vite: '>=2.0.0'
@@ -8789,7 +8789,7 @@ packages:
chalk: 4.1.2 chalk: 4.1.2
debug: 4.3.4 debug: 4.3.4
fs-extra: 10.1.0 fs-extra: 10.1.0
vite: 5.1.1(@types/node@20.11.7)(sass@1.70.0) vite: 5.1.4(@types/node@20.11.7)(sass@1.70.0)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
@@ -8821,8 +8821,8 @@ packages:
vue: 3.4.14(typescript@5.3.3) vue: 3.4.14(typescript@5.3.3)
dev: true dev: true
/vite@5.1.1(@types/node@20.11.7)(sass@1.70.0): /vite@5.1.4(@types/node@20.11.7)(sass@1.70.0):
resolution: {integrity: sha512-wclpAgY3F1tR7t9LL5CcHC41YPkQIpKUGeIuT8MdNwNZr6OqOTLs7JX5vIHAtzqLWXts0T+GDrh9pN2arneKqg==} resolution: {integrity: sha512-n+MPqzq+d9nMVTKyewqw6kSt+R3CkvF9QAKY8obiQn8g1fwTscKxyfaYnC632HtBXAQGc1Yjomphwn1dtwGAHg==}
engines: {node: ^18.0.0 || >=20.0.0} engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true hasBin: true
peerDependencies: peerDependencies:

View File

@@ -5,14 +5,16 @@ const TITLE = getConfig("Title");
</script> </script>
<template> <template>
<footer class="layout-footer"> <footer
MIT © 2020-PRESENT class="layout-footer text-[rgba(0,0,0,0.6)] dark:text-[rgba(220,220,242,0.8)]"
>
Copyright © 2020-present
<a <a
class="ml-1 hover:text-primary" class="hover:text-primary"
href="https://github.com/pure-admin" href="https://github.com/pure-admin"
target="_blank" target="_blank"
> >
{{ TITLE }} &nbsp;{{ TITLE }}
</a> </a>
</footer> </footer>
</template> </template>
@@ -24,6 +26,6 @@ const TITLE = getConfig("Title");
justify-content: center; justify-content: center;
width: 100%; width: 100%;
padding: 0 0 8px; padding: 0 0 8px;
color: #c0c4cc; font-size: 14px;
} }
</style> </style>

View File

@@ -323,6 +323,18 @@ watch(loginDay, value => {
</div> </div>
</div> </div>
</div> </div>
<div
class="w-full flex-c absolute bottom-3 text-sm text-[rgba(0,0,0,0.6)] dark:text-[rgba(220,220,242,0.8)]"
>
Copyright © 2020-present
<a
class="hover:text-primary"
href="https://github.com/pure-admin"
target="_blank"
>
&nbsp;{{ title }}
</a>
</div>
</div> </div>
</template> </template>