Skip to content

Commit 75031e4

Browse files
apply default i18n icon and remove down arrow
1 parent f55366a commit 75031e4

File tree

6 files changed

+6
-23
lines changed

6 files changed

+6
-23
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ follow the specific instructions for [How to write a blog post.](https://express
8585
**CSS or Javascript**
8686
- All css and js files are kept in `css` and `js` folders on the project root.
8787

88-
The Express JS website is build using [Jeykyll](https://jekyllrb.com/) and is hosted on [Github Pages](https://pages.github.com/).
88+
The Express JS website is built using [Jekyll](https://jekyllrb.com/) and is hosted on [Github Pages](https://pages.github.com/).
8989

9090
#### Step 3: Running the Application
9191

_includes/icons/i18n.svg

Lines changed: 3 additions & 0 deletions
Loading

_includes/icons/translation-global.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

_includes/language-picker-mobile.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<div id="mobile-menu">
22
<div id="language-picker-button" class="button" aria-haspopup="menu" aria-label="Change language">
3-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6" width="24" height="24" style="margin-top: 5px;">
4-
<path stroke-linecap="round" stroke-linejoin="round" d="m10.5 21 5.25-11.25L21 21m-9-3h7.5M3 5.621a48.474 48.474 0 0 1 6-.371m0 0c1.12 0 2.233.038 3.334.114M9 5.25V3m3.334 2.364C11.176 10.658 7.69 15.08 3 17.502m9.334-12.138c.896.061 1.785.147 2.666.257m-4.589 8.495a18.023 18.023 0 0 1-3.827-5.802" />
5-
</svg>
3+
{% include icons/i18n.svg %}
64
</div>
75
</div>
86
<div id="language-picker-menu">

_includes/language-picker.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{% assign current_lang = 'en' %}
77
{% endif %}
88
<button class="lang-btn" type="button" aria-haspopup="menu" aria-label="Change language">
9-
{% include icons/translation-global.svg %}
9+
{% include icons/i18n.svg %}
1010
<span id="current-lang"></span>
1111
</button>
1212
<ul class="lang-list submenu-content" aria-labelledby="current-lang" >

css/style.css

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -779,18 +779,6 @@ button.lang-btn {
779779
justify-content: center;
780780
align-items: center;
781781
gap: 0.5rem;
782-
783-
&::after {
784-
content: "";
785-
display: block;
786-
width: 0.8em;
787-
height: 0.5em;
788-
background-color: var(--card-fg);
789-
clip-path: polygon(100% 0%, 0 0%, 50% 100%);
790-
cursor: pointer;
791-
pointer-events: none;
792-
transition: transform 0.2s ease-in-out;
793-
}
794782
}
795783

796784
div.desktop-lang-switcher {
@@ -833,11 +821,6 @@ div.desktop-lang-switcher {
833821
}
834822
}
835823
}
836-
837-
/* rotate arrow */
838-
&:is(:hover,:focus-within) button.lang-btn::after {
839-
transform: rotate(180deg);
840-
}
841824
}
842825

843826
/* navigation */

0 commit comments

Comments
 (0)