Skip to content

Commit 00e1756

Browse files
committed
feat: add new brand footer
1 parent 7afd493 commit 00e1756

File tree

3 files changed

+18
-85
lines changed

3 files changed

+18
-85
lines changed

.vitepress/config.mts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,6 @@ export default defineConfig({
6666
}
6767
},
6868
},
69-
70-
footer: {
71-
message: `Released under the <a href="https://github.com/leafsphp/leaf/blob/v3.x/LICENSE">MIT License</a>.`,
72-
copyright: `Copyright © 2019-${new Date().getFullYear()} Michael Darko-Duodu`,
73-
},
7469
},
7570

7671
markdown: {

.vitepress/theme/components/Community/WallOfFame.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import SponsorGroup from '../shared/SponsorGroup.vue';
33
</script>
44

55
<template>
6-
<div class="flex justify-center item-center py-48">
6+
<div class="flex flex-col justify-center item-center py-48">
77
<section
88
class="flex flex-col justify-center items-center sm:!max-w-3xl lg:!max-w-5xl xl:!max-w-7xl w-full !px-2 sm:!px-10">
99
<div class="text-center mb-10">
@@ -16,5 +16,10 @@ import SponsorGroup from '../shared/SponsorGroup.vue';
1616

1717
<SponsorGroup group="code" class="w-full sm:!grid-cols-4 md:!grid-cols-6 lg:!grid-cols-8 xl:!grid-cols-10 p-2" />
1818
</section>
19+
20+
<a href="https://www.netlify.com">
21+
<img src="https://www.netlify.com/v3/img/components/netlify-dark.svg" class="w-20 mx-auto block mt-32"
22+
alt="Deploys by Netlify" />
23+
</a>
1924
</div>
2025
</template>
Lines changed: 12 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,17 @@
11
<template>
2-
<section class="hidden md:flex flex-col justify-center !py-24">
3-
<img src="/logo-circle.png" class="w-14 h-14" alt="">
4-
<div class="mt-6 grid grid-cols-5 md:gap-x-8 gap-y-12">
5-
<div class="lg:col-span-2">
6-
<p class="max-w-sm text-xs sm:text-sm">
7-
Leaf is a slim and lightweight PHP framework focused on developer experience, usability, and high-performance
8-
code. It is a modern PHP framework built to be simple and elegant, yet extremely powerful.
9-
</p>
10-
11-
<div class="mt-6">
12-
<a href="https://www.netlify.com">
13-
<img src="https://www.netlify.com/v3/img/components/netlify-dark.svg" class="w-20"
14-
alt="Deploys by Netlify" />
15-
</a>
16-
</div>
2+
<footer class="relative w-full bg-[var(--vp-c-bg-alt)] py-16 -mb-4">
3+
<div class="flex flex-col w-full items-start justify-center max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
4+
<div class="container">
5+
<a href="https://github.com/leafsphp/leaf/blob/v4.x/LICENSE"
6+
class="!no-underline transition-colors !text-[var(--vp-c-text-1)]">© 2019 - {{ (new Date()).getFullYear()
7+
}}</a>
178
</div>
18-
19-
<div>
20-
<span>Learn Leaf</span>
21-
<div class="text-xs mt-5">
22-
<ul>
23-
<li>
24-
<a href="/docs/" class="transition-colors !text-[var(--vp-c-text-1)]">Getting Started</a>
25-
</li>
26-
<li>
27-
<a href="/tutorial/" class="transition-colors !text-[var(--vp-c-text-1)]">Tutorial</a>
28-
</li>
29-
<li>
30-
<a href="https://sandbox.leafphp.dev" class="transition-colors !text-[var(--vp-c-text-1)]">Online Playground</a>
31-
</li>
32-
<li>
33-
<a href="https://youtube.com/@leafphp" class="transition-colors !text-[var(--vp-c-text-1)]">YouTube Videos</a>
34-
</li>
35-
</ul>
36-
</div>
37-
</div>
38-
39-
<div>
40-
<span>Community</span>
41-
<div class="text-xs mt-5">
42-
<ul>
43-
<li>
44-
<a href="https://x.com/leafphp" class="transition-colors !text-[var(--vp-c-text-1)]">Twitter</a>
45-
</li>
46-
<li>
47-
<a href="https://discord.gg/Pkrm9NJPE3" class="transition-colors !text-[var(--vp-c-text-1)]">Discord</a>
48-
</li>
49-
<li>
50-
<a href="https://github.com/leafsphp" class="transition-colors !text-[var(--vp-c-text-1)]">GitHub</a>
51-
</li>
52-
<li>
53-
<a href="/community/contribute.html" class="transition-colors !text-[var(--vp-c-text-1)]">Contribute to
54-
Leaf</a>
55-
</li>
56-
<li>
57-
<a href="/community/" class="transition-colors !text-[var(--vp-c-text-1)]">Join our community</a>
58-
</li>
59-
</ul>
60-
</div>
61-
</div>
62-
63-
<div>
64-
<span>About</span>
65-
<div class="text-xs mt-5">
66-
<ul>
67-
<li>
68-
<a href="/community/team" class="transition-colors !text-[var(--vp-c-text-1)]">Our team</a>
69-
</li>
70-
<li>
71-
<a href="/support" class="transition-colors !text-[var(--vp-c-text-1)]">Our sponsors</a>
72-
</li>
73-
<li>
74-
<a href="/community/faq" class="transition-colors !text-[var(--vp-c-text-1)]">FAQ</a>
75-
</li>
76-
<li>
77-
<a href="https://blog.leafphp.dev" class="transition-colors !text-[var(--vp-c-text-1)]">Our Blog</a>
78-
</li>
79-
</ul>
80-
</div>
9+
<div class="mx-auto w-full container font-bold lg:text-5xl 2xl:text-[70px]">
10+
<a href="https://studio.leafphp.dev"
11+
class="flex items-center gap-2 !no-underline transition-colors !text-[var(--vp-c-text-1)]"><span
12+
class="lg:text-9xl 2xl:text-[180px] font-semibold">Leaf PHP</span><small class="italic ml-6">by Creative
13+
Leaf</small></a>
8114
</div>
8215
</div>
83-
</section>
16+
</footer>
8417
</template>

0 commit comments

Comments
 (0)