Add assets and config
@@ -1,187 +0,0 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@layer base {
|
||||
html {
|
||||
@apply scroll-smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
@apply font-sans text-gray-700 antialiased;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
@apply font-heading font-bold text-gray-900;
|
||||
}
|
||||
}
|
||||
|
||||
@layer utilities {
|
||||
.rounded-lg {
|
||||
border-radius: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
@layer components {
|
||||
.cta-section {
|
||||
padding-top: 3rem;
|
||||
padding-bottom: 3rem;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.cta-gradient {
|
||||
background: linear-gradient(calc(var(--gradient-angle) * 1deg), var(--gradient-from), var(--gradient-to));
|
||||
}
|
||||
|
||||
.btn {
|
||||
@apply inline-flex items-center justify-center px-6 py-3 font-medium transition duration-200 ease-in-out;
|
||||
border-radius: 2rem;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
@apply btn bg-primary-600 text-white hover:bg-primary-700 hover:scale-105;
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
@apply btn bg-secondary-600 text-white hover:bg-secondary-700 hover:scale-105;
|
||||
}
|
||||
|
||||
.btn-outline {
|
||||
@apply btn border-2 border-primary-600 text-primary-600 hover:scale-105;
|
||||
}
|
||||
|
||||
.container {
|
||||
@apply mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl;
|
||||
}
|
||||
|
||||
.section {
|
||||
@apply py-16 md:py-24;
|
||||
}
|
||||
|
||||
.card {
|
||||
@apply bg-white p-6 transition duration-200 hover:shadow-md;
|
||||
border-radius: 2rem;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
@apply text-gray-600 hover:text-primary-600 font-bold transition duration-200;
|
||||
}
|
||||
|
||||
.feature-grid {
|
||||
@apply grid gap-8 md:grid-cols-2 lg:grid-cols-3;
|
||||
}
|
||||
|
||||
/* Blog and Syntax Highlighting Styles */
|
||||
.highlight {
|
||||
@apply text-sm font-mono text-gray-200;
|
||||
}
|
||||
|
||||
.highlight table {
|
||||
@apply w-full border-separate border-spacing-0;
|
||||
}
|
||||
|
||||
.highlight table td {
|
||||
@apply p-0;
|
||||
}
|
||||
|
||||
.highlight table td:first-child {
|
||||
@apply pr-4 text-right select-none text-gray-500 border-r border-gray-700;
|
||||
}
|
||||
|
||||
.highlight table td:last-child {
|
||||
@apply pl-4 w-full;
|
||||
}
|
||||
|
||||
.highlight .k, .highlight .kd {
|
||||
@apply text-purple-400 font-semibold;
|
||||
}
|
||||
|
||||
.highlight .nf, .highlight .nx {
|
||||
@apply text-blue-400;
|
||||
}
|
||||
|
||||
.highlight .s, .highlight .s1, .highlight .s2 {
|
||||
@apply text-green-400;
|
||||
}
|
||||
|
||||
.highlight .mi, .highlight .mf {
|
||||
@apply text-orange-400;
|
||||
}
|
||||
|
||||
.highlight .c, .highlight .c1, .highlight .cm {
|
||||
@apply text-gray-500 italic;
|
||||
}
|
||||
|
||||
.highlight .o {
|
||||
@apply text-yellow-400;
|
||||
}
|
||||
|
||||
.highlight .p {
|
||||
@apply text-gray-400;
|
||||
}
|
||||
|
||||
.prose {
|
||||
@apply max-w-none;
|
||||
}
|
||||
|
||||
.prose h1, .prose h2, .prose h3, .prose h4 {
|
||||
@apply font-heading font-bold text-gray-900;
|
||||
}
|
||||
|
||||
.prose h1 {
|
||||
@apply text-4xl mb-8;
|
||||
}
|
||||
|
||||
.prose h2 {
|
||||
@apply text-3xl mt-12 mb-6;
|
||||
}
|
||||
|
||||
.prose h3 {
|
||||
@apply text-2xl mt-8 mb-4;
|
||||
}
|
||||
|
||||
.prose p {
|
||||
@apply text-gray-700 leading-relaxed mb-6;
|
||||
}
|
||||
|
||||
.prose a {
|
||||
@apply text-primary-600 hover:text-primary-700 no-underline;
|
||||
}
|
||||
|
||||
.prose ul, .prose ol {
|
||||
@apply my-6 ml-6;
|
||||
}
|
||||
|
||||
.prose li {
|
||||
@apply mb-2;
|
||||
}
|
||||
|
||||
.prose blockquote {
|
||||
@apply border-l-4 border-gray-200 pl-4 italic text-gray-700 my-8;
|
||||
}
|
||||
|
||||
.prose img {
|
||||
@apply rounded-lg shadow-lg my-8;
|
||||
}
|
||||
|
||||
.prose code:not(pre code) {
|
||||
@apply bg-gray-100 text-gray-900 px-1.5 py-0.5 rounded text-sm font-mono;
|
||||
}
|
||||
|
||||
.table-of-contents {
|
||||
@apply bg-gray-50 p-6 rounded-lg my-8;
|
||||
}
|
||||
|
||||
.table-of-contents nav {
|
||||
@apply space-y-2;
|
||||
}
|
||||
|
||||
.table-of-contents a {
|
||||
@apply text-gray-700 hover:text-primary-600 no-underline;
|
||||
}
|
||||
|
||||
.table-of-contents ul {
|
||||
@apply list-none ml-4 space-y-2;
|
||||
}
|
||||
}
|
||||
BIN
assets/fonts/Lato/Lato-Black.ttf
Normal file
BIN
assets/fonts/Lato/Lato-BlackItalic.ttf
Normal file
BIN
assets/fonts/Lato/Lato-Bold.ttf
Normal file
BIN
assets/fonts/Lato/Lato-BoldItalic.ttf
Normal file
BIN
assets/fonts/Lato/Lato-Italic.ttf
Normal file
BIN
assets/fonts/Lato/Lato-Light.ttf
Normal file
BIN
assets/fonts/Lato/Lato-LightItalic.ttf
Normal file
BIN
assets/fonts/Lato/Lato-Regular.ttf
Normal file
BIN
assets/fonts/Lato/Lato-Thin.ttf
Normal file
BIN
assets/fonts/Lato/Lato-ThinItalic.ttf
Normal file
93
assets/fonts/Lato/OFL.txt
Normal file
@@ -0,0 +1,93 @@
|
||||
Copyright (c) 2010-2014 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato"
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
https://openfontlicense.org
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
BIN
assets/images/avatar-sm.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
assets/images/avatar.png
Executable file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
assets/images/call-to-action.png
Executable file
|
After Width: | Height: | Size: 19 KiB |
BIN
assets/images/favicon.png
Normal file
|
After Width: | Height: | Size: 1020 B |
BIN
assets/images/gallery/01.jpg
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
assets/images/gallery/02.jpg
Normal file
|
After Width: | Height: | Size: 697 KiB |
BIN
assets/images/gallery/03.jpg
Normal file
|
After Width: | Height: | Size: 254 KiB |
BIN
assets/images/gallery/04.jpg
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
assets/images/gallery/05.jpg
Normal file
|
After Width: | Height: | Size: 210 KiB |
BIN
assets/images/gallery/06.jpg
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
assets/images/illustrations/collection-1.png
Normal file
|
After Width: | Height: | Size: 144 KiB |
BIN
assets/images/illustrations/collection-2.png
Normal file
|
After Width: | Height: | Size: 114 KiB |
BIN
assets/images/illustrations/hero-image.png
Normal file
|
After Width: | Height: | Size: 670 KiB |
BIN
assets/images/image-placeholder.png
Executable file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
assets/images/init/favicon.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
assets/images/init/logo.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
assets/images/logo-darkmode.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
assets/images/logo.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
12
assets/images/matrix.svg
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
path { fill: #000000; }
|
||||
@media (prefers-color-scheme: dark) {
|
||||
path { fill: #ffffff; }
|
||||
}
|
||||
</style>
|
||||
<path d="M 30,2.0000001 V 30 h -1 -2 v 2 h 5 V -3.3333334e-8 L 27,0 v 2 z"/>
|
||||
<path d="M 9.9515939,10.594002 V 12.138 h 0.043994 c 0.3845141,-0.563728 0.8932271,-1.031728 1.4869981,-1.368 0.580003,-0.322998 1.244999,-0.485 1.993002,-0.485 0.72,0 1.376999,0.139993 1.971998,0.42 0.595,0.279004 1.047001,0.771001 1.355002,1.477001 0.338003,-0.500001 0.795999,-0.941 1.376999,-1.323001 0.579999,-0.382998 1.265998,-0.574 2.059998,-0.574 0.602003,0 1.160002,0.074 1.674002,0.220006 0.514,0.148006 0.953998,0.382998 1.321999,0.706998 0.36601,0.322999 0.653001,0.746 0.859,1.268002 0.205001,0.521998 0.307994,1.15 0.307994,1.887001 v 7.632997 h -3.127 v -6.463997 c 0,-0.383002 -0.01512,-0.743002 -0.04399,-1.082003 -0.02079,-0.3072 -0.103219,-0.607113 -0.242003,-0.881998 -0.133153,-0.25081 -0.335962,-0.457777 -0.584001,-0.596002 -0.257008,-0.146003 -0.605998,-0.220006 -1.046997,-0.220006 -0.440002,0 -0.796003,0.085 -1.068,0.253002 -0.272013,0.170003 -0.485001,0.390002 -0.639001,0.662003 -0.159119,0.287282 -0.263585,0.601602 -0.307994,0.926997 -0.05197,0.346923 -0.07801,0.697217 -0.07801,1.048002 v 6.353999 h -3.128005 v -6.398 c 0,-0.338003 -0.0072,-0.673001 -0.02116,-1.004001 -0.01134,-0.313663 -0.07487,-0.623229 -0.187994,-0.915999 -0.107943,-0.276623 -0.300435,-0.512126 -0.550001,-0.673001 -0.25799,-0.168 -0.636,-0.253002 -1.134999,-0.253002 -0.198123,0.0083 -0.394383,0.04195 -0.584002,0.100006 -0.258368,0.07446 -0.498455,0.201827 -0.704999,0.373985 -0.227981,0.183987 -0.421999,0.449 -0.583997,0.794003 -0.161008,0.345978 -0.242003,0.797998 -0.242003,1.356998 v 6.618999 H 6.99942 V 10.590001 Z"/>
|
||||
<path d="M 2,2.0000001 V 30 h 3 v 2 H 0 V 9.2650922e-8 L 5,0 v 2 z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
BIN
assets/images/no-search-found.png
Executable file
|
After Width: | Height: | Size: 8.1 KiB |
620
assets/scss/custom.scss
Executable file
@@ -0,0 +1,620 @@
|
||||
///// HOMEPAGE
|
||||
|
||||
/// Chill brand colors
|
||||
$chill-blue: #334d5c;
|
||||
$chill-green: rgba(67, 178, 157, 0.61);
|
||||
$chill-beige: #d3c7b1;
|
||||
$chill-red: #dc516d;
|
||||
$chill-pink: #e57469;
|
||||
$chill-orange: #e89463;
|
||||
$chill-lightgray: #efefef;
|
||||
$chill-yellow: #f1d275;
|
||||
|
||||
/// Other custom colors
|
||||
$bg-dark-blue: #0d242e;
|
||||
$bg-light-blue: #a0dcff;
|
||||
$orange: #f46839;
|
||||
$text-green: #56c4aa;
|
||||
$red: #f0384d;
|
||||
$yellow: #fcc958;
|
||||
|
||||
@font-face {
|
||||
font-family: 'Lato', Arial;
|
||||
src: url('assets/fonts/Lato/Lato-Regular.ttf') format('truetype');
|
||||
font-display: optional;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
// Pattern
|
||||
@mixin add-bg-pattern($id) {
|
||||
background-repeat: repeat;
|
||||
background-position: top center;
|
||||
background-image: url('/images/bg/pattern-#{$id}.png');
|
||||
}
|
||||
|
||||
// Sections bg transitions
|
||||
@mixin add-horizontal-curve($id, $pos) {
|
||||
position: relative;
|
||||
&:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url('/images/svg/curve-#{$id}.svg');
|
||||
background-size: contain;
|
||||
background-position: $pos center;
|
||||
background-repeat: no-repeat;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
// Colored design element: square or circle
|
||||
@mixin add-decorative-shape($color, $shape: 'square', $scale: 1, $pos-top: -60%, $pos-left: 44%) {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
&:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 100px * $scale;
|
||||
height: 100px * $scale;
|
||||
left: $pos-left;
|
||||
top: $pos-top;
|
||||
margin-left: -35px;
|
||||
background-color: $color;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
|
||||
z-index: 0;
|
||||
@if $shape == 'circle' {
|
||||
border-radius: 50px;
|
||||
}
|
||||
@else {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body{
|
||||
font-family: 'Lato', sans-serif;
|
||||
.highlight {
|
||||
padding: .25rem;
|
||||
}
|
||||
.highlight-1 {
|
||||
background-color: $chill-green;
|
||||
}
|
||||
.highlight-2 {
|
||||
background-color: $chill-pink;
|
||||
}
|
||||
.highlight-3 {
|
||||
background-color: $chill-yellow;
|
||||
}
|
||||
}
|
||||
|
||||
// Theme custom sections
|
||||
header.header {
|
||||
background-color: $bg-dark-blue;
|
||||
}
|
||||
|
||||
.chill-pres {
|
||||
padding-top: 0rem;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
.btn-primary {
|
||||
background-color: $orange;
|
||||
border: 1px solid $orange;
|
||||
color: white;
|
||||
&:hover {
|
||||
background-color: $chill-orange;
|
||||
border: 1px solid $chill-orange;
|
||||
}
|
||||
}
|
||||
.lang-select {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
main > section {
|
||||
&.hero {
|
||||
height: 100vh;
|
||||
background-color: $bg-dark-blue;
|
||||
h1 { color: $chill-green; }
|
||||
.hero-img {
|
||||
padding-top: 3rem;
|
||||
}
|
||||
.btn-primary {
|
||||
background-color: $orange;
|
||||
color: white;
|
||||
border-color: $orange;
|
||||
&:hover {
|
||||
background-color: $chill-orange;
|
||||
border: 1px solid $chill-orange;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.section-1 {
|
||||
background-color: white;
|
||||
padding-top: 10rem;
|
||||
li { font-weight: 600; }
|
||||
}
|
||||
&.section-2 {
|
||||
.container {
|
||||
color: $bg-dark-blue;
|
||||
text-align: center;
|
||||
margin-top: 4rem;
|
||||
h2 {
|
||||
line-height: 3.5rem;
|
||||
}
|
||||
}
|
||||
background: rgb(233,227,216);
|
||||
background: linear-gradient(180deg, rgba(233,227,216,1) 0%, rgba(239,239,239,1) 100%);
|
||||
}
|
||||
&.section-3 {
|
||||
background: rgb(239,239,239);
|
||||
background: linear-gradient(180deg, rgba(239,239,239,1) 0%, rgba(255,255,255,1) 100%);
|
||||
h2 {
|
||||
@include add-decorative-shape($orange, 'circle', .7, -30%, -10%);
|
||||
}
|
||||
}
|
||||
&.section-4 {
|
||||
position: relative;
|
||||
background-color: white;
|
||||
.row {
|
||||
padding-bottom: 5rem;
|
||||
}
|
||||
h4 {
|
||||
font-weight: bold;
|
||||
height: 175px;
|
||||
color: $bg-dark-blue;
|
||||
border: 1px dashed $bg-dark-blue;
|
||||
border-radius: 15px;
|
||||
padding: 3rem;
|
||||
}
|
||||
.btn-primary {
|
||||
position: absolute;
|
||||
top: 52%;
|
||||
left: 28%;
|
||||
}
|
||||
}
|
||||
&.section-5 {
|
||||
background-color: transparentize($color: $chill-green, $amount: 0.5)
|
||||
}
|
||||
&.section-6 {
|
||||
background-color: $bg-dark-blue !important;
|
||||
@include add-bg-pattern(1);
|
||||
}
|
||||
&.section-7 {
|
||||
h2 {
|
||||
@include add-decorative-shape($yellow, 'square', .7, -30%, -15%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
section {
|
||||
h2.title {
|
||||
color: $bg-dark-blue;
|
||||
}
|
||||
// Centered text
|
||||
&.big-text,
|
||||
&.li-block {
|
||||
h2, p {
|
||||
width: fit-content;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
&.big-text {
|
||||
.container .row {
|
||||
& > div {
|
||||
&:last-child {
|
||||
width: 80%;
|
||||
margin-left: 10%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// Change bulletlists rendering in flex bloc }
|
||||
&.li-block {
|
||||
.container .row {
|
||||
& > div {
|
||||
&:last-child {
|
||||
width: 100%;
|
||||
}
|
||||
ul {
|
||||
display: flex;
|
||||
li {
|
||||
i:first-child {
|
||||
display: none;
|
||||
}
|
||||
flex: 1 0 0;
|
||||
margin: 0.5em 2rem 0.5em 2rem;
|
||||
padding: 2em 1em 1em 1em;
|
||||
text-align: center;
|
||||
border-radius: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// Add custom colored icons on each item
|
||||
&.section-1 {
|
||||
ul li {
|
||||
font-weight: 500;
|
||||
font-size: large;
|
||||
position: relative;
|
||||
&:nth-child(1) {
|
||||
@include add-decorative-shape($text-green, 'square', 1);
|
||||
}
|
||||
&:nth-child(2) {
|
||||
@include add-decorative-shape($red, 'circle', 1);
|
||||
}
|
||||
&:nth-child(3) {
|
||||
@include add-decorative-shape($chill-orange, 'triangle', 1);
|
||||
}
|
||||
&:nth-child(4) {
|
||||
@include add-decorative-shape($yellow, 'circle', 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.section-5 {
|
||||
.container .row {
|
||||
p {
|
||||
margin-bottom: 5rem;
|
||||
}
|
||||
ul li {
|
||||
border-radius: 1em;
|
||||
background: transparentize(white, 0.8);
|
||||
backdrop-filter: blur(20px);
|
||||
width: 400px;
|
||||
height: 180px;
|
||||
padding: .85rem;
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
overflow: hidden;
|
||||
transition: 0.6s ease-in;
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
top: -15px;
|
||||
right: -15px;
|
||||
height:220px;
|
||||
width: 25px;
|
||||
border-radius: 32px;
|
||||
transform: scale(1);
|
||||
transform-origin: 50% 50%;
|
||||
transition: transform 0.25s ease-out;
|
||||
}
|
||||
&:nth-child(1)::before {
|
||||
background-color: rgba(240, 56, 77, 0.85);
|
||||
}
|
||||
&:nth-child(2)::before {
|
||||
background-color: rgba(232, 148, 99, 0.85);
|
||||
}
|
||||
&:nth-child(3)::before {
|
||||
background-color: rgba(67, 178, 157, 0.85);
|
||||
}
|
||||
&:nth-child(4)::before {
|
||||
background-color: rgb(241, 210, 117);
|
||||
}
|
||||
&:hover::before {
|
||||
transition-delay:0.2s ;
|
||||
transform: scale(40);
|
||||
}
|
||||
&:hover {
|
||||
color: #ffffff;
|
||||
h5 {
|
||||
color: $chill-lightgray;
|
||||
}
|
||||
}
|
||||
h5 {
|
||||
color: $bg-dark-blue;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// button styling
|
||||
a.btn-chill {
|
||||
background-color: #fc3636;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Dark context (homepage header, hero, footer)
|
||||
// Overwrite primary button design
|
||||
.btn-primary {
|
||||
background-color: $orange;
|
||||
color: white;
|
||||
border: 1px solid $orange;
|
||||
border-radius: 2em;
|
||||
}
|
||||
|
||||
.download {
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
display: block;
|
||||
a {
|
||||
text-decoration: none;
|
||||
padding: .5rem;
|
||||
}
|
||||
}
|
||||
|
||||
// Dark but only in sections
|
||||
section.dark {
|
||||
p {
|
||||
color: white;
|
||||
font-weight: bolder;
|
||||
}
|
||||
}
|
||||
|
||||
.hop {
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
||||
///// PAGES
|
||||
|
||||
main > section {
|
||||
&.page-hero {
|
||||
height: 40vh;
|
||||
background-color: $bg-dark-blue;
|
||||
@include add-bg-pattern(1);
|
||||
h1 { color: $text-green; }
|
||||
i {
|
||||
color: $chill-lightgray;
|
||||
}
|
||||
}
|
||||
.content-subtitle {
|
||||
text-transform: uppercase;
|
||||
padding-left: 2rem;
|
||||
}
|
||||
.bord-1 {
|
||||
border-left: 4px solid $chill-orange;
|
||||
}
|
||||
.bord-2 {
|
||||
border-left: 4px solid $chill-beige;
|
||||
}
|
||||
.bord-3 {
|
||||
border-left: 4px solid $chill-yellow;
|
||||
}
|
||||
.bord-4 {
|
||||
border-left: 4px solid $chill-green;
|
||||
}
|
||||
}
|
||||
|
||||
.chapo {
|
||||
font-size: large;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
padding-bottom: 2rem;
|
||||
font-style: italic;
|
||||
position: relative;
|
||||
margin-bottom: 5rem;
|
||||
&::after {
|
||||
content:'';
|
||||
position:absolute;
|
||||
left:0; right:0;
|
||||
top:100%;
|
||||
margin:10px auto;
|
||||
width:15%;
|
||||
height:6px;
|
||||
background: $chill-red;
|
||||
}
|
||||
}
|
||||
|
||||
figure.image {
|
||||
//background-color: $chill-lightgray;
|
||||
//padding: 1em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
&.left {
|
||||
float: left;
|
||||
margin-right: 1.5em;
|
||||
}
|
||||
&.right {
|
||||
float: right;
|
||||
margin-left: 1.5em;
|
||||
}
|
||||
&.center {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
img {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
figcaption {}
|
||||
}
|
||||
|
||||
.text-brochure {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
// RESPONSIVENESS
|
||||
|
||||
@media screen and (max-width: 1279px) {
|
||||
section {
|
||||
&.li-block {
|
||||
&.section-5 {
|
||||
.container .row {
|
||||
ul {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
ul li {
|
||||
flex: 30%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1023px) {
|
||||
main > section {
|
||||
&.section-4 {
|
||||
h4 {
|
||||
height: 224px;
|
||||
}
|
||||
.btn-primary {
|
||||
top: 56%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
section {
|
||||
&.li-block {
|
||||
&.section-5 {
|
||||
.container .row {
|
||||
ul {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
ul li {
|
||||
flex: 50%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 767px) {
|
||||
main > section {
|
||||
&.hero {
|
||||
height: 110vh;
|
||||
}
|
||||
&.section-3 {
|
||||
h2:before {
|
||||
top: -70%;
|
||||
left: 5%;
|
||||
z-index: -1;
|
||||
}
|
||||
}
|
||||
&.section-4 {
|
||||
h4 {
|
||||
height: 280px;
|
||||
}
|
||||
.btn-primary {
|
||||
top: 64%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
section {
|
||||
&.li-block {
|
||||
.container .row {
|
||||
& > div {
|
||||
ul {
|
||||
flex-direction: column;
|
||||
li {
|
||||
margin-bottom: 4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// Add custom colored icons on each item
|
||||
&.section-1 {
|
||||
ul li {
|
||||
&:nth-child(1) {
|
||||
top: -66%;
|
||||
}
|
||||
&:nth-child(2) {
|
||||
top: -66%;
|
||||
}
|
||||
&:nth-child(3):before {
|
||||
top: -85%;
|
||||
}
|
||||
&:nth-child(4):before {
|
||||
top: -85%;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.section-5 {
|
||||
.container .row {
|
||||
ul {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
ul li {
|
||||
flex: 50%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 513px) {
|
||||
main > section {
|
||||
&.hero {
|
||||
height: 120vh;
|
||||
}
|
||||
&.section-4 {
|
||||
h4 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
.btn-primary {
|
||||
top: 64%;
|
||||
}
|
||||
}
|
||||
&.section-5 {
|
||||
.container .row {
|
||||
ul li {
|
||||
width: 350px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 470px) {
|
||||
main > section {
|
||||
&.section-4 {
|
||||
h4 {
|
||||
height: 280px;
|
||||
}
|
||||
.btn-primary {
|
||||
top: 64%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
section {
|
||||
&.li-block {
|
||||
&.section-1 {
|
||||
ul li {
|
||||
&:nth-child(3):before {
|
||||
top: -70%;
|
||||
}
|
||||
&:nth-child(4):before {
|
||||
top: -70%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.section-5 {
|
||||
.container .row {
|
||||
ul {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
ul li {
|
||||
width: 350px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 420px) {
|
||||
section {
|
||||
&.li-block {
|
||||
&.section-5 {
|
||||
.container .row {
|
||||
ul li {
|
||||
width: 300px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ Before diving into customization, it's important to understand how Hugo themes a
|
||||
|
||||
The easiest way to start customizing your theme is by modifying the CSS:
|
||||
|
||||
{{< code css "assets/css/main.css" >}}
|
||||
{{< code css "assets/scss/main.scss" >}}
|
||||
:root {
|
||||
--primary-color: #007bff;
|
||||
--secondary-color: #6c757d;
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"main": [
|
||||
{
|
||||
"name": "mastodon",
|
||||
"icon": "fab fa-mastodon",
|
||||
"link": "https://mastodon.libre-entreprise.com/@Chill"
|
||||
},
|
||||
{
|
||||
"name": "gitlab",
|
||||
"icon": "fab fa-gitlab",
|
||||
"link": "https://gitlab.com/Chill-Projet/chill-bundles"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
{
|
||||
"colors": {
|
||||
"default": {
|
||||
"theme_color": {
|
||||
"primary": "#121212",
|
||||
"body": "#fff",
|
||||
"border": "#eaeaea",
|
||||
"theme_light": "#f6f6f6",
|
||||
"theme_dark": ""
|
||||
},
|
||||
"text_color": {
|
||||
"default": "#444444",
|
||||
"dark": "#040404",
|
||||
"light": "#717171"
|
||||
}
|
||||
},
|
||||
"darkmode": {
|
||||
"theme_color": {
|
||||
"primary": "#fff",
|
||||
"body": "#1c1c1c",
|
||||
"border": "#ffffff09",
|
||||
"theme_light": "#0d242e",
|
||||
"theme_dark": ""
|
||||
},
|
||||
"text_color": {
|
||||
"default": "#B4AFB6",
|
||||
"dark": "#fff",
|
||||
"light": "#B4AFB6"
|
||||
}
|
||||
}
|
||||
},
|
||||
"fonts": {
|
||||
"font_family": {
|
||||
"primary": "OpenSans:wght@300;400;500;600;700;800",
|
||||
"primary_type": "sans-serif"
|
||||
},
|
||||
"font_size": {
|
||||
"base": "15",
|
||||
"scale": "1.25"
|
||||
}
|
||||
}
|
||||
}
|
||||
273
hugo.toml
@@ -1,161 +1,35 @@
|
||||
baseURL = "https://saasify-demo.chaoming.li/"
|
||||
title = "Saasify"
|
||||
defaultContentLanguage = "en"
|
||||
# Basic Configuration
|
||||
baseURL = "/"
|
||||
title = ""
|
||||
theme = "chill-theme"
|
||||
defaultContentLanguage = "fr"
|
||||
|
||||
# Theme Config
|
||||
theme = "../.."
|
||||
|
||||
# Enable emoji support
|
||||
enableEmoji = true
|
||||
|
||||
# Enable Git info for lastmod
|
||||
enableGitInfo = true
|
||||
|
||||
# Enable taxonomies
|
||||
[taxonomies]
|
||||
category = 'categories'
|
||||
tag = 'tags'
|
||||
# Required Features
|
||||
enableEmoji = true # Enable emoji support
|
||||
enableGitInfo = true # Enable Git info for lastmod
|
||||
|
||||
# Pagination
|
||||
paginate = 6
|
||||
paginatePath = "page"
|
||||
|
||||
[params]
|
||||
description = ""
|
||||
author = "Chaoming Li"
|
||||
logo = "/images/logo.svg"
|
||||
# Google Analytics ID (e.g., "G-XXXXXXXXXX")
|
||||
# googleAnalytics = "G-XXXXXXXXXX"
|
||||
|
||||
# Global CTA Configuration
|
||||
[params.cta]
|
||||
enable = true
|
||||
title = "Ready to Build Your SaaS Website?"
|
||||
description = "Join companies already using our theme to create beautiful, high-performance websites."
|
||||
gradient_from = "#2563eb" # Indigo-600
|
||||
gradient_to = "#7c3aed" # Purple-600
|
||||
gradient_angle = 30
|
||||
[params.cta.primary_button]
|
||||
text = "Get Started Free"
|
||||
url = "/get-started"
|
||||
[params.cta.secondary_button]
|
||||
text = "Book Demo"
|
||||
url = "/demo"
|
||||
|
||||
# Social Media Links
|
||||
[params.social]
|
||||
linkedin = "https://linkedin.com/in/chaomingli"
|
||||
twitter = "https://twitter.com/lichaoming"
|
||||
bluesky = "https://bsky.app/profile/bsky.app"
|
||||
youtube = "https://youtube.com/@chaomingli"
|
||||
facebook = "https://facebook.com/lichaoming"
|
||||
instagram = "https://instagram.com/lichaoming"
|
||||
github = "https://github.com/chaoming"
|
||||
telegram = "https://t.me/yourchannel"
|
||||
discord = "https://discord.gg/yourinvite"
|
||||
slack = "https://yourteam.slack.com"
|
||||
medium = "https://medium.com/@yourhandle"
|
||||
dribbble = "https://dribbble.com/yourprofile"
|
||||
behance = "https://behance.net/yourprofile"
|
||||
|
||||
# Footer Configuration
|
||||
[params.footer]
|
||||
column_1_title = "Features"
|
||||
column_2_title = "COMPANY"
|
||||
column_3_title = "LEGAL"
|
||||
|
||||
[params.header]
|
||||
# Header background and border styles (optional)
|
||||
background = "bg-white/80 backdrop-blur-sm"
|
||||
border = "border-b border-gray-100"
|
||||
|
||||
# Logo configuration
|
||||
[params.header.logo]
|
||||
src = "/images/logo.svg"
|
||||
|
||||
# Menu configuration
|
||||
[params.header.menu]
|
||||
spacing = "space-x-8"
|
||||
|
||||
# Dropdown menu configuration
|
||||
[params.header.menu.dropdown]
|
||||
width = "w-72"
|
||||
container_padding = "py-6"
|
||||
item_padding = "px-8 py-3"
|
||||
background = "bg-white"
|
||||
border = "border border-gray-100"
|
||||
shadow = "shadow-xl"
|
||||
radius = "rounded-lg"
|
||||
text_color = "text-gray-700"
|
||||
hover_background = "hover:bg-gray-50"
|
||||
text_size = "text-sm"
|
||||
|
||||
# Button configuration
|
||||
[params.header.buttons]
|
||||
# Sign In button
|
||||
[params.header.buttons.signIn]
|
||||
text = "Sign in"
|
||||
url = "/signin"
|
||||
|
||||
# Get Started button
|
||||
[params.header.buttons.getStarted]
|
||||
text = "Get Started"
|
||||
url = "/get-started"
|
||||
|
||||
# Blog configuration
|
||||
[params.blog]
|
||||
enable = true
|
||||
title = "Latest Articles"
|
||||
subtitle = "Learn more about web development and best practices"
|
||||
|
||||
# Blog CTA configuration
|
||||
[params.blog.cta]
|
||||
enable = true # Enable/disable CTA in blog posts
|
||||
|
||||
# Sidebar configuration
|
||||
[params.blog.sidebar]
|
||||
# Recent articles section
|
||||
[params.blog.sidebar.recent]
|
||||
enable = true
|
||||
title = "Recent Articles"
|
||||
count = 5
|
||||
|
||||
# Categories section
|
||||
[params.blog.sidebar.categories]
|
||||
enable = true
|
||||
title = "Categories"
|
||||
|
||||
# Tags section
|
||||
[params.blog.sidebar.tags]
|
||||
enable = true
|
||||
title = "Popular Tags"
|
||||
count = 20
|
||||
|
||||
# Subscribe form section
|
||||
[params.blog.sidebar.subscribe]
|
||||
enable = true
|
||||
title = "Subscribe to Newsletter"
|
||||
description = "Get the latest posts delivered right to your inbox"
|
||||
action = "https://formspree.io/f/your-form-id"
|
||||
emailName = "email"
|
||||
buttonText = "Subscribe"
|
||||
placeholder = "Enter your email"
|
||||
disclaimer = "We respect your privacy. Unsubscribe at any time."
|
||||
|
||||
# Required Module Configuration
|
||||
[module]
|
||||
[module.hugoVersion]
|
||||
extended = true
|
||||
min = "0.80.0"
|
||||
|
||||
# Required Build Configuration
|
||||
[build]
|
||||
writeStats = true
|
||||
writeStats = true # Required for TailwindCSS
|
||||
|
||||
[build.buildStats]
|
||||
enable = true
|
||||
|
||||
# Security Configuration
|
||||
[security.funcs]
|
||||
getenv = ['^HUGO_', '^CI$']
|
||||
|
||||
# Required Markup Configuration
|
||||
[markup]
|
||||
[markup.highlight]
|
||||
noClasses = false
|
||||
@@ -164,95 +38,84 @@ paginatePath = "page"
|
||||
guessSyntax = true
|
||||
lineNumbersInTable = true
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
unsafe = true # Allow HTML in markdown
|
||||
[markup.tableOfContents]
|
||||
endLevel = 3
|
||||
ordered = false
|
||||
startLevel = 2
|
||||
|
||||
# Multilingual Configuration
|
||||
# Uncomment the sections below to enable multilingual support
|
||||
# See docs/CONFIGURATION.md for detailed instructions
|
||||
# Taxonomies
|
||||
[taxonomies]
|
||||
category = 'categories'
|
||||
tag = 'tags'
|
||||
|
||||
# [languages]
|
||||
# [languages.en]
|
||||
# languageCode = "en-us"
|
||||
# languageName = "English"
|
||||
# title = "Saasify"
|
||||
# weight = 1
|
||||
# contentDir = "content"
|
||||
#
|
||||
# [languages.zh-cn]
|
||||
# languageCode = "zh-cn"
|
||||
# languageName = "简体中文"
|
||||
# title = "Saasify"
|
||||
# weight = 2
|
||||
# contentDir = "content/zh-cn"
|
||||
# Theme Parameters
|
||||
[params]
|
||||
description = "Logiciel libre d'accompagnement social"
|
||||
author = "Champs-Libres"
|
||||
logo = "/images/logo.png" # Path to your logo
|
||||
# Google Analytics ID (e.g., "G-XXXXXXXXXX")
|
||||
googleAnalytics = "G-XXXXXXXXXX" # Only enabled in production
|
||||
|
||||
# Google Tag Manager ID (e.g., "GTM-XXXXXXX")
|
||||
# Only enabled in production
|
||||
googleTagManager = "GTM-XXXXXXX"
|
||||
|
||||
# Header Configuration
|
||||
[params.header]
|
||||
background = "bg-white/80 backdrop-blur-sm"
|
||||
border = "border-b border-gray-100"
|
||||
|
||||
# Header Logo
|
||||
[params.header.logo]
|
||||
src = "/images/logo.png"
|
||||
|
||||
# Global CTA Configuration (optional)
|
||||
[params.cta]
|
||||
enable = true
|
||||
title = "Le compagnon du travailleur social"
|
||||
description = "Une application web open source dédiée à faciliter le travail social."
|
||||
[params.cta.primary_button]
|
||||
text = "Essayer la démo"
|
||||
url = "http://demo.chill.social/"
|
||||
|
||||
|
||||
# Social Media Links (optional)
|
||||
[params.social]
|
||||
mastodon = "https://mastodon.libre-entreprise.com/@Chill"
|
||||
gitlab = "https://gitlab.com/Chill-Projet/chill-bundles"
|
||||
|
||||
# Navigation Menu
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
name = "Features"
|
||||
name = "Fonctionnalités"
|
||||
url = "/features"
|
||||
weight = 1
|
||||
[[menu.main]]
|
||||
name = "Installation"
|
||||
weight = 2
|
||||
[menu.main.params]
|
||||
has_submenu = true
|
||||
submenu = [
|
||||
{ name = "Performance", url = "/features/performance/" },
|
||||
{ name = "Design System", url = "/features/design-system/" },
|
||||
{ name = "Developer Experience", url = "/features/developer-experience/" }
|
||||
{ name = "Par Champs Libres", url = "/install/hosted" },
|
||||
{ name = "En auto-hébergement", url = "/install/on-premise" }
|
||||
]
|
||||
[[menu.main]]
|
||||
name = "Pricing"
|
||||
name = "Tarification"
|
||||
url = "/pricing"
|
||||
weight = 2
|
||||
[[menu.main]]
|
||||
name = "Blog"
|
||||
url = "/blog"
|
||||
weight = 3
|
||||
[[menu.main]]
|
||||
name = "Company"
|
||||
name = "Ressources"
|
||||
weight = 4
|
||||
[menu.main.params]
|
||||
has_submenu = true
|
||||
submenu = [
|
||||
{ name = "About Us", url = "/company/" },
|
||||
{ name = "Careers", url = "/careers/" }
|
||||
{ name = "Documentation technique", url = "/resources/technical_documentation" },
|
||||
{ name = "Manuels", url = "/resources/manuals" }
|
||||
]
|
||||
|
||||
# Footer Column 1 Menu
|
||||
[[menu.footer_column_1]]
|
||||
name = "Performance"
|
||||
url = "/features/performance/"
|
||||
weight = 1
|
||||
[[menu.footer_column_1]]
|
||||
name = "Design System"
|
||||
url = "/features/design-system/"
|
||||
weight = 2
|
||||
[[menu.footer_column_1]]
|
||||
name = "Developer Experience"
|
||||
url = "/features/developer-experience/"
|
||||
[[menu.main]]
|
||||
name = "Nous contacter"
|
||||
url = "/pricing"
|
||||
weight = 3
|
||||
|
||||
# Footer Column 2 Menu
|
||||
[[menu.footer_column_2]]
|
||||
name = "Blog"
|
||||
url = "/blog"
|
||||
weight = 1
|
||||
[[menu.footer_column_2]]
|
||||
name = "About Us"
|
||||
url = "/company"
|
||||
weight = 2
|
||||
[[menu.footer_column_2]]
|
||||
name = "Careers"
|
||||
url = "/careers"
|
||||
weight = 3
|
||||
|
||||
# Footer Column 3 Menu
|
||||
[[menu.footer_column_3]]
|
||||
name = "License"
|
||||
url = "/license"
|
||||
weight = 1
|
||||
[[menu.footer_column_3]]
|
||||
name = "Privacy Policy"
|
||||
url = "/privacy"
|
||||
weight = 2
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"author": "Chaoming Li",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"start": "concurrently \"npx tailwindcss -i themes/hugo-saasify-theme/assets/css/main.css -o static/css/style.css --watch\" \"hugo server -D\"",
|
||||
"build": "tailwindcss -i themes/hugo-saasify-theme/assets/css/main.css -o static/css/style.css --minify && hugo --minify"
|
||||
"start": "concurrently \"npx tailwindcss -i themes/hugo-saasify-theme/assets/scss/main.scss -o static/css/style.css --watch\" \"hugo server -D\"",
|
||||
"build": "tailwindcss -i themes/hugo-saasify-theme/assets/scss/main.scss -o static/css/style.css --minify && hugo --minify"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/forms": "^0.5.7",
|
||||
@@ -17,4 +17,4 @@
|
||||
"postcss-cli": "^10.1.0",
|
||||
"tailwindcss": "^3.3.5"
|
||||
}
|
||||
}
|
||||
}
|
||||
2040
static/css/style.css
|
Before Width: | Height: | Size: 188 KiB After Width: | Height: | Size: 1020 B |
BIN
static/images/logo-darkmode.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
static/images/logo.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
4
static/images/social/gitlab.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.45344 3.3395C5.70395 3.11818 6.02498 3 6.35252 3C6.68005 3 7.00108 3.11818 7.2516 3.3395C7.25863 3.34571 7.26557 3.35202 7.27243 3.35843C7.43524 3.51064 7.55906 3.70268 7.6293 3.91856L9.16251 8.47062C9.29953 8.87744 9.68091 9.15142 10.1102 9.15142H13.8549C14.2845 9.15142 14.6661 8.87706 14.8029 8.46985L16.339 3.89696C16.345 3.87917 16.3515 3.86155 16.3584 3.84412C16.4373 3.6469 16.5615 3.47351 16.7184 3.33626C16.9684 3.11703 17.2879 3 17.6138 3C17.9414 3 18.2624 3.11818 18.5129 3.3395C18.5199 3.34571 18.5269 3.35202 18.5337 3.35843C18.6967 3.51075 18.8206 3.70295 18.8908 3.91902L20.8808 9.84304L21.9167 12.8095C21.9215 12.8232 21.926 12.837 21.9302 12.8509C22.0356 13.2009 22.0212 13.5751 21.8901 13.9158C21.7631 14.2456 21.5352 14.5224 21.2447 14.7122L13.7084 20.0097C12.6733 20.7372 11.293 20.7372 10.258 20.0097L2.7047 14.7003L2.70013 14.6971C2.41336 14.4931 2.195 14.2024 2.08286 13.8625C1.97101 13.5236 1.97246 13.1582 2.08682 12.8202L3.08366 9.83299L5.07768 3.89696C5.08366 3.87917 5.09014 3.86155 5.09711 3.84412C5.17596 3.64691 5.30022 3.47351 5.45712 3.33626L5.45344 3.3395Z" fill="#323232"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
2
static/images/social/mastodon.svg
Normal file
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg fill="#000000" width="800px" height="800px" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M 15.9375 4.03125 C 12.917 4.0435 9.9179219 4.4269844 8.3574219 5.1464844 C 8.3574219 5.1464844 5 6.6748594 5 11.880859 C 5 18.077859 4.9955 25.860234 10.5625 27.365234 C 12.6945 27.938234 14.527953 28.061562 16.001953 27.976562 C 18.676953 27.825562 20 27.005859 20 27.005859 L 19.910156 25.029297 C 19.910156 25.029297 18.176297 25.640313 16.029297 25.570312 C 13.902297 25.495313 11.6615 25.335688 11.3125 22.679688 C 11.2805 22.432688 11.264625 22.182594 11.265625 21.933594 C 15.772625 23.052594 19.615828 22.420969 20.673828 22.292969 C 23.627828 21.933969 26.199344 20.081672 26.527344 18.388672 C 27.041344 15.720672 26.998047 11.880859 26.998047 11.880859 C 26.998047 6.6748594 23.646484 5.1464844 23.646484 5.1464844 C 22.000984 4.3779844 18.958 4.019 15.9375 4.03125 z M 12.705078 8.0019531 C 13.739953 8.0297031 14.762578 8.4927031 15.392578 9.4707031 L 16.001953 10.505859 L 16.609375 9.4707031 C 17.874375 7.5037031 20.709594 7.6264375 22.058594 9.1484375 C 23.302594 10.596438 23.025391 11.531 23.025391 18 L 23.025391 18.001953 L 20.578125 18.001953 L 20.578125 12.373047 C 20.578125 9.7380469 17.21875 9.6362812 17.21875 12.738281 L 17.21875 16 L 14.787109 16 L 14.787109 12.738281 C 14.787109 9.6362812 11.429688 9.7360938 11.429688 12.371094 L 11.429688 18 L 8.9765625 18 C 8.9765625 11.526 8.7043594 10.585438 9.9433594 9.1484375 C 10.622859 8.3824375 11.670203 7.9742031 12.705078 8.0019531 z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -1,34 +1,25 @@
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
const themePath = path.join(__dirname, "data/theme.json");
|
||||
const themeRead = fs.readFileSync(themePath, "utf8");
|
||||
const theme = JSON.parse(themeRead);
|
||||
|
||||
let font_base = Number(theme.fonts.font_size.base.replace("px", ""));
|
||||
let font_scale = Number(theme.fonts.font_size.scale);
|
||||
let h6 = font_base / font_base;
|
||||
let h5 = h6 * font_scale;
|
||||
let h4 = h5 * font_scale;
|
||||
let h3 = h4 * font_scale;
|
||||
let h2 = h3 * font_scale;
|
||||
let h1 = h2 * font_scale;
|
||||
let fontPrimary, fontPrimaryType, fontSecondary, fontSecondaryType;
|
||||
if (theme.fonts.font_family.primary) {
|
||||
fontPrimary = theme.fonts.font_family.primary
|
||||
.replace(/\+/g, " ")
|
||||
.replace(/:[ital,]*[ital@]*[wght@]*[0-9,;]+/gi, "");
|
||||
fontPrimaryType = theme.fonts.font_family.primary_type;
|
||||
}
|
||||
if (theme.fonts.font_family.secondary) {
|
||||
fontSecondary = theme.fonts.font_family.secondary
|
||||
.replace(/\+/g, " ")
|
||||
.replace(/:[ital,]*[ital@]*[wght@]*[0-9,;]+/gi, "");
|
||||
fontSecondaryType = theme.fonts.font_family.secondary_type;
|
||||
}
|
||||
// Définition statique des couleurs principales (extraites de theme.json)
|
||||
const primary = {
|
||||
50: '#f8f9fa',
|
||||
100: '#f1f3f5',
|
||||
200: '#e9ecef',
|
||||
300: '#dee2e6',
|
||||
400: '#ced4da',
|
||||
500: '#121212',
|
||||
600: '#f46839',
|
||||
700: '#e57469',
|
||||
800: '#334d5c',
|
||||
900: '#121212',
|
||||
};
|
||||
const secondary = '#e57469'; // à adapter si besoin
|
||||
|
||||
const fontPrimary = 'Open Sans, sans-serif';
|
||||
const fontSecondary = 'Arial, sans-serif';
|
||||
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
presets: [require('./themes/hugo-saasify-theme/tailwind.config.js')],
|
||||
presets: [require('./themes/chill-theme/tailwind.config.js')],
|
||||
content: [
|
||||
"./themes/hugo-saasify-theme/layouts/**/*.html",
|
||||
"./layouts/**/*.html",
|
||||
@@ -36,53 +27,20 @@ module.exports = {
|
||||
],
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
primary,
|
||||
secondary,
|
||||
// Ajoutez ici d'autres couleurs statiques si besoin
|
||||
},
|
||||
|
||||
fontFamily: {
|
||||
sans: ['Inter', 'system-ui', 'sans-serif'],
|
||||
heading: ['Plus Jakarta Sans', 'sans-serif'],
|
||||
primary: [fontPrimary],
|
||||
secondary: [fontSecondary],
|
||||
},
|
||||
colors: {
|
||||
text: theme.colors.default.text_color.default,
|
||||
light: theme.colors.default.text_color.light,
|
||||
dark: theme.colors.default.text_color.dark,
|
||||
primary: theme.colors.default.theme_color.primary,
|
||||
secondary: theme.colors.default.theme_color.secondary,
|
||||
body: theme.colors.default.theme_color.body,
|
||||
border: theme.colors.default.theme_color.border,
|
||||
"theme-light": theme.colors.default.theme_color.theme_light,
|
||||
"theme-dark": theme.colors.default.theme_color.theme_dark,
|
||||
darkmode: {
|
||||
text: theme.colors.darkmode.text_color.default,
|
||||
light: theme.colors.darkmode.text_color.light,
|
||||
dark: theme.colors.darkmode.text_color.dark,
|
||||
primary: theme.colors.darkmode.theme_color.primary,
|
||||
secondary: theme.colors.darkmode.theme_color.secondary,
|
||||
body: theme.colors.darkmode.theme_color.body,
|
||||
border: theme.colors.darkmode.theme_color.border,
|
||||
"theme-light": theme.colors.darkmode.theme_color.theme_light,
|
||||
"theme-dark": theme.colors.darkmode.theme_color.theme_dark,
|
||||
},
|
||||
},
|
||||
fontSize: {
|
||||
base: font_base + "px",
|
||||
h1: h1 + "rem",
|
||||
"h1-sm": h1 * 0.8 + "rem",
|
||||
h2: h2 + "rem",
|
||||
"h2-sm": h2 * 0.8 + "rem",
|
||||
h3: h3 + "rem",
|
||||
"h3-sm": h3 * 0.8 + "rem",
|
||||
h4: h4 + "rem",
|
||||
h5: h5 + "rem",
|
||||
h6: h6 + "rem",
|
||||
},
|
||||
fontFamily: {
|
||||
primary: [fontPrimary, fontPrimaryType],
|
||||
secondary: [fontSecondary, fontSecondaryType],
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
require('@tailwindcss/forms'),
|
||||
require('@tailwindcss/typography'),
|
||||
],
|
||||
|
||||
}
|
||||