-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for Multiple Services and New Location (#102)
- Loading branch information
1 parent
c429902
commit d406a14
Showing
11 changed files
with
96 additions
and
38 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<div class="app"> | ||
<router-outlet></router-outlet> | ||
<bc-footer></bc-footer> | ||
<bc-popup></bc-popup> | ||
</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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
import { PopupComponent } from './popup'; | ||
import { SermonCardComponent } from './sermon-card'; | ||
import { VerseComponent } from './verse'; | ||
|
||
export const MOLECULES = [ | ||
PopupComponent, | ||
SermonCardComponent, | ||
VerseComponent | ||
]; |
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,12 @@ | ||
<aside class="popup" [@popupState]="popupState"> | ||
<section> | ||
<h2>We are Moving</h2> | ||
<div>New Location</div> | ||
<div class="location">301 E Boughton Rd, Bolingbrook, IL 60440</div> | ||
<ul> | ||
<li>February 17th - Noon Service @ 1251 Windham Pkwy, Romeoville, IL 60446</li> | ||
<li>February 24th - Friends and Family Sabbath</li> | ||
<li>February 3rd - New Location</li> | ||
</ul> | ||
</section> | ||
</aside> |
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,23 @@ | ||
aside.popup { | ||
position: fixed; | ||
bottom: 0; | ||
left: 0; | ||
width: 100%; | ||
display: flex; | ||
background: #84f1f9; | ||
color: black; | ||
|
||
section { | ||
padding: 20px; | ||
} | ||
|
||
ul { | ||
list-style: none; | ||
border-left: solid 2px #6d6b6b; | ||
padding-left: 20px; | ||
|
||
li { | ||
padding: 9px 0; | ||
} | ||
} | ||
} |
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,24 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
import { trigger, state, style, animate, transition } from '@angular/animations'; | ||
|
||
@Component({ | ||
selector: 'bc-popup', | ||
templateUrl: './popup.html', | ||
styleUrls: [ './popup.scss' ], | ||
animations: [ | ||
trigger('popupState', [ | ||
state('shown', style({ left: '0' })), | ||
state('hidden', style({ left: '100%', display: 'none' })), | ||
transition('* => *', animate('200ms ease-in-out')) | ||
]) | ||
] | ||
}) | ||
export class PopupComponent implements OnInit { | ||
|
||
popupState: string = 'hidden'; | ||
|
||
ngOnInit() { | ||
setTimeout(() => this.popupState = 'shown', 1000); | ||
setTimeout(() => this.popupState = 'hidden', 10000); | ||
} | ||
} |
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 |
---|---|---|
|
@@ -35,4 +35,4 @@ main section.join div.content { | |
div.time, div.location { | ||
margin: 5px 0; | ||
} | ||
} | ||
} |
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