Skip to content

Commit

Permalink
fix: icon padding bottom & remove useless recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Nov 6, 2023
1 parent dd2de09 commit 7f87c47
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 22 deletions.
3 changes: 2 additions & 1 deletion components/BasketButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ const showBasketBtn = computed(async () => {
v-show="showBasketBtn"
class="fixed z-9 inline-flex cursor-pointer items-center justify-center rounded rounded-full shadow hover:shadow-md"
bg="green-50 dark:green-900" w="10" h="10"
bottom="18" right="4"
bottom="22"
right="4"
text="green-600 dark:green-300"
>
<span v-if="displayedRecipe.length > 0">
Expand Down
6 changes: 0 additions & 6 deletions data/recipe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,8 @@ BBQ烟熏手撕猪肉,猪肉,BV1DV411x7SH,复杂,,烤,烤箱,
微波炉版土豆浓汤,土豆、胡萝卜,BV1HL411E7MM,简单,早饭,微波加热,微波炉,
微波炉版煲仔饭,米、香肠、鸡蛋,BV145411f7R4,简单,主食,微波加热,微波炉,
微波炉版燕麦粥,米,BV1cF411Y7pd,,主食,微波加热,微波炉,
微波炉版抱蛋水饺,面食、鸡蛋,BV1zL411x7CU,,,,微波炉,
微波炉版叉烧肉,猪肉、米,BV1Hi4y1s7Sc,,,微波加热,微波炉,
微波炉版蛋炒饭,米、鸡蛋、香肠,BV1T34y147qU,简单,,微波加热,微波炉,
微波炉版番茄炒蛋,鸡蛋、番茄、米,BV1zL411x7CU,,,,微波炉,
微波炉版番茄鸡蛋汤,番茄、鸡蛋,BV1qx411n7QF,,,,微波炉,
微波炉版番茄肉盒,番茄、猪肉、青椒,BV194411R7aH,,,微波加热,微波炉,
微波炉版肥牛饭,牛肉、洋葱、鸡蛋、米,BV1gh411Y7TU,,,,微波炉,
Expand All @@ -207,13 +205,10 @@ BBQ烟熏手撕猪肉,猪肉,BV1DV411x7SH,复杂,,烤,烤箱,
微波炉版牛奶炖饭,米,BV1W7411c7As,简单,,微波加热,微波炉,
微波炉版日式嫩蒸鸡胸肉,鸡肉,BV1xu41197tU,,,,微波炉,
微波炉版烧烤茄子,茄子,BV19x411H7ig,,,,微波炉,
微波炉版蔬菜烘蛋,鸡蛋、猪肉、胡萝卜,BV1zL411x7CU,,,,微波炉,
微波炉版酸辣土豆丝,土豆,BV1zL411x7CU,,,,微波炉,
微波炉版蒜香烤茄子,茄子,BV19x411H7ig,简单,,微波加热,微波炉,
微波炉版蒜香琵琶腿,鸡肉,BV1qx411777p,,,,微波炉,
微波炉版吐司杯,鸡蛋、面包,BV1CS4y1k7Xi,,,微波加热,微波炉,
微波炉版五花肉,猪肉、米,BV1hL4y137Zk,,,微波加热,微波炉,
微波炉版鲜虾面,面食、虾、胡萝卜、方便面,BV1zL411x7CU,,,,微波炉,
微波炉版香干,豆腐,BV1F44y1T7sQ,,,微波加热,微波炉,
微波炉版香辣豆腐,豆腐、米,BV1bT4y1o7dv,,,,微波炉,
微波炉版香嫩鸡胸肉,鸡肉,BV1xu41197tU,,,,微波炉,
Expand All @@ -222,7 +217,6 @@ BBQ烟熏手撕猪肉,猪肉,BV1DV411x7SH,复杂,,烤,烤箱,
微波炉版照烧鸡腿饭,米、鸡肉、胡萝卜、花菜,BV16Z4y1V774,,,,微波炉,
微波炉版蒸蛋羹,鸡蛋,BV19T4y1D7Zd,,,,微波炉,
微波炉版煮米饭,米,BV193411W7nb,,,,微波炉,
微波炉版孜然豆腐丁,豆腐,BV1zL411x7CU,,,,微波炉,
豉油鸡翅,鸡肉,BV1vz4y1d775,普通,茶餐厅,煮,一口大锅,
水煮肉片,猪肉、芹菜、莴笋,BV1ZZ4y1379N,普通,川菜,炒,一口大锅,
脆口黄瓜,黄瓜,BV1Tb4y1X7ow,简单,脆口,凉拌,一口大锅,
Expand Down
2 changes: 1 addition & 1 deletion data/recipe.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export default defineNuxtConfig({
// but missing on offline, disabling extraction it until fixed
payloadExtraction: false,
inlineSSRStyles: false,
renderJsonPayloads: true,
typedPages: true,
},

Expand All @@ -49,7 +48,7 @@ export default defineNuxtConfig({
},
prerender: {
crawlLinks: false,
routes: ['/', '/random', 'help', '/user'],
routes: ['/', '/random', '/help', '/user', '/404', '/settings'],
ignore: ['/hi'],
},
},
Expand Down
8 changes: 4 additions & 4 deletions pages/404.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
const router = useRouter()
// const router = useRouter()
</script>

<template>
Expand All @@ -9,9 +9,9 @@ const router = useRouter()
</div>
<div>菜谱消失了</div>
<div>
<button text-sm btn m="3 t8" @click="router.back()">
返回
</button>
<NuxtLink text-sm btn m="3 t8" to="/">
返回主页
</NuxtLink>
</div>
</main>
</template>
11 changes: 3 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7f87c47

Please sign in to comment.