Skip to content

Commit

Permalink
feat: 更新icon
Browse files Browse the repository at this point in the history
  • Loading branch information
dxhuii committed May 24, 2024
1 parent d3502ec commit 9636321
Show file tree
Hide file tree
Showing 14 changed files with 2,955 additions and 2,530 deletions.
3 changes: 0 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
// Enable the ESlint flat config support
"eslint.experimental.useFlatConfig": true,

// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,
Expand Down
4 changes: 2 additions & 2 deletions app.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script setup>
useHead({
title: 'Ding Xiao Hui',
title: '丁效辉',
link: [
{
rel: 'icon', type: 'image/png', href: '/nuxt.png'
rel: 'icon', type: 'image/png', href: '/favicon.png'
}
]
})
Expand Down
16 changes: 1 addition & 15 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,4 @@
import dxhuii from '@dxhuii/eslint-config'
import antfu from '@antfu/eslint-config'

export default antfu({ unocss: true, formatters: true, typescript: true, vue: true, markdown: true, stylistic: true }, dxhuii(), {
ignores: [
'dist',
'.umi',
'mock',
'node_modules',
'coverage',
'scripts',
'config',
'.history',
'/lambda/',
'public',
'**/*.json'
]
})
export default antfu({ unocss: true, formatters: true, typescript: true, vue: true, markdown: true, stylistic: true }, dxhuii())
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default defineNuxtConfig({
viewport: 'width=device-width,initial-scale=1',
link: [
{ rel: 'icon', href: '/favicon.ico', sizes: 'any' },
{ rel: 'icon', type: 'image/svg+xml', href: '/nuxt.png' },
{ rel: 'icon', type: 'image/jpg', href: '/favicon.jpg' },
{ rel: 'apple-touch-icon', href: '/apple-touch-icon.png' }
],
meta: [
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"version": "0.0.0",
"private": true,
"packageManager": "pnpm@9.0.4",
"packageManager": "pnpm@9.1.0",
"scripts": {
"build": "nuxi build",
"dev": "nuxi dev",
Expand All @@ -16,23 +16,23 @@
"start:generate": "npx serve .output/public"
},
"devDependencies": {
"@antfu/eslint-config": "^2.15.0",
"@dxhuii/eslint-config": "^2.1.3",
"@iconify-json/carbon": "^1.1.31",
"@antfu/eslint-config": "^2.18.1",
"@dxhuii/eslint-config": "^2.2.0",
"@iconify-json/carbon": "^1.1.34",
"@iconify-json/ri": "^1.1.20",
"@iconify-json/twemoji": "^1.1.15",
"@nuxt/devtools": "^1.2.0",
"@nuxtjs/color-mode": "^3.4.0",
"@nuxt/devtools": "^1.3.1",
"@nuxtjs/color-mode": "^3.4.1",
"@pinia/nuxt": "^0.5.1",
"@unocss/eslint-config": "^0.59.4",
"@unocss/nuxt": "^0.59.4",
"@vite-pwa/nuxt": "^0.6.0",
"@vue-macros/nuxt": "^1.9.30",
"@unocss/eslint-config": "^0.60.3",
"@unocss/nuxt": "^0.60.3",
"@vite-pwa/nuxt": "^0.7.0",
"@vue-macros/nuxt": "^1.9.33",
"@vueuse/nuxt": "^10.9.0",
"eslint": "^9.1.0",
"eslint": "^9.3.0",
"nuxt": "^3.11.2",
"pinia": "^2.1.7",
"typescript": "^5.4.5",
"vue-tsc": "^2.0.13"
"vue-tsc": "^2.0.19"
}
}
30 changes: 15 additions & 15 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,55 +22,55 @@ const list = [{
},
{
title: '内容清单',
href: 'https://cms.im/',
href: 'https://www.cms.im/',
icon: 'i-twemoji:blue-book',
desc: '收集一些有用的内容',
desc: '收集一些喜欢的工具和网站',
target: '_blank'
}]
</script>

<template>
<div>
<h1 text-4xl font-light>
Hi, I'm <b>Ding Xiao Hui</b> 👋。
Hi, 我是 <b>丁效辉</b> 👋。
</h1>
<div text="2xl" mt-4 flex items-center font-light>
A NodeJS Full Stack <code class="transition-background mx2 cursor-pointer rounded bg-gray-200 bg-opacity-0 p1 text-3xl font-medium duration-200 dark:bg-gray-800/0 hover:bg-opacity-100 hover:dark:bg-gray-800/100">&lt;Developer/&gt;</code>
A NodeJS Full Stack <code class="transition-background mx-2 cursor-pointer rounded bg-gray-200 bg-opacity-0 p-1 text-3xl font-medium duration-200 dark:bg-gray-800/0 hover:bg-opacity-100 hover:dark:bg-gray-800/100">&lt;Developer/&gt;</code>
</div>
<div mt-4 flex>
<a
target="_blank" href="https://github.com/dxhuii"
class="mr2 mt2 inline-flex items-center rounded-md bg-gray-50 px3 py2 decoration-none transition-colors dark:bg-gray-50/10 hover:bg-gray-700 hover:text-white dark:hover:bg-white dark:hover:text-gray-900"
class="mr-2 mt-2 inline-flex items-center rounded-md bg-gray-50 px-3 py-2 decoration-none transition-colors dark:bg-gray-50/10 hover:bg-gray-700 hover:text-white dark:hover:bg-white dark:hover:text-gray-900"
>
<i class="mr2" i-ri-github-fill />Github
<i class="mr-2" i-ri-github-fill />Github
</a>
<a
target="_blank" href="https://twitter.com/dxhuii"
class="mr2 mt2 inline-flex items-center rounded-md bg-gray-50 px3 py2 decoration-none transition-colors dark:bg-gray-50/10 hover:bg-[#00acee] hover:text-white"
class="mr-2 mt-2 inline-flex items-center rounded-md bg-gray-50 px-3 py-2 decoration-none transition-colors dark:bg-gray-50/10 hover:bg-[#00acee] hover:text-white"
>
<i class="mr2" i-ri-twitter-fill />Twitter
<i class="mr-2" i-ri-twitter-fill />Twitter
</a>
<a
target="_blank" href="https://weibo.com/dingxiaohui"
class="mr2 mt2 inline-flex items-center rounded-md bg-gray-50 px3 py2 decoration-none transition-colors dark:bg-gray-50/10 hover:bg-[#ff8200] hover:text-white"
class="mr-2 mt-2 inline-flex items-center rounded-md bg-gray-50 px-3 py-2 decoration-none transition-colors dark:bg-gray-50/10 hover:bg-[#ff8200] hover:text-white"
>
<i class="mr2" i-ri-weibo-fill />微博
<i class="mr-2" i-ri-weibo-fill />微博
</a>
<a
target="_blank" href="https://space.bilibili.com/5552452"
class="mr2 mt2 inline-flex items-center rounded-md bg-gray-50 px3 py2 decoration-none transition-colors dark:bg-gray-50/10 hover:bg-[#fb7299] hover:text-white"
class="mr-2 mt-2 inline-flex items-center rounded-md bg-gray-50 px-3 py-2 decoration-none transition-colors dark:bg-gray-50/10 hover:bg-[#fb7299] hover:text-white"
>
<i class="mr2" i-ri-bilibili-fill />哔哩哔哩
<i class="mr-2" i-ri-bilibili-fill />哔哩哔哩
</a>
</div>
<h2 class="mt4 flex">
<h2 class="mt-4 flex">
项目目录
</h2>
<div class="grid grid-cols-1 mt4 gap4 sm:grid-cols-2">
<div class="grid grid-cols-1 mt-4 gap-4 sm:grid-cols-2">
<NuxtLink
v-for="item in list" :key="item.href"
:to="item.href"
class="rounded-md bg-gray-100 px4 py3 decoration-none transition-colors dark:bg-gray-50/10 hover:bg-gray-200 dark:hover:bg-gray-50/20"
class="rounded-md bg-gray-100 px-4 py-3 decoration-none transition-colors dark:bg-gray-50/10 hover:bg-gray-200 dark:hover:bg-gray-50/20"
:target="item.target"
>
<div class="h-full flex items-center justify-center">
Expand Down
Loading

0 comments on commit 9636321

Please sign in to comment.