Skip to content

Commit

Permalink
chore: fix readme & title
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Aug 3, 2023
1 parent 1bd0a67 commit 95ce2c4
Show file tree
Hide file tree
Showing 5 changed files with 479 additions and 340 deletions.
3 changes: 2 additions & 1 deletion components/FAQItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ import { Disclosure, DisclosureButton, DisclosurePanel } from '@headlessui/vue'
defineProps<{
title: string
defaultOpen?: boolean
}>()
</script>

<template>
<Disclosure v-slot="{ open }" as="div" class="mt-2">
<Disclosure v-slot="{ open }" :default-open="defaultOpen" as="div" class="mt-2">
<DisclosureButton
class="w-full flex justify-between rounded-lg bg-blue-100 px-4 py-2 text-left text-sm font-medium text-blue-900 hover:bg-blue-200 focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75"
>
Expand Down
2 changes: 1 addition & 1 deletion constants/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const appName = '隔离食用手册'
export const appName = '食用手册'
export const appDescription = '好的,今天我们来做菜!'

export const namespace = 'cook'
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,24 @@
"vue-about-me": "^1.2.7"
},
"devDependencies": {
"@antfu/eslint-config": "^0.39.8",
"@antfu/eslint-config": "^0.40.0",
"@headlessui/vue": "^1.7.15",
"@iconify-json/carbon": "^1.1.18",
"@iconify-json/fe": "^1.1.6",
"@iconify-json/gg": "^1.1.5",
"@iconify-json/ic": "^1.1.13",
"@iconify-json/mdi": "^1.1.53",
"@iconify-json/ri": "^1.1.10",
"@iconify-json/ri": "^1.1.11",
"@iconify-json/twemoji": "^1.1.11",
"@nuxt/devtools": "^0.7.1",
"@nuxt/devtools": "^0.7.4",
"@nuxtjs/color-mode": "^3.3.0",
"@pinia/nuxt": "^0.4.11",
"@pinia/testing": "^0.1.3",
"@unocss/eslint-config": "^0.54.0",
"@unocss/nuxt": "^0.54.0",
"@unocss/eslint-config": "^0.54.1",
"@unocss/nuxt": "^0.54.1",
"@vite-pwa/nuxt": "^0.1.0",
"@vue/test-utils": "^2.4.1",
"@vueuse/nuxt": "^10.2.1",
"@vueuse/nuxt": "^10.3.0",
"@yunlefun/vue": "^0.0.7",
"@zadigetvoltaire/nuxt-gtm": "^0.0.13",
"consola": "^3.2.3",
Expand All @@ -52,12 +52,12 @@
"jsdom": "^22.1.0",
"nuxt": "^3.6.5",
"pinia": "^2.1.6",
"sass": "^1.64.1",
"sass": "^1.64.2",
"star-markdown-css": "^0.4.2",
"tsx": "^3.12.7",
"typescript": "^5.1.6",
"unocss": "^0.54.0",
"vitest": "^0.33.0",
"unocss": "^0.54.1",
"vitest": "^0.34.1",
"vue-tsc": "^1.8.8"
}
}
25 changes: 16 additions & 9 deletions pages/user.vue
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
<template>
<div px-2>
<div>
<CommonHeader>
我的
</CommonHeader>

<FeedbackActions />

<div class="mx-auto max-w-md w-full rounded-2xl p-2" text-left>
<p my-6 text-left text-base>
很高兴能在这里与你相遇,也很希望这个网站可以真的帮助到你。
</p>

<FAQItem title="关于">
<FAQItem :default-open="true" title="关于">
<div text-left>
<ul>
<li>
它诞生于 2022 年 4 月,时值疫情风控期间,希望能帮助期间的伙伴根据现有食材寻找到合适的菜谱。故原名「隔离食用手册」。
</li>
<li>
如今那个时期已离我们远去,故去掉「隔离」二字。但也很高兴能在这里继续与你相遇,希望它能继续发光发热,在日常生活中帮助到大家。
</li>
<li>
<div class="inline-flex items-center justify-center">
代码仓库:<a class="inline-flex items-center justify-center" href="https://github.com/YunYouJun/cook" target="_blank">
Expand Down Expand Up @@ -74,9 +76,14 @@
</FAQItem>

<FAQItem title="赞助者们">
<a href="https://sponsors.yunyoujun.cn" target="_blank">
<img src="https://sponsors.yunyoujun.cn/sponsors.svg">
</a>
<div>
感谢至今以来所有的<a href="https://afdian.net/a/yunyoujun" class="text-purple" target="_blank">赞助者</a>们,你们的支持是我持续维护和开发新项目的动力!
</div>
<div pt-2>
<a href="https://sponsors.yunyoujun.cn" target="_blank">
<img src="https://sponsors.yunyoujun.cn/sponsors.svg">
</a>
</div>
</FAQItem>
</div>

Expand Down
Loading

1 comment on commit 95ce2c4

@vercel
Copy link

@vercel vercel bot commented on 95ce2c4 Aug 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

cook – ./

cook.yunle.app
cook-yunyoujun.vercel.app
cook-today.vercel.app
cook-git-dev-yunyoujun.vercel.app

Please sign in to comment.