Skip to content

Commit 8898078

Browse files
author
Aytackydln
committed
performance improvements
1 parent 4933b0a commit 8898078

11 files changed

Lines changed: 13 additions & 12 deletions

File tree

279 KB
Binary file not shown.

themes/aurora/assets/scss/elements/_alert.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
height: 24px;
1818
content: " ";
1919
transform: translateY(-50%);
20-
background: url("../img/alert-icons.png");
20+
background: url("/img/alert-icons.webp");
2121
background-size: 48px;
2222
}
2323

themes/aurora/assets/scss/elements/_form.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ input, button, .button {
6767
left: 9px;
6868
width: 18px;
6969
height: 18px;
70-
background: url("../img/search-icon.png");
70+
background: url("/img/search-icon.webp");
7171
background-size: 18px;
7272
}
7373
}

themes/aurora/assets/scss/main.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,16 @@ h1 {
7575
padding: 0 10px;
7676
}
7777

78+
@font-face {
79+
font-family: 'Material Symbols Outlined';
80+
font-style: normal;
81+
font-weight: 400;
82+
src: url('/fonts/MaterialIconsOutlined.woff2') format('woff2');
83+
font-display: block;
84+
}
85+
7886
a[target="_blank"]:after {
79-
content: "open_in_new";
87+
content: "\e89e";
8088
margin-left: 5px;
8189

8290
font-family: 'Material Symbols Outlined';

themes/aurora/layouts/_default/baseof.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
{{ partial "head.html" . }}
55
{{ partial "gtg.html" . }}
66
{{ partial "gads.html" . }}
7-
{{ partial "google-icons.html" . }}
87
</head>
98
<body>
109
{{ partial "header.html" . }}

themes/aurora/layouts/partials/content.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h1 class="page-title">{{ default $.Site.Title .Title }}</h1><br/>
1414
<ul class="author-list">
1515
{{ range .Params.authors }}
1616
<li data-username="{{ . }}"><a rel="author" href="https://github.com/{{ . }}" target="_blank">
17-
<img class="avatar avatar-small" alt="{{ . }}" src="https://github.com/{{ . }}.png?size=32" width="32" height="32" />
17+
<img class="avatar avatar-small" alt="{{ . }}" src="https://github.com/{{ . }}.png?size=32" width="32" height="32" loading="lazy" />
1818
</a></li>
1919
{{ end }}
2020
</ul>

themes/aurora/layouts/partials/google-icons.html

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

themes/aurora/layouts/partials/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<!-- Image and title -->
99
<a href="https://www.project-aurora.com">
1010
<div class="container">
11-
<img class="site-logo" src="/img/site-logo.png" alt="Aurora Logo" width="128" height="128">
11+
<img class="site-logo" src="/img/site-logo.webp" alt="Aurora Logo" width="128" height="128">
1212
<span class="site-title text-white">{{ $.Site.Title }}</span>
1313
</div>
1414
</a>
13.9 KB
Loading
13.3 KB
Loading

0 commit comments

Comments
 (0)