Skip to content

Commit

Permalink
feat(app): change footer hosted
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Feb 2, 2024
1 parent 345a88c commit 3c18519
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/app/src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,15 @@ function followSearch(params: Record<string, string>) {
</div>
<div font-sm text-base-400>
<span class="mr1 text-sm i-devicon-astro op-80"></span>
Powered by Astro
Powered by&nbsp;<a class="text-link-active" href="https://astro.build/" target="_blank"
>Astro</a
>
</div>
<div font-sm text-base-400>
<span class="mr1 text-sm i-devicon-cloudflare op-80"></span>
Hosted on Cloudflare Pages
<span class="mr1 text-sm i-custom-zeabur op-80"></span>
Hosted on&nbsp;<a class="text-link-active" href="https://zeabur.com/" target="_blank"
>Zeabur</a
>
</div>
</footer>

Expand Down
7 changes: 7 additions & 0 deletions packages/app/uno.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ export default defineConfig({
height: '1em',
'flex-shrink': '0',
display: 'inline-block'
},
collections: {
custom: async (name) => {
if (name === 'zeabur') {
return await fetch(`https://zeabur.com/favicon.svg`).then((res) => res.text());
}
}
}
}),
presetWebFonts({
Expand Down

0 comments on commit 3c18519

Please sign in to comment.