Skip to content

Commit

Permalink
chore: commit codes
Browse files Browse the repository at this point in the history
  • Loading branch information
sonofmagic committed Sep 19, 2024
1 parent e8bbc5b commit 713a5c9
Show file tree
Hide file tree
Showing 16 changed files with 1,632 additions and 1,473 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
types: [opened, synchronize]
workflow_dispatch:

permissions:
contents: read

jobs:
build:
name: Build and Test
Expand All @@ -15,7 +18,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [18, 20]
node-version: [18, 20, 22]
runs-on: ${{ matrix.os }}
# To use Remote Caching, uncomment the next lines and follow the steps below.
# env:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
env:
HUSKY: 0

permissions:
pull-requests: write
contents: write
id-token: write

jobs:
release:
name: Release
Expand Down
86 changes: 85 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,89 @@
"vue",
"css",
"scss"
]
],
"terminal.integrated.env.linux": {
"COREPACK_NPM_REGISTRY": "https://registry.npmmirror.com",
"EDGEDRIVER_CDNURL": "https://npmmirror.com/mirrors/edgedriver",
"NODEJS_ORG_MIRROR": "https://cdn.npmmirror.com/binaries/node",
"NVM_NODEJS_ORG_MIRROR": "https://cdn.npmmirror.com/binaries/node",
"PHANTOMJS_CDNURL": "https://cdn.npmmirror.com/binaries/phantomjs",
"CHROMEDRIVER_CDNURL": "https://cdn.npmmirror.com/binaries/chromedriver",
"OPERADRIVER_CDNURL": "https://cdn.npmmirror.com/binaries/operadriver",
"CYPRESS_DOWNLOAD_PATH_TEMPLATE": "https://cdn.npmmirror.com/binaries/cypress/${version}/${platform}-${arch}/cypress.zip",
"ELECTRON_MIRROR": "https://cdn.npmmirror.com/binaries/electron/",
"ELECTRON_BUILDER_BINARIES_MIRROR": "https://cdn.npmmirror.com/binaries/electron-builder-binaries/",
"SASS_BINARY_SITE": "https://cdn.npmmirror.com/binaries/node-sass",
"SWC_BINARY_SITE": "https://cdn.npmmirror.com/binaries/node-swc",
"NWJS_URLBASE": "https://cdn.npmmirror.com/binaries/nwjs/v",
"PUPPETEER_DOWNLOAD_HOST": "https://cdn.npmmirror.com/binaries/chrome-for-testing",
"PUPPETEER_DOWNLOAD_BASE_URL": "https://cdn.npmmirror.com/binaries/chrome-for-testing",
"PLAYWRIGHT_DOWNLOAD_HOST": "https://cdn.npmmirror.com/binaries/playwright",
"SENTRYCLI_CDNURL": "https://cdn.npmmirror.com/binaries/sentry-cli",
"SAUCECTL_INSTALL_BINARY_MIRROR": "https://cdn.npmmirror.com/binaries/saucectl",
"RE2_DOWNLOAD_MIRROR": "https://cdn.npmmirror.com/binaries/node-re2",
"RE2_DOWNLOAD_SKIP_PATH": "true",
"PRISMA_ENGINES_MIRROR": "https://cdn.npmmirror.com/binaries/prisma",
"npm_config_better_sqlite3_binary_host": "https://cdn.npmmirror.com/binaries/better-sqlite3",
"npm_config_keytar_binary_host": "https://cdn.npmmirror.com/binaries/keytar",
"npm_config_sharp_binary_host": "https://cdn.npmmirror.com/binaries/sharp",
"npm_config_sharp_libvips_binary_host": "https://cdn.npmmirror.com/binaries/sharp-libvips",
"npm_config_robotjs_binary_host": "https://cdn.npmmirror.com/binaries/robotjs"
},
"terminal.integrated.env.windows": {
"COREPACK_NPM_REGISTRY": "https://registry.npmmirror.com",
"EDGEDRIVER_CDNURL": "https://npmmirror.com/mirrors/edgedriver",
"NODEJS_ORG_MIRROR": "https://cdn.npmmirror.com/binaries/node",
"NVM_NODEJS_ORG_MIRROR": "https://cdn.npmmirror.com/binaries/node",
"PHANTOMJS_CDNURL": "https://cdn.npmmirror.com/binaries/phantomjs",
"CHROMEDRIVER_CDNURL": "https://cdn.npmmirror.com/binaries/chromedriver",
"OPERADRIVER_CDNURL": "https://cdn.npmmirror.com/binaries/operadriver",
"CYPRESS_DOWNLOAD_PATH_TEMPLATE": "https://cdn.npmmirror.com/binaries/cypress/${version}/${platform}-${arch}/cypress.zip",
"ELECTRON_MIRROR": "https://cdn.npmmirror.com/binaries/electron/",
"ELECTRON_BUILDER_BINARIES_MIRROR": "https://cdn.npmmirror.com/binaries/electron-builder-binaries/",
"SASS_BINARY_SITE": "https://cdn.npmmirror.com/binaries/node-sass",
"SWC_BINARY_SITE": "https://cdn.npmmirror.com/binaries/node-swc",
"NWJS_URLBASE": "https://cdn.npmmirror.com/binaries/nwjs/v",
"PUPPETEER_DOWNLOAD_HOST": "https://cdn.npmmirror.com/binaries/chrome-for-testing",
"PUPPETEER_DOWNLOAD_BASE_URL": "https://cdn.npmmirror.com/binaries/chrome-for-testing",
"PLAYWRIGHT_DOWNLOAD_HOST": "https://cdn.npmmirror.com/binaries/playwright",
"SENTRYCLI_CDNURL": "https://cdn.npmmirror.com/binaries/sentry-cli",
"SAUCECTL_INSTALL_BINARY_MIRROR": "https://cdn.npmmirror.com/binaries/saucectl",
"RE2_DOWNLOAD_MIRROR": "https://cdn.npmmirror.com/binaries/node-re2",
"RE2_DOWNLOAD_SKIP_PATH": "true",
"PRISMA_ENGINES_MIRROR": "https://cdn.npmmirror.com/binaries/prisma",
"npm_config_better_sqlite3_binary_host": "https://cdn.npmmirror.com/binaries/better-sqlite3",
"npm_config_keytar_binary_host": "https://cdn.npmmirror.com/binaries/keytar",
"npm_config_sharp_binary_host": "https://cdn.npmmirror.com/binaries/sharp",
"npm_config_sharp_libvips_binary_host": "https://cdn.npmmirror.com/binaries/sharp-libvips",
"npm_config_robotjs_binary_host": "https://cdn.npmmirror.com/binaries/robotjs"
},
"terminal.integrated.env.osx": {
"COREPACK_NPM_REGISTRY": "https://registry.npmmirror.com",
"EDGEDRIVER_CDNURL": "https://npmmirror.com/mirrors/edgedriver",
"NODEJS_ORG_MIRROR": "https://cdn.npmmirror.com/binaries/node",
"NVM_NODEJS_ORG_MIRROR": "https://cdn.npmmirror.com/binaries/node",
"PHANTOMJS_CDNURL": "https://cdn.npmmirror.com/binaries/phantomjs",
"CHROMEDRIVER_CDNURL": "https://cdn.npmmirror.com/binaries/chromedriver",
"OPERADRIVER_CDNURL": "https://cdn.npmmirror.com/binaries/operadriver",
"CYPRESS_DOWNLOAD_PATH_TEMPLATE": "https://cdn.npmmirror.com/binaries/cypress/${version}/${platform}-${arch}/cypress.zip",
"ELECTRON_MIRROR": "https://cdn.npmmirror.com/binaries/electron/",
"ELECTRON_BUILDER_BINARIES_MIRROR": "https://cdn.npmmirror.com/binaries/electron-builder-binaries/",
"SASS_BINARY_SITE": "https://cdn.npmmirror.com/binaries/node-sass",
"SWC_BINARY_SITE": "https://cdn.npmmirror.com/binaries/node-swc",
"NWJS_URLBASE": "https://cdn.npmmirror.com/binaries/nwjs/v",
"PUPPETEER_DOWNLOAD_HOST": "https://cdn.npmmirror.com/binaries/chrome-for-testing",
"PUPPETEER_DOWNLOAD_BASE_URL": "https://cdn.npmmirror.com/binaries/chrome-for-testing",
"PLAYWRIGHT_DOWNLOAD_HOST": "https://cdn.npmmirror.com/binaries/playwright",
"SENTRYCLI_CDNURL": "https://cdn.npmmirror.com/binaries/sentry-cli",
"SAUCECTL_INSTALL_BINARY_MIRROR": "https://cdn.npmmirror.com/binaries/saucectl",
"RE2_DOWNLOAD_MIRROR": "https://cdn.npmmirror.com/binaries/node-re2",
"RE2_DOWNLOAD_SKIP_PATH": "true",
"PRISMA_ENGINES_MIRROR": "https://cdn.npmmirror.com/binaries/prisma",
"npm_config_better_sqlite3_binary_host": "https://cdn.npmmirror.com/binaries/better-sqlite3",
"npm_config_keytar_binary_host": "https://cdn.npmmirror.com/binaries/keytar",
"npm_config_sharp_binary_host": "https://cdn.npmmirror.com/binaries/sharp",
"npm_config_sharp_libvips_binary_host": "https://cdn.npmmirror.com/binaries/sharp-libvips",
"npm_config_robotjs_binary_host": "https://cdn.npmmirror.com/binaries/robotjs"
}
}
16 changes: 10 additions & 6 deletions blog-archived/client/components/home/DarkSouls.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script>
import MiniPrograms from './MiniPrograms'
// import { wechat } from '@/assets/img/cloud'
import wechatMyQrcode from '@/assets/img/wechat.jpg'
import copyTextMixin from '@/mixins/copyTextMixin'
import MiniPrograms from './MiniPrograms'
export default {
name: 'MySelf',
Expand Down Expand Up @@ -33,8 +33,8 @@ export default {
<div class="text-xs">
<div>
Hosted on
<OutSideLink href="https://cloud.tencent.com/product/cdn">
Tencent Cloud CDN
<OutSideLink href="https://www.netlify.com/">
Netlify
</OutSideLink>
</div>
<div>
Expand All @@ -43,7 +43,7 @@ export default {
GitHub Actions
</OutSideLink>
</div>
<div class="line-through">
<!-- <div class="line-through">
Powered by
<OutSideLink href="https://docs.cloudbase.net/">
CloudBase
Expand All @@ -52,7 +52,7 @@ export default {
<OutSideLink href="https://www.serverless.com/">
Serverless
</OutSideLink>
</div>
</div> -->
<div>
Powered by
<OutSideLink href="https://github.com/supabase/supabase">
Expand Down Expand Up @@ -151,7 +151,7 @@ export default {
或者手动添加微信号:
</div>
<div
class="hover:bg-green-100 flex cursor-pointer items-center justify-center truncate rounded border border-solid border-gray-400 py-2"
class="flex cursor-pointer items-center justify-center truncate rounded border border-solid border-gray-400 py-2 hover:bg-green-100"
@click="copyText('icebreaker1995')"
>
<span class="text-gray-900">
Expand Down Expand Up @@ -181,6 +181,7 @@ export default {
<style lang="scss" scoped>
.a-dark-soul {
@apply text-sm text-fg-default;
.npx-command {
@apply relative flex
cursor-pointer
Expand All @@ -191,10 +192,13 @@ export default {
border-[#cccccc] py-2 pl-3
pr-5
text-white/80 hover:border-[#00C642] hover:bg-[rgb(219,255,219)] hover:text-black/80;
.copy-icon {
@apply absolute right-1 opacity-0 transition-opacity;
//
}
&:hover {
.copy-icon {
@apply opacity-100;
Expand Down
7 changes: 5 additions & 2 deletions blog-archived/client/components/home/MiniPrograms.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
// import 股加加员工端 from '@/assets/img/mini/股加加员工端.jpg'
// import 股权健康体检 from '@/assets/img/mini/股权健康体检.jpg'
// import 股权激励设计助手 from '@/assets/img/mini/股权激励设计助手.jpg'
import Icebreaker from '@/assets/img/mini/icebreaker.jpg'
// import 股加融资计算器 from '@/assets/img/mini/股加融资计算器.jpg'
import ProgramerCard from '@/assets/img/mini/programer-card.jpg'
import Icebreaker from '@/assets/img/mini/icebreaker.jpg'
import Tailwindcss from '@/assets/img/mini/tailwindcss.jpg'
export default {
Expand Down Expand Up @@ -66,7 +66,7 @@ export default {
class="my-2 w-40 text-center text-sm"
>
<img class="w-40 rounded-md" :src="item.src" :alt="item.alt">
<div class="mt-2 mb-1">
<div class="mb-1 mt-2">
{{ item.alt }}
</div>
<div class="text-xs text-gray-400">
Expand Down Expand Up @@ -100,14 +100,17 @@ export default {
transform: translateX(-50%);
}
}
.border-image {
@apply relative;
&:hover,
&:focus {
&::before {
animation: SidebarCreate_rainbowSlide 0.75s linear infinite;
}
}
&::before {
content: '';
position: absolute;
Expand Down
Loading

0 comments on commit 713a5c9

Please sign in to comment.