Skip to content

Commit 9d418e0

Browse files
committed
feat: update community page
1 parent 474ec81 commit 9d418e0

File tree

5 files changed

+218
-16
lines changed

5 files changed

+218
-16
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ import SponsorGroup from '../shared/SponsorGroup.vue';
44

55
<template>
66
<div class="flex justify-center item-center py-48">
7-
<section class="flex flex-col justify-center items-center">
7+
<section class="flex flex-col justify-center items-center max-w-[1280px]">
88
<div class="text-center mb-10">
99
<h1 class="!text-5xl font-bold mb-8">Wall of Fame</h1>
1010
<p class="px-[22%]">
1111
These are the heroes who have made Leaf what it is today. We are grateful for their contributions and support ❤️
1212
</p>
1313
</div>
1414

15-
<SponsorGroup group="code" class="w-full grid-cols-5" />
15+
<SponsorGroup group="code" class="w-full sm:!grid-cols-4 md:!grid-cols-6 lg:!grid-cols-8 xl:!grid-cols-10" />
1616
</section>
1717
</div>
1818
</template>
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
<template>
2+
<section class="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>
17+
</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>
81+
</div>
82+
</div>
83+
</section>
84+
</template>

.vitepress/theme/components/Home/Home.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import TryIt from './TryIt.vue';
66
import Sponsors from './Sponsors.vue';
77
import Testimonials from './Testimonials.vue';
88
import Community from './Community.vue';
9+
import Footer from './Footer.vue';
910
</script>
1011

1112
<template>
@@ -16,6 +17,7 @@ import Community from './Community.vue';
1617
<Sponsors />
1718
<Testimonials />
1819
<Community />
20+
<Footer />
1921
</template>
2022

