Skip to content

Commit 4603693

Browse files
authored
Merge pull request #102 from leafsphp/staging
feat: update layout
2 parents 31335dc + 5325aad commit 4603693

File tree

7 files changed

+26
-9
lines changed

7 files changed

+26
-9
lines changed

.vitepress/config.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ export default defineConfig({
2626
siteTitle: 'Leaf PHP',
2727

2828
search: {
29-
provider: 'local',
3029
// provider: 'algolia',
30+
provider: 'local',
31+
3132
// options: {
3233
// appId: 'Q38TT8XUN9',
3334
// indexName: 'leafphp',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import SponsorGroup from '../shared/SponsorGroup.vue';
99
<h1 class="md:!text-5xl mb-2 md:mb-8">Leaf is all of us</h1>
1010
<p class="md:px-[22%]">
1111
Leaf is fully community backed. Your donations go a long way to help us keep Leaf running and keep up with the
12-
demand associated with the growth of our tools. Here are our top sponsors ❤️
12+
demand associated with the growth of our tools. Here are our current sponsors ❤️
1313
</p>
1414
</div>
1515

.vitepress/theme/components/shared/Banner.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const dismiss = () => {
3131
<template>
3232
<div ref="el" class="banner">
3333
<div class="text">
34-
🎉 You can now use <a href="/docs/auth/permissions">Roles and permissions</a> natively in your apps.
34+
We need your help to keep Leaf's development active. <a href="/support/">Support Leaf today!</a>
3535
</div>
3636

3737
<button type="button" @click="dismiss">
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<template>
2+
<a href="https://chatgpt.com/g/g-6778b7455748819183c634ccebce4c39-leaf-php" target="_blank"
3+
class="mt-4 rounded-3xl bg-[var(--vp-c-bg-alt)] p-4 flex justify-center items-center gap-2 text-left">
4+
<img src="https://github.com/user-attachments/assets/6238b360-6641-4c0f-ae1d-7d812d1d2713" alt="Leaf ChatGPT"
5+
class="size-6" />
6+
<small>Try out the Leaf ChatGPT coding assistant</small>
7+
</a>
8+
</template>

.vitepress/theme/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ export default {
1717
return h(DefaultTheme.Layout, null, {
1818
'layout-top': () =>
1919
h(defineAsyncComponent(() => import('./components/shared/Banner.vue'))),
20+
// 'aside-ads-before' : () =>
21+
// h(defineAsyncComponent(() => import('./components/shared/GPTLink.vue'))),
2022
});
2123
},
2224
};

src/public/sponsors.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,17 @@
1616
"url": "https://www.digitalocean.com/",
1717
"img": "https://avatars.githubusercontent.com/u/4650108?s=200&v=4"
1818
},
19-
{
20-
"name": "JetBrains",
21-
"url": "https://www.jetbrains.com/",
22-
"img": "https://avatars.githubusercontent.com/u/878437?s=200&v=4"
23-
},
2419
{
2520
"name": "Terry",
2621
"url": "https://github.com/terrybr",
2722
"img": "https://avatars.githubusercontent.com/u/378788?v=4"
23+
}
24+
],
25+
"pastSponsors": [
26+
{
27+
"name": "JetBrains",
28+
"url": "https://www.jetbrains.com/",
29+
"img": "https://avatars.githubusercontent.com/u/878437?s=200&v=4"
2830
},
2931
{
3032
"name": "Vano",

src/support.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,16 @@ You can join our [Premium Sponsorship 🍁](https://opencollective.com/leaf/cont
3838
- Mention in every release annoucement
3939
- Dedicated first priority support from the Leaf team.
4040

41-
## Past/Present Sponsors
41+
## Our Sponsors
4242

4343
We are grateful to all our sponsors, both past and present for their generous support 💚
4444

4545
<SponsorGroup group="sponsor" class="w-full" />
4646

47+
And our previous sponsors:
48+
49+
<SponsorGroup group="pastSponsors" class="w-full" />
50+
4751
## Financial Reports
4852

4953
We are committed to transparency and accountability in our financial management. We publish yearly financial reports to keep our sponsors informed about how their contributions are being used. The reports are always available and contain information up to the current month. They include a breakdown of expenses, revenue, and other financial details. You can find the latest financial reports on [finance.leafphp.dev](https://finance.leafphp.dev).

0 commit comments

Comments
 (0)