Skip to content

Commit

Permalink
adding hero images, content image
Browse files Browse the repository at this point in the history
  • Loading branch information
scottpdawson committed Nov 29, 2020
1 parent 5e58de9 commit a004893
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 1 deletion.
6 changes: 6 additions & 0 deletions _includes/assets/css/inline.css
Expand Up @@ -194,3 +194,9 @@ button {
font-size: 1.1rem;
}
}

img.rt {
float: right;
margin-left: 1rem;
max-width: 300px;
}
3 changes: 3 additions & 0 deletions _includes/layouts/base.njk
Expand Up @@ -10,6 +10,9 @@
<a href="{{ '/' | url }}">{{ metadata.title }}</a>
</em>
{% include "components/nav.njk" %}
{% if (hero) %}
<img class="page-hero" src="{{ hero }}" alt="Hero image for {{ title }}" />
{% endif %}
</header>

<main>
Expand Down
7 changes: 6 additions & 1 deletion pages/about.md
Expand Up @@ -2,12 +2,17 @@
title: About
metaDescription: This is a sample meta description. If one is not present in your page/post's front matter, the default metadata.description will be used instead.
date: 2017-01-01T00:00:00.000Z
hero: /static/img/about.jpg
permalink: /about/index.html
eleventyNavigation:
key: About
order: 1
---
![IMG_4209](https://elizabethrdawson.files.wordpress.com/2016/08/img_4209-e1472206568595.jpg?w=235)I am a 16 year old student at Trumansburg High School. I've studied piano for 10 years and achieved high scores in performances at NYSSMA _(New York State School Music Association)_ events. My scores include 27/28 2013 _(level 3), 27/28_ 2014 _(level 4),_ 96/100 2015 _(level 5), and 98/100 2016 (level 6)_.

<img src="/static/img/elizabeth.jpg" alt="Elizabeth Dawson"
title="Elizabeth Dawson" class="rt" />

I am a 16 year old student at Trumansburg High School. I've studied piano for 10 years and achieved high scores in performances at NYSSMA _(New York State School Music Association)_ events. My scores include 27/28 2013 _(level 3), 27/28_ 2014 _(level 4),_ 96/100 2015 _(level 5), and 98/100 2016 (level 6)_.

I am also a percussionist. I am a member of the  of the Trumansburg High School band and jazz band.

Expand Down
1 change: 1 addition & 0 deletions pages/contact.md
Expand Up @@ -4,6 +4,7 @@ title: Contact
metaDescription: This is a sample meta description. If one is not present in your page/post's front matter, the default metadata.description will be used instead.
section: contact
date: 2016-08-24
hero: /static/img/contact.jpg
permalink: /contact/index.html
eleventyNavigation:
key: Contact
Expand Down
1 change: 1 addition & 0 deletions pages/home.md
Expand Up @@ -3,6 +3,7 @@ layout: layouts/home.njk
title: Performance
date: 2016-08-24
permalink: /
hero: /static/img/performance.jpg
eleventyNavigation:
key: Home
order: 0
Expand Down
Binary file added static/img/about.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/contact.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/elizabeth.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/performance.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a004893

Please sign in to comment.