Fixing footer bugs
All checks were successful
Build / Build (push) Successful in 13s
Publish Docker Image / Build UI Artifact (release) Successful in 13s
Publish Docker Image / Publish Docker Image (release) Successful in 59s

This commit is contained in:
Tara Wilson 2025-04-20 15:31:32 -04:00
parent 8fe17fb713
commit fa79cc5481
10 changed files with 189 additions and 176 deletions

View File

@ -1,6 +1,6 @@
<div [class]="{'footer': !mobileService.isMobile(), 'footer-mobile': mobileService.isMobile()}">
<footer class="pv4 ph3 ph5-ns tc bg-black">
<a class="link dim gray dib h2 w2 br-100 mr3"
<div class="footer">
<footer class="pv2 ph2 ph1-ns tc bg-black">
<a class="link dim gray dib h1 w1 br-100 mr3"
href="https://www.facebook.com/share/1Sbdr1Ho2y/"
title="Troop 20 Facebook">
<svg data-icon="facebook" viewBox="0 0 32 32" style="fill:currentcolor">
@ -9,7 +9,7 @@
d="M8 12 L13 12 L13 8 C13 2 17 1 24 2 L24 7 C20 7 19 7 19 10 L19 12 L24 12 L23 18 L19 18 L19 30 L13 30 L13 18 L8 18 z"></path>
</svg>
</a>
<a class="link dim gray dib h2 w2 br-100 mr3"
<a class="link dim gray dib h1 w1 br-100 mr3"
href="mailto:troop2020g@gmail.com"
title="Email Us">
<svg data-icon="email" viewBox="0 0 8 6" style="fill:currentcolor">
@ -18,7 +18,7 @@
d="m0 0h8v6h-8zm.75 .75v4.5h6.5v-4.5zM0 0l4 3 4-3v1l-4 3-4-3z"></path>
</svg>
</a>
<div class="mt4">
<div class="mt2">
<a href="https://www.scouting.org"
target="_blank"
class="f6 link dim gray dib mr3 mr4-ns">Scouting America</a>

View File

@ -3,11 +3,4 @@
left: 0;
bottom: 0;
width: 100%;
}
.footer-mobile {
position: static;
left: 0;
bottom: 0;
width: 100%;
}

View File

@ -1,5 +1,4 @@
import {Component, inject} from '@angular/core';
import {MobileService} from '../mobile.service';
import {Component} from '@angular/core';
@Component({
selector: 'app-footer',
@ -9,5 +8,5 @@ import {MobileService} from '../mobile.service';
styleUrl: './footer.component.scss'
})
export class FooterComponent {
public mobileService = inject(MobileService);
}

View File

