Skip to content

Commit 9da6dd8

Browse files
feat: add logo (#21)
1 parent 5cd3eef commit 9da6dd8

9 files changed

Lines changed: 23 additions & 23 deletions

File tree

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
<div class="brand">
2-
{% if lang and lang !== defaultLanguage %}
3-
{% set homeUrl = "/" + supportedLanguages[locale].slug %}
4-
{% else %}
5-
{% set lang = defaultLanguage %}
6-
{% set homeUrl = "/" %}
7-
{% endif %}
8-
9-
<a rel="home" href="{{ homeUrl }}"{% if page.url === homeUrl %} aria-current="page"{% endif %}>{{ site[locale].name }}</a>
2+
<a rel="home" href="/"{% if page.url === '/' %} aria-current="page"{% endif %}>
3+
{% include "svg/logo.svg" %}
4+
{# {% include "svg/logo-mono.svg" %} #}
5+
<span class="visually-hidden">{{ site.name }}</span>
6+
</a>
107
</div>

src/_includes/svg/logo.svg

Lines changed: 1 addition & 1 deletion
Loading
-3.78 KB
Loading

src/assets/icons/favicon.ico

26.9 KB
Binary file not shown.

src/assets/icons/icon-192.png

-4.67 KB
Loading

src/assets/icons/icon-512.png

-16.4 KB
Loading

src/assets/icons/icon.svg

Lines changed: 1 addition & 6 deletions
Loading

src/assets/styles/components/_brand.scss

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,15 @@
3131
fill: var(--fl-bgColor, #fff);
3232
}
3333

34-
&.mono {
35-
display: none;
34+
.cls-4 {
35+
fill: var(--fl-linkColor, #33717f);
36+
}
37+
38+
.cls-5 {
39+
stroke: var(--fl-linkColor, #30454f);
40+
}
41+
42+
.cls-6 {
43+
stroke: var(--fl-bgColor, #fff);
3644
}
3745
}

src/assets/styles/themes/_uio.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
color: var(--fl-bgColor) !important;
2020
}
2121

22-
.brand .logo {
23-
display: none !important;
22+
// .brand .logo {
23+
// display: none !important;
2424

25-
&.mono {
26-
display: block !important;
27-
}
28-
}
25+
// &.mono {
26+
// display: block !important;
27+
// }
28+
// }
2929

3030
.call-to-action {
3131
border: var(--border-thin) solid var(--fl-fgColor);

0 commit comments

Comments
 (0)