Skip to content

Commit

Permalink
chore: add funding, minor fix footer
Browse files Browse the repository at this point in the history
  • Loading branch information
anhthang committed Jun 13, 2024
1 parent 350ecbf commit 2c1a445
Show file tree
Hide file tree
Showing 6 changed files with 1,276 additions and 1,017 deletions.
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
buy_me_a_coffee: anhthang
ko_fi: anhthang
custom: https://paypal.me/anhthangbui
30 changes: 10 additions & 20 deletions components/layout/Footer.vue
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
<template>
<div class="global-footer">
<div class="global-footer-copyright">
<a :href="$config.public.baseUrl" target="_blank">
{{ $config.public.appName }}
</a>
©{{ new Date().getFullYear() }} - Made with ☕️ in Hanoi
</div>
</div>
<a-flex justify="space-between">
<span> ©{{ new Date().getFullYear() }} {{ $config.public.appName }} </span>
<NuxtLink
to="https://www.buymeacoffee.com/anhthang"
target="_blank"
external
>
<coffee-outlined /> Buy Me a Coffee
</NuxtLink>
</a-flex>
</template>

<style>
.global-footer {
display: flex;
flex-direction: column;
align-items: center;
}
.credits {
margin-bottom: 1rem;
}
</style>
4 changes: 3 additions & 1 deletion layouts/desktop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
<a-layout-content>
<NuxtPage />
</a-layout-content>
<a-layout-footer>
<a-layout-footer
:style="{ borderBlockStart: `1px solid ${token.colorSplit}` }"
>
<layout-footer />
</a-layout-footer>
</a-layout>
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"dependencies": {
"@pinia/nuxt": "^0.5.1",
"@vercel/analytics": "^1.3.1",
"@vercel/speed-insights": "^1.0.11",
"ant-design-vue": "^4.2.1",
"@vercel/speed-insights": "^1.0.12",
"ant-design-vue": "^4.2.3",
"crc": "4.3.2",
"html2canvas": "^1.4.1",
"pinia": "^2.1.7",
Expand All @@ -47,21 +47,21 @@
"@types/lodash.orderby": "^4.6.9",
"@types/lodash.sample": "^4.2.9",
"@types/lodash.sortby": "^4.7.9",
"eslint": "^9.3.0",
"eslint": "^9.4.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.26.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.4",
"lint-staged": "^15.2.7",
"lodash.groupby": "^4.6.0",
"lodash.keyby": "^4.6.0",
"lodash.omit": "^4.5.0",
"lodash.orderby": "^4.6.0",
"lodash.sample": "^4.2.1",
"lodash.sortby": "^4.7.0",
"nuxt": "^3.11.2",
"prettier": "^3.2.5",
"nuxt": "^3.12.1",
"prettier": "^3.3.2",
"typescript": "^5.4.5"
},
"packageManager": "yarn@4.2.2+sha512.c44e283c54e02de9d1da8687025b030078c1b9648d2895a65aab8e64225bfb7becba87e1809fc0b4b6778bbd47a1e2ab6ac647de4c5e383a53a7c17db6c3ff4b"
"packageManager": "yarn@4.3.0"
}
4 changes: 0 additions & 4 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ const { data } = await useAsyncData(() => $fetch('/api/statistics'))
.recently-added-artisans {
height: 100%;
.ant-spin-nested-loading {
min-height: auto;
}
}
/* Global */
Expand Down
Loading

0 comments on commit 2c1a445

Please sign in to comment.