Skip to content
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

Fix/design #39

Closed
wants to merge 4 commits into from
Closed
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
8 changes: 8 additions & 0 deletions themes/next/assets/css/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@
url('../fonts/open-sans-v18-latin-italic.woff2') format('woff2'),
url('../fonts/open-sans-v18-latin-italic.woff') format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
src: local(''),
url('../fonts/open-sans-v18-latin-600.woff2') format('woff2'),
url('../fonts/open-sans-v18-latin-600.woff') format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
Expand Down
1 change: 1 addition & 0 deletions themes/next/assets/css/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module.exports = {
600: '#3e3e3e',
100: '#f5f5f5'
},
spiriit: '#3960ff',
},
minWidth: {
'350': '350px'
Expand Down
4 changes: 2 additions & 2 deletions themes/next/layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{ partial "header.html" . }}

<!-- Hero -->
<section class="relative flex items-center justify-center overflow-hidden bg-gray-400 h-600 sm:h-screen md:min-h-920 md:max-h-1080">
<img alt="" src="{{ .Site.BaseURL }}images/home-top.jpg" width="" class="absolute max-w-none h-600 sm:h-full xl:h-auto xl:max-w-full xl:top-0" draggable="false" />
<section class="relative flex items-center justify-center overflow-hidden bg-gray-400 h-600 sm:min-h-920 sm:h-screen md:max-h-1080">
<img alt="" src="{{ .Site.BaseURL }}images/home-top.jpg" width="" class="absolute max-w-none h-600 sm:h-full xl:h-auto xl:max-w-full xl:top-0 xl:w-full xl:bg-cover" draggable="false" />

<div class="absolute flex flex-col items-center w-full h-full bg-transparent-black justify-center">
<div class="container px-4 md:px-0">
Expand Down
18 changes: 12 additions & 6 deletions themes/next/layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<link rel="preload" href="/fonts/gilroy-latin-700.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/fonts/open-sans-v18-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/fonts/open-sans-v18-latin-700.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/fonts/open-sans-v18-latin-600.woff2" as="font" type="font/woff2" crossorigin>

{{- $styles := resources.Get "css/styles.css" | postCSS (dict "config" "./assets/css/postcss.config.js") -}}
{{- if .Site.IsServer }}
Expand Down Expand Up @@ -51,17 +52,22 @@
:class="{ 'absolute' : !mobileMenuOpen , 'fixed' : mobileMenuOpen}"
x-on:keydown.escape="mobileMenuOpen = false"
>
<div class="bg-primary visible" :class="{'hidden': hasScrolled, 'visible': !hasScrolled}">
<div class="container py-2">
<div class="text-center flex items-center justify-center text-white text-xl">
<span>Depuis Juillet 2023, Lumao fait partie du groupe Spiriit, agence e-commerce et digitale de 65 personnes ! <a href="https://www.spiriit.com/agence-performance-plateformes-ecommerce/">En savoir plus sur Spiriit</a> </span>
<div class="bg-spiriit">
<div class="container px-4 py-2.5 mx-auto">
<div class="text-center flex items-center justify-center text-white font-semibold text-sm lg:text-base leading-tight">
<span>
Depuis Juillet 2023, Lumao fait partie du groupe Spiriit, agence e-commerce et digitale de 65 personnes !
<a class="underline" href="https://www.spiriit.com/agence-performance-plateformes-ecommerce/">
En savoir plus sur Spiriit
</a>
</span>
</div>
</div>
</div>
<div class="container mx-auto py-4 md:py-8 px-4 flex flex-wrap items-center">
<div class="flex w-3/5 md:w-1/5">
<a class="block z-10" href="{{ .Site.BaseURL }}">
<img src="{{ .Site.BaseURL }}images/logo-light.svg" class="w-24 lg:w-36 block" alt="Lumao - Développement Magento" />
<a class="block" href="{{ .Site.BaseURL }}">
<img src="{{ .Site.BaseURL }}images/logo-light.svg" class="w-24 lg:w-36 block" alt="Lumao - Développement Magento" width="144" height="54" />
</a>
</div>

Expand Down
Binary file not shown.
Loading