Skip to content

Commit

Permalink
Friends and Family Sabbath Updates (closes #86)
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmalmgren committed Oct 18, 2017
1 parent 4585c71 commit 744445e
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "bolingbrook-church",
"version": "1.2.12",
"version": "1.2.13",
"license": "MIT",
"angular-cli": {},
"scripts": {
Expand Down
14 changes: 14 additions & 0 deletions src/app/components/pages/friends-and-family.html
Expand Up @@ -3,6 +3,20 @@
<section class="white">
<div class="content">
<h1>Worshiping with Family on the Sabbath</h1>

<a class="host-card" href="./assets/host-card.jpg">
<img src="./assets/host-card.jpg" />
</a>

<div class="video">
<iframe id="video"
src="https://www.youtube.com/embed/vddSwV54QrU?enablejsapi=1"
frameborder="0"
webkitallowfullscreen=""
mozallowfullscreen=""
allowfullscreen="">
</iframe>
</div>

<h3>Focus on Rest and Restoration</h3>
<ul>
Expand Down
29 changes: 29 additions & 0 deletions src/app/components/pages/friends-and-family.scss
@@ -0,0 +1,29 @@
@import '../atoms/breaks';

@mixin sized($width) {
width: $width;
height: $width * 3 / 4;
}

div.video {
padding: 45px 0;
text-align: center;

iframe {
@include sized(640px);

@include break(tiny) { @include sized(360px); }
@include break(micro) { @include sized(300px); }
}
}

a.host-card {
flex: 100%;
display: block;

img {
display: block;
max-width: 100%;
margin: auto;
}
}
3 changes: 2 additions & 1 deletion src/app/components/pages/friends-and-family.ts
@@ -1,7 +1,8 @@
import { Component } from '@angular/core';

@Component({
templateUrl: './friends-and-family.html'
templateUrl: './friends-and-family.html',
styleUrls: [ './friends-and-family.scss' ]
})
export class FriendsAndFamilyComponent {
}
Binary file added src/assets/host-card.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 744445e

Please sign in to comment.