@ -1,46 +1,48 @@
<article class="center mw5 mw6-ns hidden ba mv4">
<h1 class="f4 bg-near-black white mv0 pv2 ph3">Youth Application</h1>
<div class="pa3 bt bg-light-blue">
<p class="f6 f5-ns lh-copy measure mv0">
<a
href="https://filestore.scouting.org/filestore/pdf/524-406.pdf?_gl=1*wtt3bs*_ga*MTM2MjI3NzIuMTY3NTI3NDg5MQ..*_ga_20G0JHESG4*MTY3OTUyNDgwMi4xMDAuMS4xNjc5NTI1MzM5LjU2LjAuMA..&_ga=2.6189623.583820647.1679520579-13622772.1675274891"
target="_blank">
Download and fill out the form
</a>
</p>
</div>
</article>
<article class="center mw5 mw6-ns hidden ba mv4">
<h1 class="f4 bg-near-black white mv0 pv2 ph3">Adult Leader Application</h1>
<div class="pa3 bt bg-light-blue">
<p class="f6 f5-ns lh-copy measure mv0">
<a href="https://filestore.scouting.org/filestore/pdf/524-501.pdf" target="_blank">
Download and fill out the form
</a>
</p>
</div>
</article>
<article class="center mw5 mw6-ns hidden ba mv4">
<h1 class="f4 bg-near-black white mv0 pv2 ph3">Merit Badge Councilor Application</h1>
<div class="pa3 bt bg-light-blue">
<p class="f6 f5-ns lh-copy measure mv0">
<a
href="https://filestore.scouting.org/filestore/pdf/34405.pdf?_gl=1*1hlrsjt*_ga*MTM2MjI3NzIuMTY3NTI3NDg5MQ..*_ga_20G0JHESG4*MTY3OTUyNDgwMi4xMDAuMS4xNjc5NTI1NDE2LjYwLjAuMA..&_ga=2.61297192.583820647.1679520579-13622772.1675274891"
target="_blank">
Download and fill out the form
</a>
</p>
</div>
</article>
<article class="center mw5 mw6-ns hidden ba mv4">
<h1 class="f4 bg-near-black white mv0 pv2 ph3">BSA Medical Form</h1>
<div class="pa3 bt bg-light-blue">
<p class="f6 f5-ns lh-copy measure mv0">
<a href="https://filestore.scouting.org/filestore/healthsafety/pdf/680-001_abc.pdf" target="_blank">
Download and fill out the form
</a>
<br/>
Forms A, B, and C are required for Summer Camp
</p>
</div>
</article>
<div [class]="{'': !mobileService.isMobile(), 'mb5': mobileService.isMobile()}">
<article class="center mw5 mw6-ns hidden ba mv4">
<h1 class="f4 bg-near-black white mv0 pv2 ph3">Youth Application</h1>
<div class="pa3 bt bg-light-blue">
<p class="f6 f5-ns lh-copy measure mv0">
<a
href="https://filestore.scouting.org/filestore/pdf/524-406.pdf?_gl=1*wtt3bs*_ga*MTM2MjI3NzIuMTY3NTI3NDg5MQ..*_ga_20G0JHESG4*MTY3OTUyNDgwMi4xMDAuMS4xNjc5NTI1MzM5LjU2LjAuMA..&_ga=2.6189623.583820647.1679520579-13622772.1675274891"
target="_blank">
Download and fill out the form
</a>
</p>
</div>
</article>
<article class="center mw5 mw6-ns hidden ba mv4">
<h1 class="f4 bg-near-black white mv0 pv2 ph3">Adult Leader Application</h1>
<div class="pa3 bt bg-light-blue">
<p class="f6 f5-ns lh-copy measure mv0">
<a href="https://filestore.scouting.org/filestore/pdf/524-501.pdf" target="_blank">
Download and fill out the form
</a>
</p>
</div>
</article>
<article class="center mw5 mw6-ns hidden ba mv4">
<h1 class="f4 bg-near-black white mv0 pv2 ph3">Merit Badge Councilor Application</h1>
<div class="pa3 bt bg-light-blue">
<p class="f6 f5-ns lh-copy measure mv0">
<a
href="https://filestore.scouting.org/filestore/pdf/34405.pdf?_gl=1*1hlrsjt*_ga*MTM2MjI3NzIuMTY3NTI3NDg5MQ..*_ga_20G0JHESG4*MTY3OTUyNDgwMi4xMDAuMS4xNjc5NTI1NDE2LjYwLjAuMA..&_ga=2.61297192.583820647.1679520579-13622772.1675274891"
target="_blank">
Download and fill out the form
</a>
</p>
</div>
</article>
<article class="center mw5 mw6-ns hidden ba mv4">
<h1 class="f4 bg-near-black white mv0 pv2 ph3">BSA Medical Form</h1>
<div class="pa3 bt bg-light-blue">
<p class="f6 f5-ns lh-copy measure mv0">
<a href="https://filestore.scouting.org/filestore/healthsafety/pdf/680-001_abc.pdf" target="_blank">
Download and fill out the form
</a>
<br/>
Forms A, B, and C are required for Summer Camp
</p>
</div>
</article>
</div>

View File

@ -1,4 +1,5 @@
import { Component } from '@angular/core';
import {Component, inject} from '@angular/core';
import {MobileService} from '../mobile.service';
@Component({
selector: 'app-forms',
@ -7,5 +8,5 @@ import { Component } from '@angular/core';
styleUrl: './forms.component.scss'
})
export class FormsComponent {
public mobileService = inject(MobileService);
}

View File

