Skip to content

Commit 1285d71

Browse files
authored
Merge pull request #59 from laravelcm/update-ui
Update UI
2 parents 4881678 + 222c17f commit 1285d71

File tree

6 files changed

+31
-22
lines changed

6 files changed

+31
-22
lines changed

config/torchlight.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
// We replace tabs in your code blocks with spaces in HTML. Set
2323
// the number of spaces you'd like to use per tab. Set to
2424
// `false` to leave literal tabs in the HTML.
25-
'tab_width' => 4,
25+
'tab_width' => 2,
2626

2727
// Global options to control blocks-level settings.
2828
// https://torchlight.dev/docs/options
2929
'options' => [
3030
// Turn line numbers on or off globally.
31-
'lineNumbers' => true,
31+
'lineNumbers' => false,
3232

3333
// Control the `style` attribute applied to line numbers.
3434
// 'lineNumbersStyle' => '',

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=3bd7a17ae8879cea08888521628605ff",
3-
"/css/app.css": "/css/app.css?id=5d21caca01eaa17f404f20091c9ebf17"
3+
"/css/app.css": "/css/app.css?id=e5333661248309db13cc47adc52e25de"
44
}

resources/views/articles/show.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class="inline-flex items-center py-2 px-4 border border-skin-base rounded-md sha
233233

234234
@if($next || $previous)
235235
<footer class="mt-10 border-t border-skin-light lg:hidden">
236-
<div class="space-y-8 py-8 sm:flex sm:items-center sm:space-y-0">
236+
<div class="space-y-8 py-8 sm:flex sm:items-center sm:justify-between sm:space-y-0">
237237
@if($next)
238238
<div>
239239
<h2 class="text-xs leading-5 tracking-wide uppercase text-skin-base">Article suivant</h2>

