Skip to content
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
44 changes: 44 additions & 0 deletions assets/scss/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,47 @@ h1 em {
padding: 60px 15px 40px;
}
}

.language-selector {
font-weight: 500;
font-size: 16px;
color: lighten($black, 13.33) !important;
padding: 8px 15px;
border: 2px solid transparent;
border-radius: 6px;
background-color: transparent;
cursor: pointer;
transition: all 0.3s ease;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
padding-right: 35px;

&:hover {
color: $primary-color !important;
border-color: lighten($primary-color, 20);
background-color: lighten($primary-color, 43);
}

&:focus {
outline: none;
border-color: $primary-color;
box-shadow: 0 0 0 0.2rem rgba($primary-color, 0.25);
}

option {
padding: 8px 15px;
font-weight: 500;
}
}

@media (max-width: 991px) {
.language-selector {
margin-bottom: 15px;
text-align: center;
width: auto;
min-width: 160px;
}
}


18 changes: 18 additions & 0 deletions config/_default/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,21 @@ suffixes = [""]
[outputFormats.WebAppManifest]
mediaType = "application/manifest+json"
rel = "manifest"

defaultContentLanguage = "fr"
defaultContentLanguageInSubdir = false

[languages]
[languages.fr]
languageName = "Français"
weight = 1

[languages.fr.params]
flag = "🇫🇷"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This format is not supported in more recent hugo version

Suggested change
flag = "🇫🇷"
[languages.fr.params]
flag = "🇫🇷"


[languages.en]
languageName = "English"
weight = 2

[languages.en.params]
flag = "🇬🇧"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idem not supported in newer version

Suggested change
flag = "🇬🇧"
[languages.en.params]
flag = "🇬🇧"

91 changes: 35 additions & 56 deletions config/_default/menus.toml → config/_default/menus.en.toml
Original file line number Diff line number Diff line change
@@ -1,56 +1,35 @@
# main menu
[[main]]
name = "Services"
url = "#services"
weight = 2

[[main]]
name = "Team"
url = "#team"
weight = 3

[[main]]
name = "Partners"
url = "#customers"
weight = 4

[[main]]
name = "Portfolio"
url = "portfolio/"
weight = 5

[[main]]
name = "Blog"
url = "blog/"
weight = 6

[[main]]
name = "Videos"
url = "videos/"
weight = 7

[[main]]
name = "Contact"
url = "#contact"
weight = 8

# footer menu
#[[footer]]
#name = "About"
#url = "about/"
#weight = 1
#
#[[footer]]
#name = "Blog"
#url = "blog/"
#weight = 2
#
#[[footer]]
#name = "Blog Details"
#url = "blog/post-1/"
#weight = 3
#
#[[footer]]
#name = "Terms & Conditions"
#url = "terms-and-conditions/"
#weight = 4
# English main menu
[[main]]
name = "Services"
url = "#services"
weight = 2

[[main]]
name = "Team"
url = "#team"
weight = 3

[[main]]
name = "Partners"
url = "#customers"
weight = 4

[[main]]
name = "Portfolio"
url = "portfolio/"
weight = 5

[[main]]
name = "Blog"
url = "blog/"
weight = 6

[[main]]
name = "Videos"
url = "videos/"
weight = 7

[[main]]
name = "Contact"
url = "#contact"
weight = 8
35 changes: 35 additions & 0 deletions config/_default/menus.fr.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# French main menu
[[main]]
name = "Services"
url = "#services"
weight = 2

[[main]]
name = "Équipe"
url = "#team"
weight = 3

[[main]]
name = "Partenaires"
url = "#customers"
weight = 4

[[main]]
name = "Portefeuille"
url = "portfolio/"
weight = 5

[[main]]
name = "Blog"
url = "blog/"
weight = 6

[[main]]
name = "Vidéos"
url = "videos/"
weight = 7

[[main]]
name = "Contact"
url = "#contact"
weight = 8
8 changes: 4 additions & 4 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ image = "images/logo.png" # this image will be used as fallback if a page has no
contact_form_action = "https://formspree.io/f/mqknqebr" # contact form works with https://formspree.io

# copyright
copyright = "©twiinIT - 2022-2024"
copyright = "©twiinIT - 2022-2025"

# custom script on header, example: custom_script= "<script>console.log(\"Hello World\")</script>"
custom_script= ""
Expand All @@ -35,10 +35,10 @@ black = "#3E3E3E"
primary_color = "#F2BF42"

# contact information
#[contact_info]
[contact_info]
#address = "2118 Thornridge Cir. Syracuse, Connecticut 35624"
#phone = ["+704-555-0127", "+205-857-2321", "+002-569-6969"]
#email = ["info@andromeda.io", "smith@anderson.io", "john@anderson.io"]
phone = ["+33-XXX-XXX-XXX"]
email = ["contact@twiinit.com"]

