Skip to content

Commit f4fb019

Browse files
authored
Revert "feat: translations (#57) (#61)" (#62)
This reverts commit c71df39. Some issue were not spotted before deployement.
1 parent c71df39 commit f4fb019

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+634
-1009
lines changed

assets/scss/custom.scss

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -94,47 +94,3 @@ h1 em {
9494
padding: 60px 15px 40px;
9595
}
9696
}
97-
98-
.language-selector {
99-
font-weight: 500;
100-
font-size: 16px;
101-
color: lighten($black, 13.33) !important;
102-
padding: 8px 15px;
103-
border: 2px solid transparent;
104-
border-radius: 6px;
105-
background-color: transparent;
106-
cursor: pointer;
107-
transition: all 0.3s ease;
108-
appearance: none;
109-
-webkit-appearance: none;
110-
-moz-appearance: none;
111-
padding-right: 35px;
112-
113-
&:hover {
114-
color: $primary-color !important;
115-
border-color: lighten($primary-color, 20);
116-
background-color: lighten($primary-color, 43);
117-
}
118-
119-
&:focus {
120-
outline: none;
121-
border-color: $primary-color;
122-
box-shadow: 0 0 0 0.2rem rgba($primary-color, 0.25);
123-
}
124-
125-
option {
126-
padding: 8px 15px;
127-
font-weight: 500;
128-
}
129-
}
130-
131-
@media (max-width: 991px) {
132-
.language-selector {
133-
margin-bottom: 15px;
134-
text-align: center;
135-
width: auto;
136-
min-width: 160px;
137-
}
138-
}
139-
140-

config/_default/config.toml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,3 @@ suffixes = [""]
4242
[outputFormats.WebAppManifest]
4343
mediaType = "application/manifest+json"
4444
rel = "manifest"
45-
46-
defaultContentLanguage = "fr"
47-
defaultContentLanguageInSubdir = false
48-
49-
[languages]
50-
[languages.fr]
51-
languageName = "Français"
52-
weight = 1
53-
54-
[languages.fr.params]
55-
flag = "🇫🇷"
56-
57-
[languages.en]
58-
languageName = "English"
59-
weight = 2
60-
61-
[languages.en.params]
62-
flag = "🇬🇧"

config/_default/menus.fr.toml

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 56 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,56 @@
1-
# English main menu
2-
[[main]]
3-
name = "Services"
4-
url = "#services"
5-
weight = 2
6-
7-
[[main]]
8-
name = "Team"
9-
url = "#team"
10-
weight = 3
11-
12-
[[main]]
13-
name = "Partners"
14-
url = "#customers"
15-
weight = 4
16-
17-
[[main]]
18-
name = "Portfolio"
19-
url = "portfolio/"
20-
weight = 5
21-
22-
[[main]]
23-
name = "Blog"
24-
url = "blog/"
25-
weight = 6
26-
27-
[[main]]
28-
name = "Videos"
29-
url = "videos/"
30-
weight = 7
31-
32-
[[main]]
33-
name = "Contact"
34-
url = "#contact"
35-
weight = 8
1+
# main menu
2+
[[main]]
3+
name = "Services"
4+
url = "#services"
5+
weight = 2
6+
7+
[[main]]
8+
name = "Team"
9+
url = "#team"
10+
weight = 3
11+
12+
[[main]]
13+
name = "Partners"
14+
url = "#customers"
15+
weight = 4
16+
17+
[[main]]
18+
name = "Portfolio"
19+
url = "portfolio/"
20+
weight = 5
21+
22+
[[main]]
23+
name = "Blog"
24+
url = "blog/"
25+
weight = 6
26+
27+
[[main]]
28+
name = "Videos"
29+
url = "videos/"
30+
weight = 7
31+
32+
[[main]]
33+
name = "Contact"
34+
url = "#contact"
35+
weight = 8
36+
37+
# footer menu
38+
#[[footer]]
39+
#name = "About"
40+
#url = "about/"
41+
#weight = 1
42+
#
43+
#[[footer]]
44+
#name = "Blog"
45+
#url = "blog/"
46+
#weight = 2
47+
#
48+
#[[footer]]
49+
#name = "Blog Details"
50+
#url = "blog/post-1/"
51+
#weight = 3
52+
#
53+
#[[footer]]
54+
#name = "Terms & Conditions"
55+
#url = "terms-and-conditions/"
56+
#weight = 4

config/_default/params.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ image = "images/logo.png" # this image will be used as fallback if a page has no
1919
contact_form_action = "https://formspree.io/f/mqknqebr" # contact form works with https://formspree.io
2020

2121
# copyright
22-
copyright = "©twiinIT - 2022-2025"
22+
copyright = "©twiinIT - 2022-2024"
2323

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

3737
# contact information
38-
[contact_info]
38+
#[contact_info]
3939
#address = "2118 Thornridge Cir. Syracuse, Connecticut 35624"
40-
phone = ["+33-XXX-XXX-XXX"]
41-
email = ["[email protected]"]
40+
#phone = ["+704-555-0127", "+205-857-2321", "+002-569-6969"]
41+
4242

4343
# imaging processing
4444
[imaging]

content/_index.fr.md

Lines changed: 0 additions & 12 deletions
This file was deleted.
File renamed without changes.

content/advisors/benoit.fr.md

Lines changed: 0 additions & 6 deletions
This file was deleted.
File renamed without changes.

content/advisors/index.fr.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)