Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add sponsors page #7

Merged
merged 1 commit into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions components/HomeGallery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<template>
<div class="grid grid-cols-2 animate-zoom-in-right gap-4">
<div class="grid gap-4">
<img class="aspect-auto w-full rounded-lg hover:animate-wobble" src="https://file.52chinaweb.com/2023/08/blog-home-we.jpeg" alt="">
<img class="aspect-auto w-full rounded-lg hover:animate-wobble" src="/images/blog-home-we.jpg" alt="">
</div>
<div class="grid gap-4">
<img class="aspect-auto w-full rounded-lg hover:animate-wobble" src="https://file.52chinaweb.com/2023/08/website-home-max.jpg" alt="">
<img class="aspect-auto w-full rounded-lg hover:animate-wobble" src="https://file.52chinaweb.com/2023/08/wangzai.jpg" alt="">
<img class="aspect-auto w-full rounded-lg hover:animate-wobble" src="/images/blog-home-max.jpg" alt="">
<img class="aspect-auto w-full rounded-lg hover:animate-wobble" src="/images/blog-home-wangzai.jpg" alt="">
</div>
</div>
</template>
4 changes: 4 additions & 0 deletions layouts/content.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
<UButton to="/blog" variant="outline" class="mt-6 not-prose">
Go Back
</UButton>

<p class="c-text-muted">
🌟 如果觉着这篇内容对你有所帮助,可以去 <a href="/sponsors" target="_blank">投喂</a> 旺仔和 Max 一点好吃(🍗🥩)的,他们一定会很开心的。
</p>
</main>
<Footer />
<PostBackTop />
Expand Down
8 changes: 8 additions & 0 deletions layouts/empty.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<script setup lang="ts">
</script>

<template>
<AppLayout>
<slot />
</AppLayout>
</template>
49 changes: 49 additions & 0 deletions pages/sponsors.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<script setup lang="ts">
definePageMeta({
documentDriven: false,
layout: 'empty',
})
</script>

<template>
<div>
<NuxtLayout>
<section>
<div class="container px-6 py-8 mx-auto">
<div class="lg:flex lg:space-x-16 lg:item-center">
<div class="lg:w-1/2 flex flex-col prose prose-slate dark:prose-invert tracking-wide">
<p>🌟 如果觉得这些内容对你有帮助,可以投喂旺仔和 Max 一点好吃的。 🍗🥩</p>
<img class="rounded-lg" src="/images/0-sponsors.png" alt="Alipay and Wechat collection codes">
</div>
<div class="mt-8 lg:mt-0 lg:w-1/2">
<div class="grid grid-cols-2 gap-4">
<div class="grid gap-4">
<div>
<img class="h-auto max-w-full rounded-lg animate-fade-in" src="/images/sponsors-1.jpg" alt="" loading="lazy">
</div>
<div>
<img class="h-auto max-w-full rounded-lg animate-fade-in" src="/images/sponsors-3.jpg" alt="" loading="lazy">
</div>
<div>
<img class="h-auto max-w-full rounded-lg animate-fade-in" src="/images/sponsors-5.jpg" alt="" loading="lazy">
</div>
</div>
<div class="grid gap-4">
<div>
<img class="h-auto max-w-full rounded-lg animate-fade-in" src="/images/sponsors-2.jpg" alt="" loading="lazy">
</div>
<div>
<img class="h-auto max-w-full rounded-lg animate-fade-in" src="/images/sponsors-6.jpg" alt="" loading="lazy">
</div>
<div>
<img class="h-auto max-w-full rounded-lg animate-fade-in" src="/images/sponsors-4.jpg" alt="" loading="lazy">
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</NuxtLayout>
</div>
</template>
Binary file added public/images/0-sponsors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/blog-home-max.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/blog-home-wangzai.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/blog-home-we.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/sponsors-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/sponsors-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/sponsors-3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/sponsors-4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/sponsors-5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/sponsors-6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.