From acc339768e5f58ee74795cc1916db84092f6a6cc Mon Sep 17 00:00:00 2001 From: Tara Wilson Date: Wed, 19 Feb 2025 21:07:32 -0500 Subject: [PATCH] Adding mobile service Adding mobile components --- source/src/app/about/about.component.html | 12 + .../app/committee/committee.component.html | 161 +++++++----- .../src/app/committee/committee.component.ts | 5 +- source/src/app/footer/footer.component.html | 4 +- source/src/app/footer/footer.component.scss | 7 + source/src/app/footer/footer.component.ts | 5 +- source/src/app/forms/forms.component.html | 88 +++---- source/src/app/home/home.component.html | 6 +- .../app/leadership/leadership.component.html | 120 +++++---- .../app/leadership/leadership.component.ts | 5 +- source/src/app/mobile.service.ts | 13 + source/src/app/top-nav/top-nav.component.html | 2 +- .../youth-leadership.component.html | 232 ++++++++++++------ .../youth-leadership.component.ts | 5 +- source/src/styles.scss | 1 + 15 files changed, 426 insertions(+), 240 deletions(-) create mode 100644 source/src/app/mobile.service.ts diff --git a/source/src/app/about/about.component.html b/source/src/app/about/about.component.html index e69de29..90e2a0f 100644 --- a/source/src/app/about/about.component.html +++ b/source/src/app/about/about.component.html @@ -0,0 +1,12 @@ +
+

+ Founded in 2020, Troop 20 develops young women into tomorrow's leaders. The troop is a group of odd ducks enjoying + the outdoors through hiking and camping. The troop also goes on additional outings such as day trips to trampoline + parks, beaches, zoos, and other places as determined by the troop. +

+

+ Troop 20 follows the Patrol Method, where the youth leadership, not the adults, plan and organize the troops actives + based on monthly themes. The troop is currently working on turning out our first Eagle Scouts - one of the founding members + is really close and we hope to celebrate her accomplishments. +

+
\ No newline at end of file diff --git a/source/src/app/committee/committee.component.html b/source/src/app/committee/committee.component.html index 57f5d17..81465d4 100644 --- a/source/src/app/committee/committee.component.html +++ b/source/src/app/committee/committee.component.html @@ -1,62 +1,111 @@ -
-
-
-
-
-
- -

Richard Simpson

-

Chartered Organization Rep

-
-
+@if (mobileService.isMobile()) { +
    +
  • + +
    + Richard Simpson + Chartered Organization Rep
    -
    -
    -
    - -

    Rik Linebaugh

    -

    Committee Chair

    -
    -
    +
  • +
  • + +
    + Rik Linebaugh + Committee Chair
    -
    -
    -
    - -

    Linda Linebaugh

    -

    Scoutmaster

    -
    -
    +
  • +
  • + +
    + Linda Linebaugh + Scoutmaster
    +
  • +
  • + +
    + Jaime Seidler + Fundraising Chair +
    +
  • +
  • + +
    + Tara Wilson + Advancement Chair +
    +
  • +
  • + +
    + Jessica Wilson + Secretary +
    +
  • +
+} @else { +
+
+
+
+ +

Richard Simpson

+

Chartered Organization Rep

+
+
-
-
-
-
- -

Jaime Seidler

-

Fundraising Chair

-
-
-
-
-
-
- -

Tara Wilson

-

Advancement Chair

-
-
-
-
-
-
- -

Jessica Wilson

-

Secretary

-
-
-
+
+
+
+ +

Rik Linebaugh

+

Committee Chair

+
+
+
+
+
+
+ +

Linda Linebaugh

+

Scoutmaster

+
+
-
\ No newline at end of file +
+
+
+
+ +

Jaime Seidler

+

Fundraising Chair

+
+
+
+
+
+
+ +

Tara Wilson

+

Advancement Chair

+
+
+
+
+
+
+ +

Jessica Wilson

+

Secretary

+
+
+
+
+} \ No newline at end of file diff --git a/source/src/app/committee/committee.component.ts b/source/src/app/committee/committee.component.ts index c685300..3b7fbb5 100644 --- a/source/src/app/committee/committee.component.ts +++ b/source/src/app/committee/committee.component.ts @@ -1,4 +1,5 @@ -import { Component } from '@angular/core'; +import {Component, inject} from '@angular/core'; +import {MobileService} from '../mobile.service'; @Component({ selector: 'app-committee', @@ -7,5 +8,5 @@ import { Component } from '@angular/core'; styleUrl: './committee.component.scss' }) export class CommitteeComponent { - + public mobileService = inject(MobileService); } diff --git a/source/src/app/footer/footer.component.html b/source/src/app/footer/footer.component.html index 086513f..12c555a 100644 --- a/source/src/app/footer/footer.component.html +++ b/source/src/app/footer/footer.component.html @@ -1,5 +1,5 @@ -