Skip to content

Commit 6c2a695

Browse files
committed
Improve docs
1 parent 4bd01c3 commit 6c2a695

4 files changed

Lines changed: 21 additions & 16 deletions

File tree

public/css/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/mix-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"/js/app.js": "/js/app.js?id=bb48dddfdf105947a2169ca587e41b9c",
3-
"/css/app.css": "/css/app.css?id=af85d234db3cb6732133695a1b7f97e4"
3+
"/css/app.css": "/css/app.css?id=d80ab356bb15a880f347129945b050f0"
44
}

resources/css/app.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,18 +165,19 @@ main, .main {
165165

166166
blockquote {
167167
//background: #F9F9FE;
168-
background: rgba(240, 235, 227, 0.8);
168+
//background: rgba(240, 235, 227, 0.8);
169169
border-radius: $border-radius;
170170
display: flex;
171171
padding: 1.5em;
172172
position: relative;
173173
margin: 2em 0;
174174
@extend .text-wrap;
175175
@extend .text-break;
176+
border: 1px dashed rgba(0, 0, 0, 0.35);
176177
gap: 1em;
177178

178179
&:before{
179-
background-color: #ffffff;
180+
background-color: #fbf9f6;
180181
color: rgb(181 105 89);
181182
content: "!";
182183
width: 1.5em;
@@ -309,3 +310,7 @@ main > h2:first-of-type {
309310
transform: translateY(-100%);
310311
}
311312
}
313+
314+
.text-balance {
315+
text-wrap: balance;
316+
}

resources/views/welcome.blade.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ class="bi bi-book" viewBox="0 0 16 16">
364364
</div>
365365

366366
<h3 class="display-5 mb-3">Easy to use</h3>
367-
<p class="fw-normal">
367+
<p class="fw-normal text-balance">
368368
Request and response format is unified and easy to use, allowing even beginners to work.
369369
Use any transport you prefer, including <code>HTTP</code>, <code>WebSocket</code>, <code>Server Sent Events</code>, or others.
370370
</p>
@@ -428,7 +428,7 @@ class="bi bi-book" viewBox="0 0 16 16">
428428
</div>
429429
<h3 class="fw-normal ms-3">Batch</h3>
430430
</div>
431-
<p class="pe-lg-5">
431+
<p class="pe-lg-5 fw-normal text-balance">
432432
Ability to send several requests in one API call. This helps reduce network costs and speed up your application.
433433
</p>
434434
<p class="fw-normal small text-muted">Learn more about <a href="/docs/batch">batch requests</a>.</p>
@@ -445,7 +445,7 @@ class="bi bi-book" viewBox="0 0 16 16">
445445
</div>
446446
<h3 class="fw-normal ms-3">Notification</h3>
447447
</div>
448-
<p class="pe-lg-5">
448+
<p class="pe-lg-5 fw-normal text-balance">
449449
Send requests that do not need to be answered. Customers won't have to wait for the request to actually be fulfilled.
450450
</p>
451451
<p class="fw-normal small text-muted">Learn more about <a href="/docs/notifications">notifications requests</a>.</p>
@@ -477,7 +477,7 @@ class="bi bi-book" viewBox="0 0 16 16">
477477
</div>
478478
<h3 class="fw-normal ms-3 mb-0">Web</h3>
479479
</div>
480-
<p class="mb-lg-0">
480+
<p class="mb-lg-0 text-balance">
481481
Build the API to your React, Vue.js and Angular web apps.
482482
</p>
483483
</div>
@@ -492,7 +492,7 @@ class="bi bi-book" viewBox="0 0 16 16">
492492
</div>
493493
<h3 class="fw-normal ms-3 mb-0">Mobile</h3>
494494
</div>
495-
<p class="mb-lg-0">
495+
<p class="mb-lg-0 text-balance">
496496
Communication from your native Android and iOS apps.
497497
</p>
498498
</div>
@@ -505,7 +505,7 @@ class="bi bi-book" viewBox="0 0 16 16">
505505
</div>
506506
<h3 class="fw-normal ms-3 mb-0">IoT</h3>
507507
</div>
508-
<p class="mb-lg-0">Something electronic on Rust, Go, C, Java? No problem at all. </p>
508+
<p class="mb-lg-0 text-balance">Something electronic on Rust, Go, C, Java? No problem at all. </p>
509509
</div>
510510
</div>
511511
</div>
@@ -548,7 +548,7 @@ class="bi bi-book" viewBox="0 0 16 16">
548548
</div>
549549

550550
<h3 class="display-5 mb-3">Binding</h3>
551-
<p class="fw-normal">
551+
<p class="fw-normal text-balance">
552552
Bind values of query parameters to various objects such as <code>Eloquent</code> models, <code>Enums</code> and others, which allows you to work with data in your project quickly and conveniently.
553553
</p>
554554

@@ -567,7 +567,7 @@ class="bi bi-book" viewBox="0 0 16 16">
567567
</div>
568568
<h3 class="fw-normal ms-3">Validation</h3>
569569
</div>
570-
<p class="pe-lg-5">
570+
<p class="pe-lg-5 text-balance">
571571
Automatically validates incoming requests to ensure they meet your specifications. You can also customize the error messages that are returned if the validation fails.
572572
</p>
573573
<p class="fw-normal small text-muted">Learn more about <a href="/docs/requests">request validation</a>.</p>
@@ -585,7 +585,7 @@ class="bi bi-book" viewBox="0 0 16 16">
585585
</div>
586586
<h3 class="fw-normal ms-3">Tests</h3>
587587
</div>
588-
<p class="pe-lg-5">
588+
<p class="pe-lg-5 text-balance">
589589
Add tests with ease using our developer friendly API testing tool.
590590
</p>
591591

@@ -617,7 +617,7 @@ class="bi bi-book" viewBox="0 0 16 16">
617617
</div>
618618
<h3 class="fs-2 fw-normal ms-3">Handbook</h3>
619619
</div>
620-
<p>
620+
<p class="text-balance">
621621
Documentation and examples for a quick and successful implementation.
622622
</p>
623623
<a href="/docs" class="icon-link d-flex align-items-center text-body-secondary">
@@ -641,7 +641,7 @@ class="bi bi-arrow-right-short ms-1" viewBox="0 0 16 16">
641641
</div>
642642
<h3 class="fs-2 fw-normal ms-3">UI Mastery</h3>
643643
</div>
644-
<p>Harness Orchid, the user-friendly Laravel admin panel, to control your APIs effortlessly.</p>
644+
<p class="text-balance">Harness Orchid, the user-friendly Laravel admin panel, to control your APIs effortlessly.</p>
645645
<a href="https://orchid.software/" class="icon-link d-flex align-items-center text-body-secondary" target="_blank">
646646
<span>Get Orchid</span>
647647
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-arrow-right-short ms-1" viewBox="0 0 16 16">
@@ -662,7 +662,7 @@ class="bi bi-github" viewBox="0 0 16 16">
662662
</div>
663663
<h3 class="fs-2 fw-normal ms-3">Source</h3>
664664
</div>
665-
<p>Head over to GitHub for code, bug reports, and pull requests.</p>
665+
<p class="text-balance">Head over to GitHub for code, bug reports, and pull requests.</p>
666666
<a href="https://github.com/sajya"
667667
class="icon-link d-flex align-items-center text-body-secondary" target="_blank">
668668
<span>Source Code</span>

0 commit comments

Comments
 (0)