Skip to content

Commit c9320d6

Browse files
17cupsofcoffeeAlexEne
authored andcommitted
Use consistent icons on the homepage (fixes #12) (#13)
1 parent 8dab245 commit c9320d6

File tree

4 files changed

+69
-4
lines changed

4 files changed

+69
-4
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ This project is licensed under either of:
1010
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
1111
http://opensource.org/licenses/MIT)
1212

13-
With the exception of the [Font Awesome](https://fontawesome.com) social icons, which are used under a [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/) license.
13+
With the exception of:
14+
15+
* The [Font Awesome](https://fontawesome.com) social icons, which are used under a [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/) license
16+
* The [OpenMoji](https://openmoji.org) icons used on the homepage, which are used under a [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/) license

_layouts/home.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
<section class="intro">
77
<div class="wrapper">
88
<p class="intro-icons" aria-hidden="true">
9-
🦀 💖 🕹️
9+
<svg><use xlink:href="{{ '/assets/intro-icons.svg#crab' | relative_url }}"></use></svg>
10+
<svg><use xlink:href="{{ '/assets/intro-icons.svg#heart' | relative_url }}"></use></svg>
11+
<svg><use xlink:href="{{ '/assets/intro-icons.svg#joystick' | relative_url }}"></use></svg>
1012
</p>
1113
<p class="intro-lead">
1214
Making Rust a first-class choice for game development

_sass/extra.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ li {
1111
border-bottom: 1px solid #e8e8e8;
1212
text-align: center;
1313

14-
.intro-icons {
15-
font-size: 2em;
14+
.intro-icons svg {
15+
width: 92px;
16+
height: 92px;
1617
}
1718

1819
.intro-lead {

assets/intro-icons.svg

Lines changed: 59 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)