Compare commits

...

5 Commits

5 changed files with 65 additions and 2372 deletions

File diff suppressed because it is too large Load Diff

View File

@ -33,6 +33,7 @@
@import './blocks/chapter-section.css'; @import './blocks/chapter-section.css';
@import './blocks/subscribe-infolettre.css'; @import './blocks/subscribe-infolettre.css';
@import './blocks/dernieres-dynamiques.css'; @import './blocks/dernieres-dynamiques.css';
@import './blocks/revues-precedentes.css';
/* Home */ /* Home */
@import '../../template-blocks/home/home-header/home-header.css'; @import '../../template-blocks/home/home-header/home-header.css';

View File

@ -0,0 +1,41 @@
.block-revues-precedentes {
@apply bg-carhop-blue-50 py-32;
.block-revues-precedentes__header {
}
&__inner {
@apply max-w-screen-2xl mx-auto px-12 xl:px-24;
}
&__header {
@apply flex flex-col justify-center items-center gap-4;
.block-title {
@apply text-base mb-6 font-bold tracking-wider uppercase nunito;
}
.block-subtitle {
@apply text-5xl font-normal uppercase;
}
}
&__slider-content {
@apply py-16 pt-32;
}
.card-revue {
@apply grid gap-12 2xl:gap-24 pb-24;
grid-template-columns: 61.8fr 38.2fr;
.content-meta {
@apply col-span-2 w-full max-w-full mb-0;
}
&__image {
@apply w-full h-full object-cover;
}
&__content {
@apply p-6;
}
}
}

View File

@ -56,6 +56,19 @@ module.exports = {
900: '#451b88', 900: '#451b88',
950: '#2b0665', 950: '#2b0665',
}, },
'carhop-blue': {
50: '#eafeff',
100: '#cbfbff',
200: '#9ef4ff',
300: '#5be9ff',
400: getBaseColor('carhop-blue'), // Base Color
500: '#00b7e5',
600: '#0091c0',
700: '#03739b',
800: '#0d5d7d',
900: '#104d69',
950: '#033249',
},
}, },
fontSize: tailpress.fontSizeMapper( fontSize: tailpress.fontSizeMapper(
tailpress.theme( tailpress.theme(

View File

@ -19,11 +19,21 @@
"slug": "carhop-orange", "slug": "carhop-orange",
"color": "#ffa630" "color": "#ffa630"
}, },
{
"name": "Carhop Blue",
"slug": "carhop-blue",
"color": "#c3e0ff"
},
{ {
"name": "Carhop Purple", "name": "Carhop Purple",
"slug": "carhop-purple", "slug": "carhop-purple",
"color": "#d6c3ff" "color": "#d6c3ff"
}, },
{
"name": "Carhop Yellow",
"slug": "carhop-yellow",
"color": "#0AD3FF"
},
{ {
"name": "Secondary", "name": "Secondary",
"slug": "secondary", "slug": "secondary",