2123
<style>
@@ -39,6 +41,10 @@ import Community from './Community.vue';
3941
padding: 0 24px;
4042
}
4143
44+
.VPHome {
45+
margin-bottom: 0 !important;
46+
}
47+
4248
@media (min-width: 640px) {
4349
.VPContent.is-home section {
4450
padding: 0 48px;

.vitepress/theme/styles/index.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,14 @@ html.dark {
109109
text-decoration: none;
110110
}
111111

112+
.VPDocAsideOutline > div {
113+
@apply !border-none;
114+
}
115+
116+
.outline-marker {
117+
@apply !rounded !w-1 !left-0;
118+
}
119+
112120
@keyframes blink {
113121
49% {
114122
background-color: black;
@@ -120,3 +128,7 @@ html.dark {
120128
background-color: transparent;
121129
}
122130
}
131+
132+
.VPContent.is-home + .VPFooter {
133+
background-color: var(--vp-c-bg-alt);
134+
}

src/public/sponsors.json

Lines changed: 114 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
"url": "https://www.jetbrains.com/",
2222
"img": "https://avatars.githubusercontent.com/u/878437?s=200&v=4"
2323
},
24+
{
25+
"name": "Terry",
26+
"url": "https://github.com/terrybr",
27+
"img": "https://avatars.githubusercontent.com/u/378788?v=4"
28+
},
2429
{
2530
"name": "Vano",
2631
"url": "#",
@@ -31,11 +36,6 @@
3136
"url": "https://github.com/casprine",
3237
"img": "https://images.opencollective.com/guest-c72a498e/avatar.png"
3338
},
34-
{
35-
"name": "Terry B",
36-
"url": "https://github.com/terrybr",
37-
"img": "https://avatars.githubusercontent.com/u/378788?v=4"
38-
},
3939
{
4040
"name": "Farhan Yahaya",
4141
"url": "https://github.com/doc-han",
@@ -88,11 +88,26 @@
8888
"url": "https://github.com/mychidarko",
8989
"img": "https://avatars.githubusercontent.com/u/26604242?v=4"
9090
},
91+
{
92+
"name": "Abdulbasit Rubeya",
93+
"url": "https://github.com/ibnsultan",
94+
"img": "https://avatars.githubusercontent.com/u/28471267?v=4"
95+
},
9196
{
9297
"name": "André Rosa",
9398
"url": "https://github.com/crosa7",
9499
"img": "https://avatars.githubusercontent.com/u/32076460?v=4"
95100
},
101+
{
102+
"name": "Ashley Nyanteh",
103+
"url": "https://github.com/missashley16",
104+
"img": "https://user-images.githubusercontent.com/26604242/221550910-1a711f42-9589-4981-96e0-d0de19778e7a.png"
105+
},
106+
{
107+
"name": "Terry",
108+
"url": "https://github.com/terrybr",
109+
"img": "https://avatars.githubusercontent.com/u/378788?v=4"
110+
},
96111
{
97112
"name": "Matthew Reichardt",
98113
"url": "https://github.com/matthewjamesr",
@@ -118,11 +133,21 @@
118133
"url": "https://github.com/ftonato",
119134
"img": "https://avatars.githubusercontent.com/u/5417662?v=4"
120135
},
136+
{
137+
"name": "Milos Pavic",
138+
"url": "https://github.com/milosPavic",
139+
"img": "https://avatars.githubusercontent.com/u/7430264?v=4"
140+
},
121141
{
122142
"name": "Vitor Rodrigues",
123143
"url": "https://github.com/vs0uz4",
124144
"img": "https://avatars.githubusercontent.com/u/2080547?v=4"
125145
},
146+
{
147+
"name": "Roman Andreevich",
148+
"url": "https://github.com/phederal",
149+
"img": "https://avatars.githubusercontent.com/u/38112007?v=4"
150+
},
126151
{
127152
"name": "sptaule",
128153
"url": "https://github.com/sptaule",
@@ -138,15 +163,20 @@
138163
"url": "https://github.com/pjotrsavitski",
139164
"img": "https://avatars.githubusercontent.com/u/518331?&v=4"
140165
},
166+
{
167+
"name": "Master Sofua Desmond",
168+
"url": "https://github.com/cr34t1ve",
169+
"img": "https://avatars.githubusercontent.com/u/37486330?v=4"
170+
},
141171
{
142172
"name": "Pablo Ferreiro",
143173
"url": "https://github.com/pablouser1",
144174
"img": "https://avatars.githubusercontent.com/u/17802865?&v=4"
145175
},
146176
{
147-
"name": "jess",
148-
"url": "https://github.com/monkeywithacupcake",
149-
"img": "https://avatars.githubusercontent.com/u/7316730?v=4"
177+
"name": "Emin",
178+
"url": "https://github.com/eminsr",
179+
"img": "https://avatars.githubusercontent.com/u/15310365?v=4"
150180
},
151181
{
152182
"name": "Sergey Romanenko",
@@ -159,9 +189,19 @@
159189
"img": "https://avatars.githubusercontent.com/u/7483565?v=4"
160190
},
161191
{
162-
"name": "Master Sofua Desmond",
163-
"url": "https://github.com/cr34t1ve",
164-
"img": "https://avatars.githubusercontent.com/u/37486330?v=4"
192+
"name": "Andrey Orlov",
193+
"url": "https://github.com/brutalhost",
194+
"img": "https://avatars.githubusercontent.com/u/18640248?v=4"
195+
},
196+
{
197+
"name": "Medoo48",
198+
"url": "https://github.com/Medoo48",
199+
"img": "https://avatars.githubusercontent.com/u/122442342?v=4"
200+
},
201+
{
202+
"name": "jess",
203+
"url": "https://github.com/monkeywithacupcake",
204+
"img": "https://avatars.githubusercontent.com/u/7316730?v=4"
165205
},
166206
{
167207
"name": "Ashley",
@@ -218,6 +258,11 @@
218258
"url": "https://github.com/pisyek",
219259
"img": "https://avatars.githubusercontent.com/u/10695986?v=4"
220260
},
261+
{
262+
"name": "Artem Kuznecov",
263+
"url": "https://github.com/artemsites",
264+
"img": "https://avatars.githubusercontent.com/u/24230199?v=4"
265+
},
221266
{
222267
"name": "Rafael Morais",
223268
"url": "https://github.com/rafaelcanical",
@@ -288,20 +333,75 @@
288333
"url": "https://github.com/codediy",
289334
"img": "https://avatars.githubusercontent.com/u/20250924?v=4"
290335
},
336+
{
337+
"name": "JeiHO",
338+
"url": "https://github.com/jeijei4",
339+
"img": "https://avatars.githubusercontent.com/u/21228328?v=4"
340+
},
341+
{
342+
"name": "Bazowsky",
343+
"url": "https://github.com/Bazowsky",
344+
"img": "https://avatars.githubusercontent.com/u/10651475?v=4"
345+
},
291346
{
292347
"name": "kczx3",
293348
"url": "https://github.com/kczx3",
294349
"img": "https://avatars.githubusercontent.com/u/15206020?v=4"
295350
},
296351
{
297-
"name": "1mahdimf",
298-
"url": "https://github.com/1mahdimf",
299-
"img": "https://avatars.githubusercontent.com/u/8771082?v=4"
352+
"name": "Andrew MacLean",
353+
"url": "https://github.com/andrewdmaclean",
354+
"img": "https://avatars.githubusercontent.com/u/26526271?v=4"
355+
},
356+
{
357+
"name": "Tom van Beveren",
358+
"url": "https://github.com/tomvb",
359+
"img": "https://avatars.githubusercontent.com/u/759525?v=4"
360+
},
361+
{
362+
"name": "F.",
363+
"url": "https://github.com/haruspeks",
364+
"img": "https://avatars.githubusercontent.com/u/146178838?v=4"
365+
},
366+
{
367+
"name": "myteril",
368+
"url": "https://github.com/myteril",
369+
"img": "https://avatars.githubusercontent.com/u/22733580?v=4"
370+
},
371+
{
372+
"name": "Rafael",
373+
"url": "https://github.com/iamrafaelmelo",
374+
"img": "https://avatars.githubusercontent.com/u/52138516?v=4"
375+
},
376+
{
377+
"name": "mieszkou",
378+
"url": "https://github.com/mieszkou",
379+
"img": "https://avatars.githubusercontent.com/u/57371264?v=4"
300380
},
301381
{
302382
"name": "Shubham Chaudhary",
303383
"url": "https://github.com/Shubhamc4",
304384
"img": "https://avatars.githubusercontent.com/u/71214613?v=4"
385+
},
386+
{
387+
"name": "1mahdimf",
388+
"url": "https://github.com/1mahdimf",
389+
"img": "https://avatars.githubusercontent.com/u/8771082?v=4"
390+
},
391+
{
392+
"name": "pakuningratan",
393+
"url": "https://github.com/pakuningratan",
394+
"img": "https://avatars.githubusercontent.com/u/68019361?v=4"
395+
},
396+
{
397+
"name": "Tautvilas Mečinskas",
398+
"url": "https://github.com/tautvilas",
399+
"img": "https://avatars.githubusercontent.com/u/1044090?v=4"
400+
},
401+
{
402+
"name": "fadrian06",
403+
"url": "https://github.com/fadrian06",
404+
"img": "https://avatars.githubusercontent.com/u/109766973?v=4"
305405
}
306406
]
307407
}

0 commit comments

Comments
 (0)