Skip to content

Commit 8f1f400

Browse files
committed
wip
1 parent c38e116 commit 8f1f400

File tree

28 files changed

+167
-110
lines changed

28 files changed

+167
-110
lines changed

resources/css/app.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,3 +279,21 @@ nav.docs-navigation > ul > li > ul {
279279
display: block;
280280
overflow-x: auto;
281281
}
282+
283+
/*
284+
Blur and dim the lines that don't have the `.line-focus` class,
285+
but are within a code block that contains any focus lines.
286+
*/
287+
.torchlight.has-focus-lines .line:not(.line-focus) {
288+
transition: filter 0.35s, opacity 0.35s;
289+
filter: blur(.095rem);
290+
opacity: .65;
291+
}
292+
293+
/*
294+
When the code block is hovered, bring all the lines into focus.
295+
*/
296+
.torchlight.has-focus-lines:hover .line:not(.line-focus) {
297+
filter: blur(0px);
298+
opacity: 1;
299+
}

resources/views/docs/desktop/1/getting-started/status.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ your ideas and questions through the [forum](https://github.com/orgs/nativephp/d
1717
[raising issues](https://github.com/nativephp/laravel/issues/new/choose)/reporting bugs, and discussing on
1818
[Discord]({{ $discordLink }}).
1919

20-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
20+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
2121

2222
#### Can you sponsor?
2323

resources/views/docs/desktop/2/getting-started/status.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ your ideas and questions through the [forum](https://github.com/orgs/nativephp/d
1717
[raising issues](https://github.com/nativephp/desktop/issues/new/choose)/reporting bugs, and discussing on
1818
[Discord]({{ $discordLink }}).
1919

20-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
20+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
2121

2222
#### Can you sponsor?
2323

resources/views/docs/mobile/1/concepts/databases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Generating tokens is cheap; leaking personal customer data can get _very_ expens
124124

125125
Use industry-standard tools like OAuth-2.0-based providers, Laravel Passport, or Laravel Sanctum.
126126

127-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
127+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
128128

129129
[Laravel Sanctum](https://laravel.com/docs/sanctum) is an ideal solution for API authentication between your mobile app and Laravel backend.
130130
It provides secure, token-based authentication without the complexity of OAuth.

resources/views/docs/mobile/1/concepts/push-notifications.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ your app will receive the token.
1717
When you want to send a notification to that user, you pass this token along with a request to the FCM service and
1818
Firebase handles sending the message to the right device.
1919

20-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
20+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
2121

2222
FCM automatically routes notifications through Apple's Push Notification Service (APNS) behind the scenes - you don't
2323
need to configure APNS separately. You only need to configure Firebase with access to your APNS account.
@@ -86,7 +86,7 @@ class PushNotifications extends Component
8686
Once you have a token, you may use it from your server-side applications to trigger Push Notifications directly to your
8787
user's device.
8888

89-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
89+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
9090

9191
The server-side implementation is out of scope for this documentation.
9292

resources/views/docs/mobile/1/getting-started/development.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ But when you want to test _native_ features, then you must run your app on a rea
1313
Whether you run your native app on an emulated or real device, it will always require compilation after changes have
1414
been made.
1515

16-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
16+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
1717

1818
#### Platforms
1919

@@ -69,7 +69,7 @@ php artisan native:run --build=debug
6969
This single command takes care of everything and allows you to run new builds of your application without having to
7070
learn any new editors or platform-specific tools.
7171

72-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
72+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
7373

7474
#### Rule of thumb
7575

@@ -111,7 +111,7 @@ changes to any files in your Laravel app, the web view will be reloaded and your
111111

112112
The proper way to implement this is to first `run` your app on your device/emulator, then start HMR with `npm run dev` then in a separate terminal run the `native:watch` command. This will reload any Blade/Livewire files as well as any recompiled assets (css/js etc).
113113

114-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
114+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
115115

116116
#### Note
117117

@@ -186,7 +186,7 @@ submit it to the stores for approval and distribution.
186186
- [Google Play Store submission guidelines](https://support.google.com/googleplay/android-developer/answer/9859152?hl=en-GB#zippy=%2Cmaximum-size-limit)
187187
- [Apple App Store submission guidelines](https://developer.apple.com/ios/submit/)
188188

189-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
189+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
190190

191191
#### Skip the prompts
192192

resources/views/docs/mobile/1/getting-started/environment-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Windows is with [Laravel Herd](https://herd.laravel.com). It's fast and free!
1414

1515
## iOS Requirements
1616

17-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
17+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
1818

1919
#### Heads up!
2020

@@ -70,7 +70,7 @@ to develop and test your apps on a Simulator. However, you will need to enroll w
7070
2. Android SDK with API 33 or higher
7171
3. **Windows only**: You must have [7zip](https://www.7-zip.org/) installed.
7272

73-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
73+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
7474

7575
#### Note
7676

resources/views/docs/mobile/1/getting-started/installation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Thank you for supporting the project in this way! 🙏
2222

2323
## Install the Composer package
2424

25-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
25+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
2626

2727
#### We love Laravel
2828

@@ -46,13 +46,13 @@ Then run:
4646
```shell
4747
composer require nativephp/mobile
4848
```
49-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
49+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
5050

5151
If you experience a cURL error when running this command, make sure you are running PHP 8.3+ in your CLI.
5252

5353
</aside>
5454

55-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
55+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
5656

5757
#### Windows Performance Tip
5858

@@ -81,7 +81,7 @@ NATIVEPHP_APP_VERSION_CODE="1"
8181
Find out more about these options in
8282
[Configuration](/docs/getting-started/configuration#codenativephp-app-idcode).
8383

84-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
84+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
8585

8686
#### Setting your Apple Developer Team ID
8787

@@ -108,7 +108,7 @@ your application relies on the `intl` PHP extension.
108108

109109
If you don't need `intl` or are not sure, choose the default, non-ICU builds.
110110

111-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
111+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
112112

113113
#### Planning to use Filament?
114114

resources/views/docs/mobile/1/getting-started/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ order: 2
55

66
## Let's go!
77

8-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
8+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
99

1010
#### License Required!
1111

resources/views/docs/mobile/1/getting-started/roadmap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ We're working on adding more and more features, including (in no particular orde
3333
- Ads
3434
- In-app billing
3535

36-
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">
36+
<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-gradient-to-tl from-transparent to-violet-100/75 px-5 ring-1 ring-black/5 dark:from-slate-900/30 dark:to-indigo-900/35">
3737

3838
#### Something missing?
3939

0 commit comments

Comments
 (0)