@ -1,29 +1,31 @@
<div class="row row-center">
<article class="bg-light-blue center mw5 ba b--black-10 mv4">
<div class="pv2 ph3">
<h1 class="f6 ttu tracked">Summer Cheese Steak Fundraiser</h1>
</div>
<a href="fundraiser/philly-flier.png">
<img
src="fundraiser/philly-flier.png"
class="w-100 db" alt="Flowers">
</a>
</article>
<article style="padding-bottom: 5px;" class="bg-light-blue center mw5 ba b--black-10 mv4">
<div class="pv2 ph3">
<h1 class="f6 ttu tracked">Spring Flower Fundraiser</h1>
</div>
<img src="https://www.iraisemore.com/cdn/shop/files/wp85_1024x1024@2x.jpg?v=1734105510" class="w-100 db"
alt="Flowers">
<div class="pa3">
<p>
Fundraiser benefits the Troop and individual Scouts. Fundraiser runs from February 27th until March 20th.
Please enter the <b>Scout's name</b> and <b>Scouting America Troop 2020G</b> in the "Who are you Supporting"
fields in the checkout cart.
</p>
<p>
<b>This fundraiser has concluded.</b>
</p>
</div>
</article>
<div [class]="{'': !mobileService.isMobile(), 'mb5': mobileService.isMobile()}">
<div class="row row-center">
<article class="bg-light-blue center mw5 ba b--black-10 mv4">
<div class="pv2 ph3">
<h1 class="f6 ttu tracked">Summer Cheese Steak Fundraiser</h1>
</div>
<a href="fundraiser/philly-flier.png">
<img
src="fundraiser/philly-flier.png"
class="w-100 db" alt="Flowers">
</a>
</article>
<article class="bg-light-blue center mw5 ba b--black-10 mv4">
<div class="pv2 ph3">
<h1 class="f6 ttu tracked">Spring Flower Fundraiser</h1>
</div>
<img src="https://www.iraisemore.com/cdn/shop/files/wp85_1024x1024@2x.jpg?v=1734105510" class="w-100 db"
alt="Flowers">
<div class="pa3">
<p>
Fundraiser benefits the Troop and individual Scouts. Fundraiser runs from February 27th until March 20th.
Please enter the <b>Scout's name</b> and <b>Scouting America Troop 2020G</b> in the "Who are you Supporting"
fields in the checkout cart.
</p>
<p>
<b>This fundraiser has concluded.</b>
</p>
</div>
</article>
</div>
</div>

View File

@ -1,4 +1,5 @@
import { Component } from '@angular/core';
import {Component, inject} from '@angular/core';
import {MobileService} from '../mobile.service';
@Component({
selector: 'app-fundraising',
@ -7,5 +8,5 @@ import { Component } from '@angular/core';
styleUrl: './fundraising.component.scss'
})
export class FundraisingComponent {
public mobileService = inject(MobileService);
}

View File

