summaryrefslogtreecommitdiffstats
path: root/templates/layouts/index.html
blob: d1821f26ec66f22d4d650b3340ad1d70eee84e19 (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
<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">
                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="#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="#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">
        <a class="c-outer-button" href="#projects">
            <span class="c-outer-button__icon">
                <svg class="c-outer-button__icon-symbol o-icon">
                    <use href="#icon-arrow-down-right"></use>
                </svg>
            </span>
            <span class="c-outer-button__content">
                $subsections.projects.title$
            </span>
        </a>
    </header>

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