Skip to content

Commit

Permalink
Re-Draw Logo As SVG (#1544)
Browse files Browse the repository at this point in the history
  • Loading branch information
bash authored Jul 3, 2024
1 parent 9ff475e commit 78905aa
Show file tree
Hide file tree
Showing 15 changed files with 640 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
--exclude 'https://www.patreon.com'
--exclude 'https://gamedev.social'
--exclude 'dev.epicgames.com'
--exclude-path 'assets/logo/readme.md'
${{ steps.changed-files.outputs.changed_files }}
- name: Install Zola
run: |
Expand Down
12 changes: 12 additions & 0 deletions assets/logo/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Logo

The vectorized logo is a re-drawn version based on
[@shmutalov](https://github.com/shmutalov)'s [original, rasterized version](https://github.com/rust-gamedev/wg/issues/4).

It incorporates the official [rust-logo-gear-only.svg](https://github.com/rust-lang/rust-artwork/blob/master/logo/rust-logo-gear-only.svg).

## Exporting

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.

After exporting be sure to run `svgo` on the exported SVG and `optipng` on the exported PNGs.
622 changes: 622 additions & 0 deletions assets/logo/rust-gamedev-logo-raw.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/logo.png
Binary file not shown.
1 change: 1 addition & 0 deletions static/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/logo_small.png
Binary file not shown.
Binary file added static/social-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion templates/includes/header.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<header class="site-header">
<div class="wrapper">
<a class="site-title" rel="author" href="/">
<img src="{{ get_url(path='logo_small.png') }}" width="48" height="48" alt="" />
<img src="{{ get_url(path='logo.svg') }}" width="48" height="48" alt="" />
{{ config.title | default(value="Minima") }}
</a>

Expand Down
3 changes: 2 additions & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@
<link rel="canonical" href="{{ get_url(path='/' )}}">
{% endblock seo %}

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

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

0 comments on commit 78905aa

Please sign in to comment.