@ -1,4 +1,4 @@
import { Component } from '@angular/core';
import {Component} from '@angular/core';
@Component({
selector: 'app-merit-badge-library',

View File

@ -1,82 +1,85 @@
@if (mobileService.isMobile()) {
<ul class="list pl0 mt0 measure center">
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/spl.png"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Juliahna Seidler</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/aspl.png"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Kenzie Witherow</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/aspl.png"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Carlie Sorrell</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/qm.png"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Ella Mercer</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/scribe.png"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Nora Wilson</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/pl.png"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Avery Elliot</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/pl.png"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Locklyn Linebaugh</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/historian.png"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Natalie Sorrell</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/librarian.png"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Kenzie Elliot</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/dc.png"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Locklyn Linebaugh</span>
</div>
</li>
</ul>
<div class="mb5">
<ul class="list pl0 mt0 measure center">
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/spl.png" alt="Senior Patrol Leader"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Juliahna Seidler</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/aspl.png" alt="Assistant Senior Patrol Leader"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Kenzie Witherow</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/oeg.png" alt="Outdoor Ethics Guide"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Carlie Sorrell</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/qm.png" alt="Quartermaster"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Ella Mercer</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/scribe.png" alt="Scribe"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Nora Wilson</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/pl.png" alt="Patrol Leader"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Avery Elliot</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/pl.png" alt="Patrol Leader"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Locklyn Linebaugh</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/historian.png" alt="Historian"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Natalie Sorrell</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/librarian.png" alt="Librarian"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Kenzie Elliot</span>
</div>
</li>
<li
class="flex items-center lh-copy pa3 ph0-l bb b--black-10 bg-light-blue">
<img class="w2 h2 w3-ns h3-ns br-100" src="titles/dc.png" alt="Den Chief"/>
<div class="pl3 flex-auto">
<span class="f6 db black-70">Locklyn Linebaugh</span>
</div>
</li>
</ul>
</div>
} @else {
<div class="cf">
<div class="fl w-20 tc pv1 bg-transparent">
<article class="mw5 center bg-light-blue br3 pa3 pa4-ns mv3 ba b--black-10">
<div class="tc">
<img src="titles/spl.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Senior Patrol Leader">
<img src="titles/spl.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Senior Patrol Leader"
alt="Senior Patrol Leader">
<h1 class="f3 mb2">Juliahna Seidler</h1>
</div>
</article>
@ -85,7 +88,7 @@
<article class="mw5 center bg-light-blue br3 pa3 pa4-ns mv3 ba b--black-10">
<div class="tc">
<img src="titles/aspl.png" class="br-100 h4 w4 dib ba b--black-05 pa2"
title="Assistant Senior Patrol Leader">
title="Assistant Senior Patrol Leader" alt="Assistant Senior Patrol Leader">
<h1 class="f3 mb2">Kenzie Witherow</h1>
</div>
</article>
@ -93,7 +96,8 @@
<div class="fl w-20 tc pv1 bg-transparent">
<article class="mw5 center bg-light-blue br3 pa3 pa4-ns mv3 ba b--black-10">
<div class="tc">
<img src="titles/oeg.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Outdoor Ethics Guide">
<img src="titles/oeg.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Outdoor Ethics Guide"
alt="Outdoor Ethics Guide">
<h1 class="f3 mb2">Carlie Sorrell</h1>
</div>
</article>
@ -101,7 +105,8 @@
<div class="fl w-20 tc pv1 bg-transparent">
<article class="mw5 center bg-light-blue br3 pa3 pa4-ns mv3 ba b--black-10">
<div class="tc">
<img src="titles/qm.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Quarter Master">
<img src="titles/qm.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Quarter Master"
alt="Quartermaster">
<h1 class="f3 mb2">Ella Mercer</h1>
</div>
</article>
@ -109,7 +114,7 @@
<div class="fl w-20 tc pv1 bg-transparent">
<article class="mw5 center bg-light-blue br3 pa3 pa4-ns mv3 ba b--black-10">
<div class="tc">
<img src="titles/scribe.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Scribe">
<img src="titles/scribe.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Scribe" alt="Scribe">
<h1 class="f3 mb2">Nora Wilson</h1>
</div>
</article>
@ -119,7 +124,8 @@
<div class="fl w-20 tc pv1 bg-transparent">
<article class="mw5 center bg-light-blue br3 pa3 pa4-ns mv3 ba b--black-10">
<div class="tc">
<img src="titles/pl.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Patrol Leader">
<img src="titles/pl.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Patrol Leader"
alt="Patrol Leader">
<h1 class="f3 mb2">Avery Elliot</h1>
</div>
</article>
@ -127,7 +133,8 @@
<div class="fl w-20 tc pv1 bg-transparent">
<article class="mw5 center bg-light-blue br3 pa3 pa4-ns mv3 ba b--black-10">
<div class="tc">
<img src="titles/pl.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Patrol Leader">
<img src="titles/pl.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Patrol Leader"
alt="Patrol Leader">
<h1 class="f3 mb2">Locklyn Linebaugh</h1>
</div>
</article>
@ -135,7 +142,7 @@
<div class="fl w-20 tc pv1 bg-transparent">
<article class="mw5 center bg-light-blue br3 pa3 pa4-ns mv3 ba b--black-10">
<div class="tc">
<img src="titles/historian.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Historian">
<img src="titles/historian.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Historian" alt="Historian">
<h1 class="f3 mb2">Natalie Sorrell</h1>
</div>
</article>
@ -143,7 +150,7 @@
<div class="fl w-20 tc pv1 bg-transparent">
<article class="mw5 center bg-light-blue br3 pa3 pa4-ns mv3 ba b--black-10">
<div class="tc">
<img src="titles/librarian.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Librarian">
<img src="titles/librarian.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Librarian" alt="Librarian">
<h1 class="f3 mb2">Kenzie Elliot</h1>
</div>
</article>
@ -151,7 +158,7 @@
<div class="fl w-20 tc pv1 bg-transparent">
<article class="mw5 center bg-light-blue br3 pa3 pa4-ns mv3 ba b--black-10">
<div class="tc">
<img src="titles/dc.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Den Chief">
<img src="titles/dc.png" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Den Chief" alt="Den Chief">
<h1 class="f3 mb2">Locklyn Linebaugh</h1>
</div>
</article>

View File

@ -3,6 +3,7 @@
body, html {
height: 100%;
margin: 0;
overflow: scroll;
background-image: url('https://images.unsplash.com/photo-1505490096310-204ef067fe6b?q=80&w=3270&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
background-color: black;
}
@ -14,4 +15,11 @@ body, html {
&-center {
justify-content: center;
}
}
.container {
min-height: 70%;
min-height: -webkit-calc(100% - 186px);
min-height: -moz-calc(100% - 186px);
min-height: calc(100% - 186px);
}