summaryrefslogtreecommitdiffstats
path: root/templates/layouts/index.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-06-14 19:10:05 +0200
committerVolpeon <git@volpeon.ink>2021-06-14 19:10:05 +0200
commit8ecde1a5d790ea6c8ac653ca197fb0ec9013e7da (patch)
treef921fe76fc3acec99a3e1f628399b1ea1cc8ba6b /templates/layouts/index.html
parentRestructured some variables (diff)
downloadvolpeon.ink-8ecde1a5d790ea6c8ac653ca197fb0ec9013e7da.tar.gz
volpeon.ink-8ecde1a5d790ea6c8ac653ca197fb0ec9013e7da.tar.bz2
volpeon.ink-8ecde1a5d790ea6c8ac653ca197fb0ec9013e7da.zip
Simplified card component code
Diffstat (limited to 'templates/layouts/index.html')
-rw-r--r--templates/layouts/index.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/layouts/index.html b/templates/layouts/index.html
index 8eeeb03..00d25af 100644
--- a/templates/layouts/index.html
+++ b/templates/layouts/index.html
@@ -23,16 +23,16 @@
23 <div class="l-card-grid__card c-card"> 23 <div class="l-card-grid__card c-card">
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__block o-icon">
27 <use href="/symbols.svg#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__block c-card__block--main">
31 <strong class="u-db">$it.platform$</strong> 31 <strong class="u-db">$it.platform$</strong>
32 <small class="u-db">$it.username$</small> 32 <small class="u-db">$it.username$</small>
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__block o-icon">
36 <use href="/symbols.svg#icon-arrow-up-right"></use> 36 <use href="/symbols.svg#icon-arrow-up-right"></use>
37 </svg> 37 </svg>
38 $endif$ 38 $endif$
@@ -73,15 +73,15 @@ $body$
73 $endif$ 73 $endif$
74 <div class="c-project__card c-card"> 74 <div class="c-project__card c-card">
75 $if(pages.by_id.projects.pages.all.icon)$ 75 $if(pages.by_id.projects.pages.all.icon)$
76 <svg class="c-card__icon o-icon"> 76 <svg class="c-card__block o-icon">
77 <use href="/symbols.svg#icon-$pages.by_id.projects.pages.all.icon$"></use> 77 <use href="/symbols.svg#icon-$pages.by_id.projects.pages.all.icon$"></use>
78 </svg> 78 </svg>
79 $endif$ 79 $endif$
80 <div class="c-card__content"> 80 <div class="c-card__block c-card__block--main">
81 <small class="u-db">$pages.by_id.projects.pages.all.title$</small> 81 <small class="u-db">$pages.by_id.projects.pages.all.title$</small>
82 <strong class="u-db">$it.title$</strong> 82 <strong class="u-db">$it.title$</strong>
83 </div> 83 </div>
84 <svg class="c-card__icon o-icon"> 84 <svg class="c-card__block o-icon">
85 <use href="/symbols.svg#icon-arrow-right"></use> 85 <use href="/symbols.svg#icon-arrow-right"></use>
86 </svg> 86 </svg>
87 </div> 87 </div>