diff options
author | Volpeon <git@volpeon.ink> | 2021-04-28 06:53:58 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-04-28 06:53:58 +0200 |
commit | f3b2705e8cdd3bf3749816e09a5641aa3451e99f (patch) | |
tree | 9238e8bcba581c8865d935dfd27ed33867f0648d /templates/layouts | |
parent | Fixed modular scale (diff) | |
download | volpeon.ink-f3b2705e8cdd3bf3749816e09a5641aa3451e99f.tar.gz volpeon.ink-f3b2705e8cdd3bf3749816e09a5641aa3451e99f.tar.bz2 volpeon.ink-f3b2705e8cdd3bf3749816e09a5641aa3451e99f.zip |
Added preload directives, load SVG symbols from external file
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/index.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/layouts/index.html b/templates/layouts/index.html index 1099d27..18b1c69 100644 --- a/templates/layouts/index.html +++ b/templates/layouts/index.html | |||
@@ -24,7 +24,7 @@ | |||
24 | $endif$ | 24 | $endif$ |
25 | $if(it.icon)$ | 25 | $if(it.icon)$ |
26 | <svg class="c-card__icon o-icon"> | 26 | <svg class="c-card__icon o-icon"> |
27 | <use href="#icon-$it.icon$"></use> | 27 | <use href="/symbols.svg#icon-$it.icon$"></use> |
28 | </svg> | 28 | </svg> |
29 | $endif$ | 29 | $endif$ |
30 | <div class="c-card__content"> | 30 | <div class="c-card__content"> |
@@ -33,7 +33,7 @@ | |||
33 | </div> | 33 | </div> |
34 | $if(it.url)$ | 34 | $if(it.url)$ |
35 | <svg class="c-card__icon o-icon"> | 35 | <svg class="c-card__icon o-icon"> |
36 | <use href="#icon-arrow-up-right"></use> | 36 | <use href="/symbols.svg#icon-arrow-up-right"></use> |
37 | </svg> | 37 | </svg> |
38 | $endif$ | 38 | $endif$ |
39 | $if(it.url)$ | 39 | $if(it.url)$ |
@@ -55,7 +55,7 @@ $body$ | |||
55 | <a class="c-outer-button" href="#projects"> | 55 | <a class="c-outer-button" href="#projects"> |
56 | <span class="c-outer-button__icon"> | 56 | <span class="c-outer-button__icon"> |
57 | <svg class="c-outer-button__icon-symbol o-icon"> | 57 | <svg class="c-outer-button__icon-symbol o-icon"> |
58 | <use href="#icon-arrow-down-right"></use> | 58 | <use href="/symbols.svg#icon-arrow-down-right"></use> |
59 | </svg> | 59 | </svg> |
60 | </span> | 60 | </span> |
61 | <span class="c-outer-button__content"> | 61 | <span class="c-outer-button__content"> |
@@ -73,7 +73,7 @@ $body$ | |||
73 | <div class="c-project__card c-card"> | 73 | <div class="c-project__card c-card"> |
74 | $if(it.category.icon)$ | 74 | $if(it.category.icon)$ |
75 | <svg class="c-card__icon o-icon"> | 75 | <svg class="c-card__icon o-icon"> |
76 | <use href="#icon-$it.category.icon$"></use> | 76 | <use href="/symbols.svg#icon-$it.category.icon$"></use> |
77 | </svg> | 77 | </svg> |
78 | $endif$ | 78 | $endif$ |
79 | <div class="c-card__content"> | 79 | <div class="c-card__content"> |
@@ -81,7 +81,7 @@ $body$ | |||
81 | <strong class="u-db">$it.title$</strong> | 81 | <strong class="u-db">$it.title$</strong> |
82 | </div> | 82 | </div> |
83 | <svg class="c-card__icon o-icon"> | 83 | <svg class="c-card__icon o-icon"> |
84 | <use href="#icon-arrow-right"></use> | 84 | <use href="/symbols.svg#icon-arrow-right"></use> |
85 | </svg> | 85 | </svg> |
86 | </div> | 86 | </div> |
87 | </a> | 87 | </a> |