diff --git a/app.vue b/app.vue index 7f4916e..e15719a 100644 --- a/app.vue +++ b/app.vue @@ -40,7 +40,6 @@ / 100%; place-content: start center; place-items: center center; - row-gap: 4rem; &__main { grid-area: app-main; diff --git a/assets/styles/main.scss b/assets/styles/main.scss index b34ec33..22af9af 100644 --- a/assets/styles/main.scss +++ b/assets/styles/main.scss @@ -18,7 +18,7 @@ --black-font-weight: 900; --h1-font-size: 2rem; --h2-font-size: 2rem; - --h3-font-size: 1.8rem; + --h3-font-size: 1.4rem; --button-font-size: 1.4rem; --text-font-size: 1.2rem; --caption-font-size: 1.1rem; @@ -35,9 +35,10 @@ // Dimensions - --regular-content-max-width: Min(100%, 80rem); - --small-content-max-width: Min(100%, 60rem); + --section-max-width: Min(100%, 80rem); + --content-max-width: Min(100%, 60rem); --regular-icon-size: 2rem; + --regular-icon-wrapper-size: calc(var(--regular-icon-size) + 1rem); --small-icon-size: calc(var(--text-font-size) * var(--line-height)); --button-gap: 0.5rem; @@ -45,18 +46,18 @@ // Colors --eerie-black: #212121; - --sonic-silver: #7a7a7a; - --silver: #C2C2C2; + --gray: #7A7A7A; + --white-smoke: #F5F5F5; --emerald: #72C080; --granny-smith-apple: #A3F3B0; --middle-green: #428F53; --rajah: #F9B262; --primary-color: var(--eerie-black); - --primary-color-light: var(--sonic-silver); + --primary-color-light: var(--gray); --primary-color-dark: black; --secondary-color: white; - --secondary-color-dark: var(--silver); + --secondary-color-dark: var(--white-smoke); --accent-color: var(--emerald); --accent-color-light: var(--granny-smith-apple); --accent-color-dark: var(--middle-green); @@ -106,8 +107,9 @@ h2 { } h3 { - font-family: var(--text-font-family); + font-family: var(--title-font-family); font-size: var(--h3-font-size); + font-weight: var(--medium-font-weight); } p { @@ -145,6 +147,14 @@ a { } } +// -------------------------------------------------- +// LIST STYLE +// -------------------------------------------------- + +ul { + list-style: disc outside; +} + // -------------------------------------------------- // BUTTON STYLE // -------------------------------------------------- @@ -276,6 +286,28 @@ form { } } +// -------------------------------------------------- +// SECTION STYLE +// -------------------------------------------------- + +section { + max-width: var(--section-max-width); + padding: 4rem 2rem; + + @media screen and (min-width: $tablet-media-query) { + padding: 4rem; + } + + @media screen and (min-width: $desktop-media-query) { + padding: 6rem; + } +} + +@mixin hero-section { + max-width: unset; + width: 100%; +} + // -------------------------------------------------- // SMOOTH SCROLLING // -------------------------------------------------- diff --git a/components/AppError.vue b/components/AppError.vue index 1b9666e..dce585a 100644 --- a/components/AppError.vue +++ b/components/AppError.vue @@ -61,11 +61,10 @@ main { width: 100%; - padding: 0 2rem; } .error { - width: 100%; + @include hero-section; display: grid; grid: 'title' minmax(var(--h1-font-height), auto) diff --git a/components/ContactForm.vue b/components/ContactForm.vue index 5752f55..4b33355 100644 --- a/components/ContactForm.vue +++ b/components/ContactForm.vue @@ -104,7 +104,7 @@ // -------------------------------------------------- .contact-form { - max-width: var(--small-content-max-width); + max-width: var(--content-max-width); display: grid; grid: 'name name' auto diff --git a/components/ContactHeader.vue b/components/ContactHeader.vue index a9971af..7dd9401 100644 --- a/components/ContactHeader.vue +++ b/components/ContactHeader.vue @@ -1,6 +1,6 @@ - + Contact @@ -30,7 +30,7 @@ - + @@ -44,7 +44,7 @@ // -------------------------------------------------- .contact-header { - max-width: var(--small-content-max-width); + max-width: var(--content-max-width); display: grid; place-content: start; place-items: start; diff --git a/components/ContactSection.vue b/components/ContactSection.vue index 805187b..3a4fbbb 100644 --- a/components/ContactSection.vue +++ b/components/ContactSection.vue @@ -1,6 +1,6 @@ - + @@ -17,7 +17,6 @@ // -------------------------------------------------- .contact { - max-width: var(--regular-content-max-width); display: grid; grid: 'header' auto diff --git a/components/HeroArrowDown.vue b/components/HeroArrowDown.vue index 2c601d8..e2e26fa 100644 --- a/components/HeroArrowDown.vue +++ b/components/HeroArrowDown.vue @@ -1,6 +1,6 @@ - + @@ -19,8 +19,8 @@ // -------------------------------------------------- .hero-arrow-down { - width: calc(var(--regular-icon-size) + 1rem); - height: calc(var(--regular-icon-size) + 1rem); + width: var(--regular-icon-wrapper-size); + height: var(--regular-icon-wrapper-size); display: flex; justify-content: center; align-items: center; diff --git a/components/HeroSection.vue b/components/HeroSection.vue index 6a5aa71..5100a5e 100644 --- a/components/HeroSection.vue +++ b/components/HeroSection.vue @@ -54,7 +54,7 @@ // -------------------------------------------------- .hero { - width: 100%; + @include hero-section; height: 100vh; height: 100svh; display: grid; @@ -62,8 +62,7 @@ '.' 1fr 'title' auto '.' minmax(6rem, 1fr) - 'arrow-down' auto - '.' 2rem + 'arrow-down' var(--regular-icon-wrapper-size) / 100%; place-content: center; place-items: center; diff --git a/components/ServicesSection.vue b/components/ServicesSection.vue new file mode 100644 index 0000000..10af2c3 --- /dev/null +++ b/components/ServicesSection.vue @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Prestations + + Intégration web et développement front-end + Retranscription fidèle de maquettes dans le respect des standards W3C et de la charte graphique définie par votre agence. + + Conception de site internet sur mesure + Accompagnement de votre entreprise ou association dans la création ou la refonte de son site vitrine ou e-commerce. + + + + + + + + + + diff --git a/pages/index.vue b/pages/index.vue index 6b88eb9..4c0b091 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -2,6 +2,7 @@ + @@ -27,31 +28,26 @@ main { width: 100%; - padding: 0 2rem; display: grid; grid: 'hero-section' auto + 'services-section' auto 'contact-section' auto / 1fr; place-content: start center; place-items: start center; - row-gap: 4rem; .hero-section { grid-area: hero-section; } + .services-section { + grid-area: services-section; + } + .contact-section { grid-area: contact-section; } - - @media screen and (min-width: $tablet-media-query) { - padding: 0 4rem; - } - - @media screen and (min-width: $desktop-media-query) { - padding: 0 6rem; - } }
Retranscription fidèle de maquettes dans le respect des standards W3C et de la charte graphique définie par votre agence.
Accompagnement de votre entreprise ou association dans la création ou la refonte de son site vitrine ou e-commerce.