Skip to content

💄 Update Header and menu repsonsive design #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/css/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"/js/app.js": "/js/app.js?id=857207f48168eb5cc9d90ca0a9e71d34",
"/css/app.css": "/css/app.css?id=338c3e708863942bd81d20b113c989dc"
"/css/app.css": "/css/app.css?id=62c6ce0b60e40022941241d139d8ad65"
}
14 changes: 8 additions & 6 deletions resources/views/components/layouts/header.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,16 @@ class="origin-top absolute right-0 mt-2 w-56 rounded-md shadow-lg py-1 bg-skin-m
style="display: none;">
<div class="py-1" role="none">
<a href="{{ route('articles.new') }}" class="flex items-center py-1.5 px-3 text-sm text-skin-base hover:bg-skin-primary hover:text-white font-normal" role="menuitem" tabindex="-1">
Nouvel article
{{ __('Nouvel article') }}
</a>
<a href="{{ route('forum.new') }}" class="flex items-center py-1.5 px-3 text-sm text-skin-base hover:bg-skin-primary hover:text-white font-normal" role="menuitem" tabindex="-1">
Nouveau sujet
{{ __('Nouveau sujet') }}
</a>
<a href="{{ route('discussions.new') }}" class="flex items-center py-1.5 px-3 text-sm text-skin-base hover:bg-skin-primary hover:text-white font-normal" role="menuitem" tabindex="-1">
Nouvelle discussion
{{ __('Nouvelle discussion') }}
</a>
<a href="#" class="flex items-center py-1.5 px-3 text-sm text-skin-base hover:bg-skin-primary hover:text-white font-normal" role="menuitem" tabindex="-1">
Nouveau tutoriel
{{ __('Nouveau tutoriel') }}
</a>
</div>
</div>
Expand Down Expand Up @@ -269,25 +269,27 @@ class="origin-top absolute right-0 mt-2 w-56 rounded-md shadow-lg py-1 bg-skin-m
<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" />
</svg>
{{ __('Podcasts') }}
<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>
<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>
</a>

<a href="#" class="flex items-center text-skin-base">
<x-heroicon-o-badge-check class="h-6 w-6 mr-3 -ml-1" />
{{ __('Badges') }}
<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>
</a>

<a href="#" class="flex items-center text-yellow-500 hover:text-yellow-600">
<svg class="h-6 w-6 mr-3 -ml-1" fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M23 9.04c0-1.249-1.051-2.27-2.335-2.27-1.285 0-2.336 1.021-2.336 2.27 0 .703.35 1.36.888 1.77l-3.083 2.29-2.99-3.857c.724-.386 1.215-1.135 1.215-1.975C14.359 6.021 13.308 5 12.023 5 10.74 5 9.688 6.021 9.688 7.27c0 .839.467 1.588 1.191 1.974L7.633 13.1 4.76 10.832c.537-.408.91-1.066.91-1.793 0-1.248-1.05-2.269-2.335-2.269C2.051 6.77 1 7.791 1 9.04c0 1.111.817 2.042 1.915 2.223l1.121 5.696v2.36c0 .386.304.681.7.681h14.527c.397 0 .7-.295.7-.68v-2.36l1.122-5.697C22.183 11.082 23 10.151 23 9.04zm-2.335-.908c.513 0 .934.408.934.907 0 .5-.42.908-.934.908s-.935-.408-.935-.908c0-.499.42-.907.934-.907zM12 6.339c.514 0 .934.408.934.908 0 .499-.42.907-.934.907s-.934-.408-.934-.907c0-.5.42-.908.934-.908zm-4.18 8.396a.727.727 0 0 0 .467-.25l3.69-4.47 3.456 4.448c.117.136.28.25.467.272a.683.683 0 0 0 .514-.136l3.036-2.247-.77 3.858H5.32l-.747-3.79 2.733 2.156c.14.114.327.182.514.16zM2.4 9.04c0-.499.42-.907.934-.907s.935.408.935.907c0 .5-.42.908-.935.908-.513 0-.934-.408-.934-.908zm3.036 9.6v-1.067h13.126v1.066H5.437z" />
</svg>
{{ __('Devenez Prémium') }}
<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>
</a>

<a href="#" class="flex items-center text-skin-base">
<x-heroicon-o-briefcase class="h-6 w-6 mr-3 -ml-1" />
{{ __('Jobs') }}
<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>
<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>
</a>

</div>
Expand Down
13 changes: 7 additions & 6 deletions resources/views/home.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,25 @@
</svg>
</div>
</div>
<div class="mx-auto max-w-3xl pb-16 pt-28 sm:pt-32 lg:pt-40">
<div class="mx-auto max-w-3xl px-4 pb-16 pt-28 sm:pt-32 lg:pt-40">
<div class="flex justify-center">
<a href="{{ route('sponsors') }}" class="inline-flex items-center p-1 pr-2 font-sans text-white bg-green-700 rounded-full sm:text-base lg:text-sm xl:text-base">
<span class="hidden sm:block px-3 py-0.5 text-white text-xs font-semibold leading-5 uppercase tracking-wide bg-flag-green rounded-full">
<span class="px-3 py-0.5 text-white text-xs font-semibold leading-5 uppercase tracking-wide bg-flag-green rounded-full">
⚡️ {{ __('Sponsor') }}
</span>
<span class="ml-4 text-sm">{{ __('Soutenez Laravel Cameroun aujourd\'hui en sponsorisant') }}</span>
<span class="ml-4 hidden text-sm sm:block">{{ __('Soutenez Laravel Cameroun aujourd\'hui en sponsorisant') }}</span>
<span class="ml-4 text-sm sm:hidden">{{ __('Soutenez Laravel Cameroun') }}</span>
<x-heroicon-s-chevron-right class="w-5 h-5 ml-2 text-white" />
</a>
</div>
<div class="mt-10 text-center">
<h1 class="text-4xl font-medium tracking-tight font-heading text-skin-primary sm:leading-none lg:text-6xl">
{{ __('Laravel Cameroun') }}
</h1>
<p class="mt-3 text-base text-skin-inverted sm:mt-5 sm:text-xl lg:text-lg xl:text-xl">
<p class="mt-3 text-base text-skin-inverted sm:mt-5 sm:text-lg lg:text-xl">
{{ __('Bienvenue sur le site de la communauté des développeurs PHP et Laravel du Cameroun, le plus gros rassemblement de développeurs au Cameroun.') }}
</p>
<div class="mt-10 flex items-center justify-center gap-x-6">
<div class="mt-10 sm:flex sm:items-center sm:justify-center gap-x-6">
@auth
<x-button :link="route('forum.new')" class="w-full text-base font-medium sm:w-auto">
{{ __('Lancer un thread') }}
Expand All @@ -47,7 +48,7 @@
</div>
</div>
</div>
<div class="max-w-7xl mx-auto py-10 lg:py-12 xl:pb-14">
<div class="max-w-7xl mx-auto px-4 py-10 lg:py-12 xl:pb-14">
<p class="text-center text-lg font-medium leading-8 text-skin-inverted-muted">
{{ __('Nous travaillons avec d’autres communautés et startups') }}
</p>
Expand Down