10000 feat: early adopter program · SRWieZ/fork-nativephp.com@432cc13 · GitHub
[go: up one dir, main page]

Skip to content

Commit 432cc13

Browse files
committed
feat: early adopter program
1 parent b34e25b commit 432cc13

15 files changed

+177
-62
lines changed

resources/assets/background-pattern-dark.svg

Lines changed: 1 addition & 0 deletions
Loading

resources/assets/background-pattern.svg

Lines changed: 1 addition & 0 deletions
Loading

resources/css/app.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@
1111
backdrop-filter: blur(20px);
1212
}
1313

14+
.background-pattern {
15+
background-image: url('../assets/background-pattern.svg');
16+
}
17+
18+
@media(prefers-color-scheme: dark) {
19+
.background-pattern {
20+
background-image: url('../assets/background-pattern-dark.svg');
21+
}
22+
}
23+
1424

1525
/* Whole menu */
1626
nav ul {
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<a {{ $attributes->class(['group
2+
inline-block
3+
text-sm bg-purple-500 border-purple-600
4+
dark:border-purple-500 dark:bg-purple-700
5+
hover:bg-purple-600 dark:hover:bg-purple-800
6+
px-4 py-1.5
7+
border rounded-md
8+
font-medium
9+
text-white
10+
']) }} href="{{route('early-adopter')}}">
11+
<div class="group-hover:animate-none flex items-center gap-2"
12+
x-data="{earlyAnimated: $persist(false)}"
13+
x-init="setTimeout(() => {earlyAnimated = true}, 6000)"
14+
x-bind:class="!earlyAnimated ? 'animate-pulse' : ''"
15+
x-on:click="earlyAnimated = false"
16+
>
17+
18+
<x-icons.party-popper class="size-4"/>
19+
{{-- <x-icons.sparkles class="size-4"/>--}}
20+
{{-- <x-icons.device-mobile-phone class="size-4"/>--}}
21+
<span>Soon on iOS!</span>
22+
</div>
23+
</a>

resources/views/components/hearder-banner.blade.php

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,30 +22,17 @@ class="inline-flex items-center gap-3 transition rounded hover:text-white/80 foc
2222
<span class="sr-only">NativePHP</span>
2323
</a>
2424
<div id="docsearch"></div>
25-
<a class="group
26-
text-sm bg-purple-500 border-purple-600
27-
dark:border-purple-500 dark:bg-purple-700
28-
hover:bg-purple-600 dark:hover:bg-purple-800
29-
px-4 py-1.5
30-
border rounded-md
31-
font-medium
32-
text-white
33-
hidden lg:block" href="{{route('early-adopter')}}">
34-
<div class="group-hover:animate-none animate-pulse flex items-center gap-2">
35-
<x-icons.party-popper class="size-4"/>
36-
{{-- <x-icons.sparkles class="size-4"/>--}}
37-
{{-- <x-icons.device-mobile-phone class="size-4"/>--}}
38-
<span>Early Adopter Program</span>
39-
</div>
40-
</a>
25+
26+
<x-early-access-button class="hidden lg:block"/>
27+
4128
<div class="hidden lg:flex items-center space-x-5">
4229

4330
<a href="https://bsky.app/profile/nativephp.bsky.social" title="Bluesky">
4431
<x-icons.bluesky class="size-5 text-black dark:invert hover:text-[#00aaa6] hover:invert-0"/>
4532
</a>
4633

4734
<a href="https://discord.gg/X62tWNStZK" title="Go to discord server">
48-
<x-icons.discord class="size-5 dark:fill-white hover:fill-[#00aaa6]"/>
35+
<x-icons.discord class="size-5 text-black dark:text-white hover:text-[#00aaa6]"/>
4936
</a>
5037

5138
<a href="https://opencollective.com/nativephp" title="NativePHP on LinkedIn">
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<svg {{$attributes}} xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-open-text"><path d="M12 7v14"/><path d="M16 12h2"/><path d="M16 8h2"/><path d="M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"/><path d="M6 12h2"/><path d="M6 8h2"/></svg>
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
<svg
1+
<svg
22
{{ $attributes }}
33
viewBox="0 -28.5 256 256" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid">
44
<g>
5-
<path d="M216.856339,16.5966031 C200.285002,8.84328665 182.566144,3.2084988 164.041564,0 C161.766523,4.11318106 159.108624,9.64549908 157.276099,14.0464379 C137.583995,11.0849896 118.072967,11.0849896 98.7430163,14.0464379 C96.9108417,9.64549908 94.1925838,4.11318106 91.8971895,0 C73.3526068,3.2084988 55.6133949,8.86399117 39.0420583,16.6376612 C5.61752293,67.146514 -3.4433191,116.400813 1.08711069,164.955721 C23.2560196,181.510915 44.7403634,191.567697 65.8621325,198.148576 C71.0772151,190.971126 75.7283628,183.341335 79.7352139,175.300261 C72.104019,172.400575 64.7949724,168.822202 57.8887866,164.667963 C59.7209612,163.310589 61.5131304,161.891452 63.2445898,160.431257 C105.36741,180.133187 151.134928,180.133187 192.754523,160.431257 C194.506336,161.891452 196.298154,163.310589 198.110326,164.667963 C191.183787,168.842556 183.854737,172.420929 176.223542,175.320965 C180.230393,183.341335 184.861538,190.991831 190.096624,198.16893 C211.238746,191.588051 232.743023,181.531619 254.911949,164.955721 C260.227747,108.668201 245.831087,59.8662432 216.856339,16.5966031 Z M85.4738752,135.09489 C72.8290281,135.09489 62.4592217,123.290155 62.4592217,108.914901 C62.4592217,94.5396472 72.607595,82.7145587 85.4738752,82.7145587 C98.3405064,82.7145587 108.709962,94.5189427 108.488529,108.914901 C108.508531,123.290155 98.3405064,135.09489 85.4738752,135.09489 Z M170.525237,135.09489 C157.88039,135.09489 147.510584,123.290155 147.510584,108.914901 C147.510584,94.5396472 157.658606,82.7145587 170.525237,82.7145587 C183.391518,82.7145587 193.761324,94.5189427 193.539891,108.914901 C193.539891,123.290155 183.391518,135.09489 170.525237,135.09489 Z" fill-rule="nonzero">
6-
7-
</path>
5+
<path d="M216.856339,16.5966031 C200.285002,8.84328665 182.566144,3.2084988 164.041564,0 C161.766523,4.11318106 159.108624,9.64549908 157.276099,14.0464379 C137.583995,11.0849896 118.072967,11.0849896 98.7430163,14.0464379 C96.9108417,9.64549908 94.1925838,4.11318106 91.8971895,0 C73.3526068,3.2084988 55.6133949,8.86399117 39.0420583,16.6376612 C5.61752293,67.146514 -3.4433191,116.400813 1.08711069,164.955721 C23.2560196,181.510915 44.7403634,191.567697 65.8621325,198.148576 C71.0772151,190.971126 75.7283628,183.341335 79.7352139,175.300261 C72.104019,172.400575 64.7949724,168.822202 57.8887866,164.667963 C59.7209612,163.310589 61.5131304,161.891452 63.2445898,160.431257 C105.36741,180.133187 151.134928,180.133187 192.754523,160.431257 C194.506336,161.891452 196.298154,163.310589 198.110326,164.667963 C191.183787,168.842556 183.854737,172.420929 176.223542,175.320965 C180.230393,183.341335 184.861538,190.991831 190.096624,198.16893 C211.238746,191.588051 232.743023,181.531619 254.911949,164.955721 C260.227747,108.668201 245.831087,59.8662432 216.856339,16.5966031 Z M85.4738752,135.09489 C72.8290281,135.09489 62.4592217,123.290155 62.4592217,108.914901 C62.4592217,94.5396472 72.607595,82.7145587 85.4738752,82.7145587 C98.3405064,82.7145587 108.709962,94.5189427 108.488529,108.914901 C108.508531,123.290155 98.3405064,135.09489 85.4738752,135.09489 Z M170.525237,135.09489 C157.88039,135.09489 147.510584,123.290155 147.510584,108.914901 C147.510584,94.5396472 157.658606,82.7145587 170.525237,82.7145587 C183.391518,82.7145587 193.761324,94.5189427 193.539891,108.914901 C193.539891,123.290155 183.391518,135.09489 170.525237,135.09489 Z" fill-rule="nonzero" fill="currentColor"></path>
86
</g>
9-
</svg>
7+
</svg>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<svg {{ $attributes }} xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-gift"><rect x="3" y="8" width="18" height="4" rx="1"/><path d="M12 8v13"/><path d="M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7"/><path d="M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5"/></svg>

resources/views/components/layout.blade.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@
1616
href="https://fonts.bunny.net/css?family=be-vietnam-pro:700|inter:400,500,600|rubik:400,700"
1717
rel="stylesheet"
1818
/>
19-
19+
<script defer src="https://cdn.jsdelivr.net/npm/@alpinejs/persist@3.x.x/dist/cdn.min.js"></script>
2020
@vite(["resources/css/app.css", "resources/js/app.js"])
2121

2222
<!-- Fathom - beautiful, simple website analytics -->
2323
<script src="https://cdn.usefathom.com/script.js" data-site="HALHTNZU" defer></script>
2424
<!-- / Fathom -->
2525
</head>
26-
<body class="min-h-screen font-sans antialiased bg-white dark:bg-gray-900 dark:text-white"
26+
<body class="min-h-screen font-sans antialiased bg-white dark:bg-gray-900 dark:text-white
27+
@isset($backgroundPattern) background-pattern @endisset
28+
"
2729
x-data="{ showDocsNavigation: false }"
2830
>
2931

resources/views/components/link-button.blade.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
<a {{ $attributes->class(['
2+
inline-block
3+
w-fit
24
font-medium
3-
border border-gray-300 dark:border-gray-700 rounded-lg
5+
shadow-sm dark:shadow-white/10
6+
border border-gray-300 dark:border-transparent
7+
bg-white dark:bg-gray-700
8+
rounded-lg
49
px-4 py-2
5-
text-black dark:text-white
6-
hover:text-[#00aaa6] hover:border-[#00aaa6]/25
10+
text-black dark:text-gray-100
11+
hover:text-[#00aaa6] hover:border-[#00aaa6]/25 dark:hover:border-transparent
712
flex items-center gap-2
813
text-sm
914
']) }}>

resources/views/components/sidebar-left-navigation.blade.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
x-transition:leave-start="translate-y-0 opacity-100"
2626
x-transition:leave-end="translate-y-1 opacity-0"
2727
class="fixed top-12 left-0 z-40 w-full h-screen pt-10 pb-16 overflow-y-auto bg-white dark:bg-gray-700 mt-2 px-4 border-b border-[#00aaa6] border-opacity-50 dark:border-opacity-90">
28+
29+
<div class="mb-8 mx-auto text-center">
30+
<x-early-access-button/>
31+
</div>
32+
2833
{!! $slot !!}
2934

3035

resources/views/components/social-networks-all.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
</a>
55

66
<a href="https://discord.gg/X62tWNStZK" title="Go to discord server">
7-
<x-icons.discord class="size-5 dark:fill-white hover:fill-[#00aaa6]" />
7+
<x-icons.discord class="size-5 text-black dark:text-white hover:text-[#00aaa6]" />
88
</a>
99

1010
<a href="https://opencollective.com/nativephp" title="NativePHP on Open Collective">

resources/views/docs/1/getting-started/sponsoring.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@ goes a long way in defraying the expenses of working for free to keep this proje
2626

2727
Together, we can continue to grow NativePHP and ensure it remains a valuable tool for the community.
2828

29+
## Early Adopter of iOS & Android
30+
31+
If you are more interested in NativePHP for Mobile, you can become an early adopter. We are already working on NativePHP for iOS and could use your support to speed up the development process.
32+
33+
By giving a one-time fee of $250 or more, you will be granted early access to the first release of NativePHP for iOS and participate in the development process by providing feedback and feature requests on a private Discord channel.
34+
35+
[Become an early adopter](https://github.com/sponsors/simonhamp)
36+
37+
If you wanna learn more, there is a [dedicated page here](/early-adopter)
38+
2939
## Corporate Partners
3040

3141
If your organization is using NativePHP, we strongly encourage you to consider a Corporate Sponsorship. This level of

0 commit comments

Comments
 (0)
0