Skip to content

Commit 2becbde

Browse files
committed
a bunch of stuff I should have updated
1 parent 276e8d2 commit 2becbde

File tree

11 files changed

+75
-6
lines changed

11 files changed

+75
-6
lines changed

assets/css/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ function logoFade() {
9191
$('p').addClass('application');
9292
$('h1').addClass('application');
9393
$('.showcase-text').addClass('application');
94+
$('.showcase-caption').addClass('application');
9495
$('.top-bar,.slideUp,.footer,.hamburger-bg').velocity({'background-color': color.bg},{duration:1400});
9596
$('.top-bar a, .slideUpLink').velocity({color:color.ring},{duration:400});
9697
$('.top-bar a.is-active').velocity({color:color.main},{duration:400});

assets/scss/_base.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@ p {
276276
color:$white;
277277
margin-bottom: 2rem;
278278
font-style: italic;
279+
&.application {
280+
color: $dark-gray;
281+
}
279282
}
280283
.full-width {
281284
width:100%;

site/blueprints/files/default.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
title: Default File
2+
3+
fields:
4+
alt:
5+
label: Alt Text
6+
type: text

site/blueprints/files/image.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
title: Image
2+
3+
columns:
4+
- width: 1/2
5+
sections:
6+
content:
7+
type: fields
8+
fields:
9+
caption:
10+
label: Caption
11+
type: textarea
12+
size: medium
13+
- width: 1/2
14+
sections:
15+
meta:
16+
type: fields
17+
fields:
18+
alt:
19+
label: Alternative Text
20+
type: text
21+
photographer:
22+
label: Photogapher
23+
type: text
24+
width: 2/3
25+
license:
26+
label: License
27+
type: select
28+
width: 1/3
29+
options:
30+
- Unsplash
31+
- CC BY 4.0
32+
- CC BY-SA 4.0
33+
- CC BY-NC 4.0
34+
- CC BY-ND 4.0
35+
link:
36+
label: Link
37+
type: url

site/blueprints/project.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ fields:
3838
image-text: image-text
3939
contact: contact
4040
text-box: text-box
41+
team: team

site/snippets/showcase.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<div class='ghost-box'></div>
2-
<?php foreach($data->images()->sortBy('sort', 'asc') as $image): ?>
2+
<?php foreach($data->files()->sortBy('sort', 'asc') as $image): ?>
33
<div class="show-for-large cf grid-x grid-padding-x">
4-
<div class='large-3 cell'>
4+
<div class='large-8 cell'>
55
<img class='showcase-image' src="<?= $image->url() ?>" alt="<?= $data->title()->html() ?>" />
66
<div class='showcase-caption'><?= $image->caption()->html() ?></div>
77
</div>
8-
<div class='large-13 columns'>
9-
<div class='showcase-text'><?= $image->text()->html() ?></div>
8+
<div class='large-8 columns'>
9+
<div class='showcase-text'><?= $image->text()->kirbytext() ?></div>
1010
</div>
1111
</div>
1212
<div class="hide-for-large cf grid-x">
1313
<div class='medium-14 small-centered cell'>
14-
<div class='showcase-text'><?= $image->text()->html() ?></div>
14+
<div class='showcase-text'><?= $image->text()->kirbytext() ?></div>
1515
</div>
1616
<div class='medium-14 small-centered cell'>
1717
<img class='showcase-image' src="<?= $image->url() ?>" alt="<?= $data->title()->html() ?>" />

site/snippets/team.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<div class='ghost-box'></div>
2+
<?php foreach($data->images()->sortBy('sort', 'asc') as $image): ?>
3+
<div class="show-for-large cf grid-x grid-padding-x">
4+
<div class='large-3 cell'>
5+
<img class='showcase-image' src="<?= $image->url() ?>" alt="<?= $data->title()->html() ?>" />
6+
<div class='showcase-caption'><?= $image->caption()->html() ?></div>
7+
</div>
8+
<div class='large-13 columns'>
9+
<div class='showcase-text'><?= $image->text()->html() ?></div>
10+
</div>
11+
</div>
12+
<div class="hide-for-large cf grid-x">
13+
<div class='medium-14 small-centered cell'>
14+
<div class='showcase-text'><?= $image->text()->html() ?></div>
15+
</div>
16+
<div class='medium-14 small-centered cell'>
17+
<img class='showcase-image' src="<?= $image->url() ?>" alt="<?= $data->title()->html() ?>" />
18+
<div class='showcase-caption'><?= $image->caption()->html() ?></div>
19+
</div>
20+
</div>
21+
<?php endforeach ?>
-8.62 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)