-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d399a53
commit e87d22f
Showing
22 changed files
with
145 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
- title: "Hadrosaur" | ||
details: "Rescue this wonderful dino" | ||
button_text: "Save a Hadrosaur" | ||
image: "hadrosaur.jpg" | ||
|
||
- title: "Diplodocus" | ||
details: "Save all the Diplodocuses!" | ||
button_text: "Rescue a Diplo" | ||
image: "diplodocus.jpg" | ||
|
||
- title: "Iguanodon" | ||
details: "Wonderful, kinda Iguanodon" | ||
button_text: "Preserve an Iguanodon" | ||
image: "iguanodon.jpg" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-ca"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Yay!</title> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
<link href="/css/main.css" rel="stylesheet"> | ||
</head> | ||
<body> | ||
|
||
{% pattern header/header %} | ||
|
||
<main> | ||
{{content}} | ||
</main> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<a class="btn" href="#">{{include.text | default:'Rescue a dino'}}</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.btn { | ||
background-color: var(--color-primary-dark); | ||
border-color: var(--color-primary-dark); | ||
color: var(--color-secondary-light); | ||
} | ||
|
||
.btn:hover { | ||
background-color: var(--color-primary); | ||
border-color: var(--color-primary); | ||
} | ||
|
||
.btn-ghost { | ||
background-color: transparent; | ||
color: var(--color-primary-dark); | ||
} | ||
|
||
.btn-ghost:hover { | ||
color: var(--color-secondary-light); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
title: "Buttons, buttons—oh my!" | ||
description: | | ||
Lots of different buttons styles, each for different reasons. | ||
patterns: | ||
basic: | ||
title: "Super basic button" | ||
description: | | ||
The basic button should be used in almost all situations. | ||
fields: | ||
- name: text | ||
type: string | ||
example: "Rescue a Diplodocus" | ||
ghost: | ||
description: | | ||
The Ghost Button should only be used on banners, and in situations where the background is a photo. | ||
width: 320 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<a class="btn btn-ghost">Adopt a Dino</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.card { | ||
border: 4px solid var(--color-primary-light); | ||
border-radius: var(--border-radius); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
patterns: | ||
image: | ||
width: 400 | ||
fields: | ||
- name: data | ||
data: | ||
source: site.data.dinos[2] | ||
type: "Dino" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div class="card chop"> | ||
<img class="img-flex" src="/images/dinos/{{include.data.image}}" alt=""> | ||
<div class="island-1-2"> | ||
<h2>{{include.data.title}}</h2> | ||
<p>{{include.data.details}}</p> | ||
{% pattern buttons/basic text=include.data.button_text %} | ||
</div> | ||
</div> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<header class="masthead section-light"> | ||
<h1><img src="/images/logo.svg" alt="Dino Rescue"></h1> | ||
<nav> | ||
<ul> | ||
<li><a href="/">Home</a></li> | ||
<li><a href="/dinos/">Dinos</a></li> | ||
</ul> | ||
</nav> | ||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
--- | ||
|
||
{% include_relative modules.css %} | ||
{% include_relative grid.css %} | ||
{% include_relative type.css %} | ||
{% include_relative theme.css %} | ||
{% pattern_css %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<h2>Dinos</h2> | ||
|
||
<div class="grid"> | ||
{% for dino in site.data.dinos %} | ||
<div class="unit xs-1 s-1 m-1-3"> | ||
{% pattern cards/image data=dino %} | ||
</div> | ||
{% endfor %} | ||
</div> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-ca"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Yay!</title> | ||
</head> | ||
<body> | ||
--- | ||
layout: default | ||
--- | ||
|
||
<h1>It works!</h1> | ||
|
||
</body> | ||
</html> | ||
<div class="grid"> | ||
<div class="unit xs-1 s-1 m-1-3 gutter-1-2"> | ||
{% pattern cards/image title="Iguanodon" details="Save a Iguanodon from utter destruction." image="iguanodon.jpg" button_text="Rescue and Iguanodon" %} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<h2>Dinos</h2> | ||
|
||
<div class="grid"> | ||
{% for dino in site.data.dinos %} | ||
<div class="unit xs-1 s-1 m-1-3"> | ||
{% pattern cards/image data=dino %} | ||
</div> | ||
{% endfor %} | ||
</div> |