# imaging processing
[imaging]
Expand Down
File renamed without changes.
12 changes: 12 additions & 0 deletions content/_index.fr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
# banner
banner:
title: "Des jumeaux numériques pour *comprendre*, *concevoir* et *exploiter* vos produits"
button: "Notre Vision"
button_link: "#"


# contact
contact_image: "images/vectors/contact.png"

---
File renamed without changes.
6 changes: 6 additions & 0 deletions content/advisors/benoit.fr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
name: "Benoit Combemale"
image: "images/team/benoit.jpg"
designation: "Conseiller Scientifique"
weight: 200
---
10 changes: 5 additions & 5 deletions content/advisors/index.md → content/advisors/index.en.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
subtitle: "Our Advisors"
title: "External Partnerships"
headless: true
---
---
subtitle: "Our Advisors"
title: "External Partnerships"
headless: true
---
5 changes: 5 additions & 0 deletions content/advisors/index.fr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
subtitle: "Nos Conseillers"
title: "Partenariats Externes"
headless: true
---
12 changes: 6 additions & 6 deletions content/advisors/olivier.md → content/advisors/olivier.en.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: "Olivier Barais"
image: "images/team/olivier.jpg"
designation: "Technical Advisor"
weight: 201
---
---
name: "Olivier Barais"
image: "images/team/olivier.jpg"
designation: "Technical Advisor"
weight: 201
---
6 changes: 6 additions & 0 deletions content/advisors/olivier.fr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
name: "Olivier Barais"
image: "images/team/olivier.jpg"
designation: "Conseiller Technique"
weight: 201
---
11 changes: 5 additions & 6 deletions content/blog/_index.md → content/blog/_index.en.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: "Blog"
description: "meta description"
draft: false
---

---
title: "Blog"
description: "meta description"
draft: false
---
5 changes: 5 additions & 0 deletions content/blog/_index.fr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Blog"
description: "meta description"
draft: false
---
26 changes: 13 additions & 13 deletions content/blog/optim.md → content/blog/optim.en.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
date: "2022-03-23"
title: "Optimizing the product as a whole"
draft: false
author_info:
name: "Adrien Delsalle"
image: "images/team/adrien.jpeg"
image: "images/blog/optim_as_a_whole.jpg"
article_url: "https://www.linkedin.com/pulse/optimizing-product-whole-twiinit/?trackingId=5AmEy2%2FgCeMKVSbMIsJ6nA%3D%3D"
reading_time: "5 min"
---

The best product is not the collection of the best parts (...)
---
date: "2022-03-23"
title: "Optimizing the product as a whole"
draft: false
author_info:
name: "Adrien Delsalle"
image: "images/team/adrien.jpeg"
image: "images/blog/optim_as_a_whole.jpg"
article_url: "https://www.linkedin.com/pulse/optimizing-product-whole-twiinit/?trackingId=5AmEy2%2FgCeMKVSbMIsJ6nA%3D%3D"
reading_time: "5 min"
---
The best product is not the collection of the best parts (...)
13 changes: 13 additions & 0 deletions content/blog/optim.fr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
date: "2022-03-23"
title: "Optimiser le produit dans son ensemble"
draft: false
author_info:
name: "Adrien Delsalle"
image: "images/team/adrien.jpeg"
image: "images/blog/optim_as_a_whole.jpg"
article_url: "https://www.linkedin.com/pulse/optimizing-product-whole-twiinit/?trackingId=5AmEy2%2FgCeMKVSbMIsJ6nA%3D%3D"
reading_time: "5 min"
---

Le meilleur produit n'est pas la collection des meilleures parties (...)
13 changes: 13 additions & 0 deletions content/contact/_index.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: "Contact us"
subtitle: "Get in touch"
contact_image: "images/vectors/contact.png"
form_title: "Send A Message"
form_name_label: "Full Name"
form_email_label: "Email Address"
form_message_label: "Your Message"
form_phone_label: "Phone"
form_button_label: "Send Message"
form_success_message: "Thanks for your submission!"
form_error_message: "Oops! There was a problem submitting your form"
---
13 changes: 13 additions & 0 deletions content/contact/_index.fr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: "Contactez-nous"
subtitle: "Prenez contact"
contact_image: "images/vectors/contact.png"
form_title: "Envoyer un message"
form_name_label: "Nom complet"
form_email_label: "Adresse e-mail"
form_message_label: "Votre message"
form_phone_label: "Téléphone"
form_button_label: "Envoyer le message"
form_success_message: "Merci pour votre soumission !"
form_error_message: "Oops ! Il y a eu un problème lors de l'envoi de votre formulaire"
---
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
image: "images/brands/centrale_lyon.png"
external_url: "https://www.ec-lyon.fr/"
---
---
image: "images/brands/centrale_lyon.png"
external_url: "https://www.ec-lyon.fr/"
---
4 changes: 4 additions & 0 deletions content/customers/centrale_lyon.fr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
image: "images/brands/centrale_lyon.png"
external_url: "https://www.ec-lyon.fr/"
---
Loading