Skip to content

Commit cf0de41

Browse files
authored
Merge pull request #46 from laravelcm/add-coming-soon-flag
♻️ Ajout des tag en pieds de page
2 parents cdb66a2 + 8e336aa commit cf0de41

File tree

7 files changed

+43
-71
lines changed

7 files changed

+43
-71
lines changed

public/css/app.css

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/app.js

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/js/app.js.LICENSE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Fuse.js v3.4.6 - Lightweight fuzzy-search (http://fusejs.io)
2+
* Fuse.js v3.4.5 - Lightweight fuzzy-search (http://fusejs.io)
33
*
44
* Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me)
55
* All Rights Reserved. Apache Software License 2.0
@@ -22,4 +22,4 @@ See the Apache Version 2.0 License for specific language governing permissions
2222
and limitations under the License.
2323
***************************************************************************** */
2424

25-
/*! choices.js v9.1.0 | © 2021 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
25+
/*! choices.js v9.0.1 | © 2019 Josh Johnson | https://github.com/jshjohnson/Choices#readme */

public/mix-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"/js/app.js": "/js/app.js?id=3bd7a17ae8879cea08888521628605ff",
3-
"/css/app.css": "/css/app.css?id=89e4f1f71a090dfd4a24efae763e948f"
2+
"/js/app.js": "/js/app.js?id=597a05523a083bbacbbf",
3+
"/css/app.css": "/css/app.css?id=eb9823f4c4146fcf380e"
44
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@props(['title', 'url', 'soon' => false])
2+
3+
<li>
4+
<a href="{{ $url }}" class="inline-flex items-center text-base text-skin-base hover:text-skin-menu-hover" title="{{ $title }}">
5+
{{ __($title) }}
6+
@if($soon)
7+
<span class="inline-flex ml-2 text-xs leading-4 text-green-800 bg-green-100 py-0.5 px-1.5 rounded-full">Bientôt</span>
8+
@endif
9+
</a>
10+
</li>

resources/views/layouts/_nav.blade.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class="absolute z-10 -ml-4 mt-3 transform w-screen max-w-md lg:max-w-3xl lg:ml-0
5151
{{ __('Snippets') }}
5252
</p>
5353
<p class="mt-1 text-sm font-mono text-skin-base font-normal">
54-
{{ __('Créer et partagez des codes sources publiquement accéssible par tous.') }}
54+
{{ __('Créer et partagez des codes sources publiquement accessible par tous.') }}
5555
</p>
5656
</div>
5757
</a>
@@ -79,8 +79,9 @@ class="absolute z-10 -ml-4 mt-3 transform w-screen max-w-md lg:max-w-3xl lg:ml-0
7979
</svg>
8080
</div>
8181
<div class="ml-4">
82-
<p class="text-base font-sans font-medium text-skin-inverted">
82+
<p class="inline-flex items-center text-base font-sans font-medium text-skin-inverted">
8383
{{ __('Podcasts') }}
84+
<span class="inline-flex ml-2 text-xs leading-4 text-green-800 bg-green-100 py-0.5 px-1.5 rounded-full">Bientôt</span>
8485
</p>
8586
<p class="mt-1 text-sm font-mono text-skin-base font-normal">
8687
{{ __('Toutes les discussions sur le développement de Laravel et PHP.') }}
@@ -123,8 +124,9 @@ class="absolute z-10 -ml-4 mt-3 transform w-screen max-w-md lg:max-w-3xl lg:ml-0
123124
<x-heroicon-o-briefcase class="h-6 w-6" />
124125
</div>
125126
<div class="ml-4">
126-
<p class="text-base font-sans font-medium text-skin-inverted">
127+
<p class="inline-flex items-center text-base font-sans font-medium text-skin-inverted">
127128
{{ __('Jobs') }}
129+
<span class="inline-flex ml-2 text-xs leading-4 text-green-800 bg-green-100 py-0.5 px-1.5 rounded-full">Bientôt</span>
128130
</p>
129131
<p class="mt-1 text-sm font-mono text-skin-base font-normal">
130132
{{ __('Les offres pour développeurs Laravel dans la zone CEMAC.') }}
@@ -312,6 +314,7 @@ class="origin-top-right absolute right-0 mt-2 w-60 rounded-md shadow-lg py-1 bg-
312314
<path d="M12 3c-4.963 0-9 4.037-9 9 0 3.993 2.614 7.387 6.221 8.561a42.41 42.41 0 0 1-.228-1.38C6.189 18.003 4.214 15.227 4.214 12c0-4.293 3.493-7.785 7.786-7.785 4.293 0 7.785 3.492 7.785 7.785 0 3.174-1.909 5.91-4.64 7.122-.071.492-.152.968-.229 1.393C18.452 19.3 21 15.942 21 12c0-4.963-4.038-9-9-9z" />
313315
</svg>
314316
{{ __('Podcasts') }}
317+
<span class="inline-flex ml-2 text-xs leading-4 text-green-800 bg-green-100 py-0.5 px-1.5 rounded-full">Bientôt</span>
315318
</a>
316319

317320
<a href="#" class="flex items-center text-skin-base">
@@ -329,6 +332,7 @@ class="origin-top-right absolute right-0 mt-2 w-60 rounded-md shadow-lg py-1 bg-
329332
<a href="#" class="flex items-center text-skin-base">
330333
<x-heroicon-o-briefcase class="h-6 w-6 mr-3 -ml-1" />
331334
{{ __('Jobs') }}
335+
<span class="inline-flex ml-2 text-xs leading-4 text-green-800 bg-green-100 py-0.5 px-1.5 rounded-full">Bientôt</span>
332336
</a>
333337

334338
</div>

resources/views/layouts/footer.blade.php

Lines changed: 16 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -18,41 +18,15 @@
1818
</h3>
1919
<ul class="mt-4 space-y-4">
2020

21-
<li>
22-
<a href="{{ route('about') }}" class="text-base text-skin-base hover:text-skin-menu-hover">
23-
{{ __('A propos') }}
24-
</a>
25-
</li>
26-
27-
<li>
28-
<a href="#" class="text-base text-skin-base hover:text-skin-menu-hover">
29-
{{ __('Podcasts') }}
30-
</a>
31-
</li>
32-
33-
<li>
34-
<a href="#" class="text-base text-skin-base hover:text-skin-menu-hover">
35-
{{ __('Tags') }}
36-
</a>
37-
</li>
38-
39-
<li>
40-
<a href="#" class="text-base text-skin-base hover:text-skin-menu-hover">
41-
{{ __('Jobs') }}
42-
</a>
43-
</li>
44-
45-
<li>
46-
<a href="#" class="text-base text-skin-base hover:text-skin-menu-hover">
47-
{{ __('Sponsors') }}
48-
</a>
49-
</li>
50-
51-
<li>
52-
<a href="https://github.com/caneco/laravel-country-logomarks/blob/main/src/cm/README.md" class="text-base text-skin-base hover:text-skin-menu-hover">
53-
{{ __('Branding') }}
54-
</a>
55-
</li>
21+
<x-footer-link title="A propos" :url="route('about')" />
22+
23+
<x-footer-link title="Podcasts" url="#" soon />
24+
25+
<x-footer-link title="Jobs" url="#" soon />
26+
27+
<x-footer-link title="Sponsors" url="#" />
28+
29+
<x-footer-link title="Branding" url="https://github.com/caneco/laravel-country-logomarks/blob/main/src/cm/README.md" />
5630

5731
</ul>
5832
</div>
@@ -62,29 +36,13 @@
6236
</h3>
6337
<ul class="mt-4 space-y-4">
6438

65-
<li>
66-
<a href="{{ route('terms') }}" class="text-base text-skin-base hover:text-skin-menu-hover">
67-
{{ __('Conditions d’utilisation') }}
68-
</a>
69-
</li>
70-
71-
<li>
72-
<a href="{{ route('privacy') }}" class="text-base text-skin-base hover:text-skin-menu-hover">
73-
{{ __('Confidentialité') }}
74-
</a>
75-
</li>
76-
77-
<li>
78-
<a href="{{ route('rules') }}" class="text-base text-skin-base hover:text-skin-menu-hover">
79-
{{ __('Code de conduite') }}
80-
</a>
81-
</li>
82-
83-
<li>
84-
<a href="{{ route('faq') }}" class="text-base text-skin-base hover:text-skin-menu-hover">
85-
{{ __('FAQ') }}
86-
</a>
87-
</li>
39+
<x-footer-link title="Conditions d’utilisation" :url="route('terms')" />
40+
41+
<x-footer-link title="Confidentialité" :url="route('privacy')" />
42+
43+
<x-footer-link title="Code de conduite" :url="route('rules')" />
44+
45+
<x-footer-link title="FAQ" :url="route('faq')" />
8846

8947
</ul>
9048
</div>

0 commit comments

Comments
 (0)