Skip to content

Commit 78905aa

Browse files
authored
Re-Draw Logo As SVG (#1544)
1 parent 9ff475e commit 78905aa

15 files changed

+640
-2
lines changed

Diff for: .github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
--exclude 'https://www.patreon.com'
4949
--exclude 'https://gamedev.social'
5050
--exclude 'dev.epicgames.com'
51+
--exclude-path 'assets/logo/readme.md'
5152
${{ steps.changed-files.outputs.changed_files }}
5253
- name: Install Zola
5354
run: |

Diff for: assets/logo/readme.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Logo
2+
3+
The vectorized logo is a re-drawn version based on
4+
[@shmutalov](https://github.com/shmutalov)'s [original, rasterized version](https://github.com/rust-gamedev/wg/issues/4).
5+
6+
It incorporates the official [rust-logo-gear-only.svg](https://github.com/rust-lang/rust-artwork/blob/master/logo/rust-logo-gear-only.svg).
7+
8+
## Exporting
9+
10+
The various exported PNG's in [static](../static/) can be found in [rust-gamedev-logo-raw.svg](./rust-gamedev-logo-raw.svg) as individual (Inkscape) pages.
11+
12+
After exporting be sure to run `svgo` on the exported SVG and `optipng` on the exported PNGs.

Diff for: assets/logo/rust-gamedev-logo-raw.svg

+622
Loading

Diff for: static/android-chrome-192x192.png

-2.58 KB
Loading

Diff for: static/android-chrome-512x512.png

1.31 KB
Loading

Diff for: static/apple-touch-icon.png

-2.16 KB
Loading

Diff for: static/favicon-16x16.png

105 Bytes
Loading

Diff for: static/favicon-32x32.png

363 Bytes
Loading

Diff for: static/favicon.svg

+1
Loading

Diff for: static/logo.png

-14.3 KB
Binary file not shown.

Diff for: static/logo.svg

+1
Loading

Diff for: static/logo_small.png

-3.44 KB
Binary file not shown.

Diff for: static/social-card.png

33.9 KB
Loading

Diff for: templates/includes/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<header class="site-header">
22
<div class="wrapper">
33
<a class="site-title" rel="author" href="/">
4-
<img src="{{ get_url(path='logo_small.png') }}" width="48" height="48" alt="" />
4+
<img src="{{ get_url(path='logo.svg') }}" width="48" height="48" alt="" />
55
{{ config.title | default(value="Minima") }}
66
</a>
77

Diff for: templates/index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@
2323
<link rel="canonical" href="{{ get_url(path='/' )}}">
2424
{% endblock seo %}
2525

26-
<meta property="og:image" content="{{ get_url(path='logo.png') }}">
26+
<meta property="og:image" content="{{ get_url(path='social-card.png') }}">
2727
<meta property="og:image:width" content="200">
2828
<meta property="og:image:height" content="200">
2929
<meta property="og:site_name" content="{{ config.title | default(value="Minima") }}">
3030

3131
<link rel="stylesheet" href="{{ get_url(path="style.css") }}">
3232
<link rel="apple-touch-icon" sizes="180x180" href="{{ get_url(path='apple-touch-icon.png') }}">
33+
<link rel="icon" type="image/svg+xml" href="{{get_url(path="favicon.svg")}}">
3334
<link rel="icon" type="image/png" sizes="32x32" href="{{ get_url(path="favicon-32x32.png") }}">
3435
<link rel="icon" type="image/png" sizes="16x16" href="{{ get_url(path="favicon-16x16.png") }}">
3536
<link rel="manifest" href="{{ get_url(path="site.webmanifest") }}">

0 commit comments

Comments
 (0)