resources/views/layouts/footer.blade.php

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -48,27 +48,35 @@
4848
</div>
4949
</div>
5050
<div class="mt-12 lg:mt-0">
51-
<h3 class="text-sm font-semibold text-skin-muted tracking-wider uppercase">
52-
{{ __('Rejoignez nous') }}
53-
</h3>
54-
<p class="mt-4 text-base text-skin-base">
55-
{{ __('Rejoignez notre newsletter recevez des tutoriels, articles et podcasts sur le design et la programmation web.') }}
56-
</p>
57-
<form aria-labelledby="newsletter-headline" action="https://laravelcm.us4.list-manage.com/subscribe/post?u=0642d391e4785535c232a8c66&id=6ff87af677" method="POST" id="mc-embedded-subscribe-form" class="mt-4 sm:flex" name="mc-embedded-subscribe-form" target="_blank" novalidate>
58-
<div class="w-full">
59-
<x-email id="mce-EMAIL" name="EMAIL" autocomplete="email" required placeholder="{{ __('Entrer votre adresse email') }}" aria-label="{{ __('Adresse E-mail') }}" class="w-full block" />
60-
<input type="hidden" name="b_0642d391e4785535c232a8c66_6ff87af677" tabindex="-1" value="">
61-
</div>
62-
<div class="mt-3 rounded-md sm:mt-0 sm:ml-3 sm:shrink-0">
63-
<x-button type="submit" class="block w-full">
64-
{{__('S\'inscrire')}}
65-
</x-button>
66-
</div>
67-
</form>
51+
<div class="sm:max-w-lg lg:max-w-none">
52+
<h3 class="text-sm font-semibold text-skin-muted tracking-wider uppercase">
53+
{{ __('Rejoignez nous') }}
54+
</h3>
55+
<p class="mt-4 text-base text-skin-base">
56+
{{ __('Rejoignez notre newsletter recevez des tutoriels, articles et podcasts sur le design et la programmation web.') }}
57+
</p>
58+
<form aria-labelledby="newsletter-headline" action="https://laravelcm.us4.list-manage.com/subscribe/post?u=0642d391e4785535c232a8c66&id=6ff87af677" method="POST" id="mc-embedded-subscribe-form" class="mt-4 sm:flex" name="mc-embedded-subscribe-form" target="_blank" novalidate>
59+
<div class="w-full">
60+
<x-email id="mce-EMAIL" name="EMAIL" autocomplete="email" required placeholder="{{ __('Entrer votre adresse email') }}" aria-label="{{ __('Adresse E-mail') }}" class="w-full block" />
61+
<input type="hidden" name="b_0642d391e4785535c232a8c66_6ff87af677" tabindex="-1" value="">
62+
</div>
63+
<div class="mt-3 rounded-md sm:mt-0 sm:ml-3 sm:shrink-0">
64+
<x-button type="submit" class="block w-full">
65+
{{__('S\'inscrire')}}
66+
</x-button>
67+
</div>
68+
</form>
69+
</div>
6870
<p class="mt-6 text-base text-skin-base">
6971
{{ __('Ou intégrez nos différentes plateformes de communication') }}
7072
</p>
7173
<div class="mt-4 sm:flex sm:items-center sm:space-x-4">
74+
<a href="{{ route('discord') }}" class="inline-flex items-center px-4 py-2 text-base text-skin-base font-medium bg-skin-body hover:bg-skin-card-muted rounded-md">
75+
<svg class="h-5 w-5 mr-2" fill="#5865F2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 146 146">
76+
<path d="M107.75 125.001s-4.5-5.375-8.25-10.125c16.375-4.625 22.625-14.875 22.625-14.875-5.125 3.375-10 5.75-14.375 7.375-6.25 2.625-12.25 4.375-18.125 5.375-12 2.25-23 1.625-32.375-.125-7.125-1.375-13.25-3.375-18.375-5.375-2.875-1.125-6-2.5-9.125-4.25-.375-.25-.75-.375-1.125-.625-.25-.125-.375-.25-.5-.375-2.25-1.25-3.5-2.125-3.5-2.125s6 10 21.875 14.75c-3.75 4.75-8.375 10.375-8.375 10.375-27.625-.875-38.125-19-38.125-19 0-40.25 18-72.875 18-72.875 18-13.5 35.125-13.125 35.125-13.125l1.25 1.5c-22.5 6.5-32.875 16.375-32.875 16.375s2.75-1.5 7.375-3.625c13.375-5.875 24-7.5 28.375-7.875.75-.125 1.375-.25 2.125-.25 7.625-1 16.25-1.25 25.25-.25 11.875 1.375 24.625 4.875 37.625 12 0 0-9.875-9.375-31.125-15.875l1.75-2S110 19.626 128 33.126c0 0 18 32.625 18 72.875 0 0-10.625 18.125-38.25 19zM49.625 66.626c-7.125 0-12.75 6.25-12.75 13.875s5.75 13.875 12.75 13.875c7.125 0 12.75-6.25 12.75-13.875.125-7.625-5.625-13.875-12.75-13.875zm45.625 0c-7.125 0-12.75 6.25-12.75 13.875s5.75 13.875 12.75 13.875c7.125 0 12.75-6.25 12.75-13.875s-5.625-13.875-12.75-13.875z" fill-rule="nonzero"></path>
77+
</svg>
78+
Discord
79+
</a>
7280
<a href="{{ route('slack') }}" class="inline-flex items-center px-4 py-2 text-base text-skin-base font-medium bg-skin-body hover:bg-skin-card-muted rounded-md">
7381
<svg class="h-5 w-5 mr-2" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
7482
<g clip-path="url(#clip0)" fill-rule="evenodd" clip-rule="evenodd">

routes/web.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
'telegram' => 'https://t.me/laravelcameroun',
102102
'linkedin' => 'https://www.linkedin.com/company/laravel-cameroun',
103103
'github' => 'https://github.com/laravelcm',
104+
'discord' => 'https://discord.gg/KNp6brbyVD',
104105
'youtube' => 'https://www.youtube.com/channel/UCbQPQ8q31uQmuKtyRnATLSw',
105106
]);
106107

0 commit comments

Comments
 (0)