summaryrefslogtreecommitdiffstats
path: root/templates/layouts/index.html
blob: 8eeeb033b46785755796aa548d27d88ea386dc48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<section class="l-section l-section--fullscreen l-section--no-head l-landing">
    <header class="l-landing__banner">
        <div class="c-landing-banner l-container l-container--pad-x l-container--pad-y l-container--content">
            <h1 class="c-landing-banner__title">
                <span class="c-landing-banner__title-inner">
                    I'm a <strong class="c-landing-banner__emph">red fox</strong> in disguise.
                </span>
            </h1>
            <p class="c-landing-banner__text s-body">
                Hi, I'm Volpeon. I enjoy programming, creating vector art and designing user interfaces.
            </p>
        </div>
    </header>

    <section class="l-landing__content">
        <div class="l-container l-container--pad-x l-container--pad-y l-container--content u-pt0@md-lo">
            <div class="l-card-grid">
                $for(profiles)$
                    $if(it.featured)$
                        $if(it.url)$
                            <a class="l-card-grid__card c-card" href="$it.url$">
                        $else$
                            <div class="l-card-grid__card c-card">
                        $endif$
                            $if(it.icon)$
                                <svg class="c-card__icon o-icon">
                                    <use href="/symbols.svg#icon-$it.icon$"></use>
                                </svg>
                            $endif$
                            <div class="c-card__content">
                                <strong class="u-db">$it.platform$</strong>
                                <small class="u-db">$it.username$</small>
                            </div>
                            $if(it.url)$
                                <svg class="c-card__icon o-icon">
                                    <use href="/symbols.svg#icon-arrow-up-right"></use>
                                </svg>
                            $endif$
                        $if(it.url)$
                            </a>
                        $else$
                            </div>
                        $endif$
                    $endif$
                $endfor$
            </div>

$body$
        </div>
    </section>
</section>

<section class="l-section" id="projects">
    <header class="l-section__head l-section__head--sticky">
        <a class="c-outer-button" href="#projects">
            <span class="c-outer-button__icon">
                <svg class="c-outer-button__icon-symbol o-icon">
                    <use href="/symbols.svg#icon-arrow-down-right"></use>
                </svg>
            </span>
            <span class="c-outer-button__content">
                $pages.by_id.projects.title$
            </span>
        </a>
    </header>

    <div class="l-container l-container--pad-x l-container--pad-y l-project-grid">
        $for(pages.by_id.projects.pages.all)$
            $for(it.pages.all)$
                <a class="l-project-grid__project c-project" href="$it.url.rel$">
                    $if(it.preview)$
                        <img class="c-project__picture" src="$it.preview.rel$" />
                    $endif$
                    <div class="c-project__card c-card">
                        $if(pages.by_id.projects.pages.all.icon)$
                            <svg class="c-card__icon o-icon">
                                <use href="/symbols.svg#icon-$pages.by_id.projects.pages.all.icon$"></use>
                            </svg>
                        $endif$
                        <div class="c-card__content">
                            <small class="u-db">$pages.by_id.projects.pages.all.title$</small>
                            <strong class="u-db">$it.title$</strong>
                        </div>
                        <svg class="c-card__icon o-icon">
                            <use href="/symbols.svg#icon-arrow-right"></use>
                        </svg>
                    </div>
                </a>
            $endfor$
        $endfor$
    </div>
</section>