From 960d44eb7f2c5f6f8f61e39a9b9bb5cd736adbee Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:19:15 +0200 Subject: [PATCH 01/50] Feat: Added the app route for the new volunteer component. --- client/src/app/app.routes.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/app/app.routes.ts b/client/src/app/app.routes.ts index 70235999..c2ab938a 100644 --- a/client/src/app/app.routes.ts +++ b/client/src/app/app.routes.ts @@ -10,6 +10,7 @@ import { ProvincialRankingsComponent } from './pages/provincial-rankings/provinc import { ProvincialRecordsComponent } from './pages/provincial-records/provincial-records.component'; import { PrivacyComponent } from './pages/privacy/privacy.component'; import { TermsComponent } from './pages/terms/terms.component'; +import { VolunteerComponent } from './pages/volunteer/volunteer.component'; export const AppRoutes: Routes = [ { path: '', component: HomeComponent, title: 'CubingZA - Home' }, @@ -21,6 +22,7 @@ export const AppRoutes: Routes = [ { path: 'records', component: ProvincialRecordsComponent, title: 'CubingZA - Records' }, { path: 'notifications', canActivate: [AuthGuard], component: NotificationsComponent, title: 'CubingZA - Notifications' }, { path: 'contact', component: ContactComponent, title: 'CubingZA - Contact Us' }, + { path: 'volunteer', component: VolunteerComponent }, ...AccountRoutes, { path: 'admin', From 34d389e4ea70aba4f04efa9c2b7de8c5df2afb5b Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:20:31 +0200 Subject: [PATCH 02/50] Feat: Volunteer navbar addition. --- client/src/app/components/navbar/navbar.component.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/src/app/components/navbar/navbar.component.html b/client/src/app/components/navbar/navbar.component.html index de612e76..8a7e28f0 100644 --- a/client/src/app/components/navbar/navbar.component.html +++ b/client/src/app/components/navbar/navbar.component.html @@ -57,6 +57,11 @@ Contact +
  • + + Volunteer +
  • + - \ No newline at end of file + From 76919fea7bdb7624ecea7816e20a524071481ecd Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:21:22 +0200 Subject: [PATCH 03/50] Feat: Html for new volunteer page: Issue #40 --- .../pages/volunteer/volunteer.component.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 client/src/app/pages/volunteer/volunteer.component.html diff --git a/client/src/app/pages/volunteer/volunteer.component.html b/client/src/app/pages/volunteer/volunteer.component.html new file mode 100644 index 00000000..cce3ad24 --- /dev/null +++ b/client/src/app/pages/volunteer/volunteer.component.html @@ -0,0 +1,18 @@ +

    Get Involved with CubingZA!

    + +

    + We're always looking for passionate individuals to help grow the cubing community in South Africa. + Whether you have a few hours to spare or want to take on a more involved role, + there are many ways to contribute. +

    + +

    Volunteer Opportunities

    + +

    Example

    example description

    + +

    More Information

    + +

    + Interested in volunteering? Contact us at example@gmail.com + to learn more about current opportunities and how to get involved. +

    From 362ed910e95b039722b8ec90a4105023d26525c4 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:22:12 +0200 Subject: [PATCH 04/50] Empty styling file for volunteering component. --- client/src/app/pages/volunteer/volunteer.component.less | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 client/src/app/pages/volunteer/volunteer.component.less diff --git a/client/src/app/pages/volunteer/volunteer.component.less b/client/src/app/pages/volunteer/volunteer.component.less new file mode 100644 index 00000000..e69de29b From bac6e8ad324df163f523ffb0ab519d2ad6acc853 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:23:20 +0200 Subject: [PATCH 05/50] Enhancement/feat: Added ts component for volunteering page. Issue #40. --- .../volunteer/volunteer.component.spec.ts | 19 +++++++++++++++++++ .../pages/volunteer/volunteer.component.ts | 8 ++++++++ 2 files changed, 27 insertions(+) create mode 100644 client/src/app/pages/volunteer/volunteer.component.spec.ts create mode 100644 client/src/app/pages/volunteer/volunteer.component.ts diff --git a/client/src/app/pages/volunteer/volunteer.component.spec.ts b/client/src/app/pages/volunteer/volunteer.component.spec.ts new file mode 100644 index 00000000..c11f5599 --- /dev/null +++ b/client/src/app/pages/volunteer/volunteer.component.spec.ts @@ -0,0 +1,19 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { VolunteerComponent } from './volunteer.component'; + +describe('VolunteerComponent', () => { + let component: VolunteerComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ VolunteerComponent ] + }) + .compileComponents(); + + fixture = TestBed.createComponent(VolunteerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); +}); diff --git a/client/src/app/pages/volunteer/volunteer.component.ts b/client/src/app/pages/volunteer/volunteer.component.ts new file mode 100644 index 00000000..7172dd03 --- /dev/null +++ b/client/src/app/pages/volunteer/volunteer.component.ts @@ -0,0 +1,8 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-volunteer', + templateUrl: './volunteer.component.html', +}) +export class VolunteerComponent { +} From 1d76c2eccb7c7bb5fd1cfcd8ac1152b551cd4a99 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:56:25 +0200 Subject: [PATCH 06/50] Faqs App route. --- client/src/app/app.routes.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/app/app.routes.ts b/client/src/app/app.routes.ts index c2ab938a..2adb7148 100644 --- a/client/src/app/app.routes.ts +++ b/client/src/app/app.routes.ts @@ -11,6 +11,7 @@ import { ProvincialRecordsComponent } from './pages/provincial-records/provincia import { PrivacyComponent } from './pages/privacy/privacy.component'; import { TermsComponent } from './pages/terms/terms.component'; import { VolunteerComponent } from './pages/volunteer/volunteer.component'; +import { faqsComponent } from './pages/faqs/faqs.component'; export const AppRoutes: Routes = [ { path: '', component: HomeComponent, title: 'CubingZA - Home' }, @@ -23,6 +24,7 @@ export const AppRoutes: Routes = [ { path: 'notifications', canActivate: [AuthGuard], component: NotificationsComponent, title: 'CubingZA - Notifications' }, { path: 'contact', component: ContactComponent, title: 'CubingZA - Contact Us' }, { path: 'volunteer', component: VolunteerComponent }, + { path: 'faqs', component: faqsComponent }, ...AccountRoutes, { path: 'admin', From d2f68626da63053b2b8e7dfaef3f9b04eeb544f3 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:56:49 +0200 Subject: [PATCH 07/50] Faqs example html. --- client/src/app/components/navbar/navbar.component.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/app/components/navbar/navbar.component.html b/client/src/app/components/navbar/navbar.component.html index 8a7e28f0..2559b989 100644 --- a/client/src/app/components/navbar/navbar.component.html +++ b/client/src/app/components/navbar/navbar.component.html @@ -61,7 +61,10 @@ Volunteer - +
  • + + FAQS +
  • diff --git a/client/src/app/components/navbar/navbar.component.ts b/client/src/app/components/navbar/navbar.component.ts index 539f179c..202bed4a 100644 --- a/client/src/app/components/navbar/navbar.component.ts +++ b/client/src/app/components/navbar/navbar.component.ts @@ -2,7 +2,7 @@ import { Component } from '@angular/core'; import { faInfoCircle, faRightToBracket, faRightFromBracket, faUserPlus, faEnvelope, faUser, faGear, faMapLocationDot, faUsers, faCalendarDays, - faScrewdriverWrench, faCaretDown, faRankingStar, faTrophy + faScrewdriverWrench, faCaretDown, faRankingStar, faTrophy, faQuestionCircle, faBook, } from '@fortawesome/free-solid-svg-icons'; import { AuthService } from 'src/app/services/auth/auth.service'; @@ -14,6 +14,8 @@ import { AuthService } from 'src/app/services/auth/auth.service'; }) export class NavbarComponent { + faBook = faBook; + faQuestionCircle = faQuestionCircle; faInfoCircle = faInfoCircle; faRightToBracket = faRightToBracket; faEnvelope = faEnvelope; From 117c12c0be7cac0b630b417640592942cd183c46 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Tue, 13 Aug 2024 16:35:44 +0200 Subject: [PATCH 14/50] Enhancement: Adding similar formatting to other pages to make the website look neater. Adding almost all the finishing touchers to be ready for review. --- client/src/app/pages/faqs/faqs.component.html | 31 +++++++++++----- .../pages/volunteer/volunteer.component.html | 37 ++++++++++--------- 2 files changed, 41 insertions(+), 27 deletions(-) diff --git a/client/src/app/pages/faqs/faqs.component.html b/client/src/app/pages/faqs/faqs.component.html index c10c1e61..b3222ca9 100644 --- a/client/src/app/pages/faqs/faqs.component.html +++ b/client/src/app/pages/faqs/faqs.component.html @@ -1,15 +1,26 @@ -

    Frequently asked questions

    +
    -

    - Questions we're asked consistantly and have seen asked by most. -

    +

    Frequently asked questions

    -

    FAQS

    +
    +
    -

    Example

    example answer

    +

    + Questions that we are asked quite often, and some answers. +

    -

    More Information

    +

    FAQS

    -

    - More questions? Click me! to ask a question not listed here. -

    +
    + +

    1. What can I do to help CubingZA?

    If you'd like to help out you can read through this page to learn more about how you can help.

    + +
    + +

    More Information

    + +

    + More questions? Click me! Contact us for any remaining questions you may have! +

    +
    +
    \ No newline at end of file diff --git a/client/src/app/pages/volunteer/volunteer.component.html b/client/src/app/pages/volunteer/volunteer.component.html index 87152c1b..9d3dd5da 100644 --- a/client/src/app/pages/volunteer/volunteer.component.html +++ b/client/src/app/pages/volunteer/volunteer.component.html @@ -1,26 +1,29 @@ -

    Get Involved with CubingZA!

    +
    -

    - We're always looking for passionate individuals to help grow the cubing community in South Africa. - Whether you have a few hours to spare or want to take on a more involved role, - there are many ways to contribute. -

    +

    Get Involved with CubingZA!

    -

    Volunteer Opportunities

    +
    +
    -

    Example

    example description

    +

    + We're always looking for passionate individuals to help grow the cubing community in South Africa. + Whether you have a few hours to spare or want to take on a more involved role, + there are many ways to contribute. +

    -

    Volunteering at Events:

    We always need help running competitions smoothly. This starts with the running, judging, and scrambling roles you're already familiar with, but where we really appreciate help is with setting up the day before, and taking down and packing up equipment after the competition. If you're interested in doing this, I suggest emailing the competition organisers in the week before the competition to find out when and how you can help.

    +

    Volunteer Opportunities

    -

    Community Outreach:

    If you enjoy sharing your passion for cubing with others, perhaps you could help us with demonstrations at schools or community centers. While we aren’t actively seeking out these opportunities, we would fully support and provide resources for any initiatives you start.

    +

    Volunteering at Events:

    We always need help running competitions smoothly. This starts with the running, judging, and scrambling roles you're already familiar with, but where we really appreciate help is with setting up the day before, and taking down and packing up equipment after the competition. If you're interested in doing this, I suggest emailing the competition organisers in the week before the competition to find out when and how you can help.

    -

    Website Design:

    If you have skills or interest in software development or graphic design, we have several tasks that might interest you. You can find these listed on our GitHub page: CubingZA Website Issues. A specific area where we could use help is improving the design of our competition announcement emails.

    +

    Community Outreach:

    If you enjoy sharing your passion for cubing with others, perhaps you could help us with demonstrations at schools or community centers. While we aren’t actively seeking out these opportunities, we would fully support and provide resources for any initiatives you start.

    -

    More Information

    +

    Website Design:

    If you have skills or interest in software development or graphic design, we have several tasks that might interest you. You can find these listed on our GitHub page: CubingZA Website Issues. A specific area where we could use help is improving the design of our competition announcement emails.

    +

    More Information

    - -

    - Interested in volunteering? Contact us at example@gmail.com - to learn more about current opportunities and how to get involved. -

    +

    + Interested in volunteering? Contact us here! + to learn more about current opportunities and how to get involved. +

    +
    +
    \ No newline at end of file From 02fad337c61003df657e2a18eb27d05404ea727f Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Thu, 15 Aug 2024 17:48:02 +0200 Subject: [PATCH 15/50] Enhancement: Changed Faqs to FAQ + added FAQS --- client/src/app/app.routes.ts | 4 +- .../components/navbar/navbar.component.html | 4 +- client/src/app/pages/FAQ/FAQ.component.html | 42 +++++++++++++++++++ .../FAQ.component.less} | 0 .../FAQ.component.spec.ts} | 12 +++--- client/src/app/pages/FAQ/FAQ.component.ts | 8 ++++ client/src/app/pages/faqs/faqs.component.html | 26 ------------ client/src/app/pages/faqs/faqs.component.ts | 8 ---- 8 files changed, 60 insertions(+), 44 deletions(-) create mode 100644 client/src/app/pages/FAQ/FAQ.component.html rename client/src/app/pages/{faqs/faqs.component.less => FAQ/FAQ.component.less} (100%) rename client/src/app/pages/{faqs/faqs.component.spec.ts => FAQ/FAQ.component.spec.ts} (56%) create mode 100644 client/src/app/pages/FAQ/FAQ.component.ts delete mode 100644 client/src/app/pages/faqs/faqs.component.html delete mode 100644 client/src/app/pages/faqs/faqs.component.ts diff --git a/client/src/app/app.routes.ts b/client/src/app/app.routes.ts index 2adb7148..df1f92d0 100644 --- a/client/src/app/app.routes.ts +++ b/client/src/app/app.routes.ts @@ -11,7 +11,7 @@ import { ProvincialRecordsComponent } from './pages/provincial-records/provincia import { PrivacyComponent } from './pages/privacy/privacy.component'; import { TermsComponent } from './pages/terms/terms.component'; import { VolunteerComponent } from './pages/volunteer/volunteer.component'; -import { faqsComponent } from './pages/faqs/faqs.component'; +import { FAQComponent } from './pages/FAQ/FAQ.component'; export const AppRoutes: Routes = [ { path: '', component: HomeComponent, title: 'CubingZA - Home' }, @@ -24,7 +24,7 @@ export const AppRoutes: Routes = [ { path: 'notifications', canActivate: [AuthGuard], component: NotificationsComponent, title: 'CubingZA - Notifications' }, { path: 'contact', component: ContactComponent, title: 'CubingZA - Contact Us' }, { path: 'volunteer', component: VolunteerComponent }, - { path: 'faqs', component: faqsComponent }, + { path: 'FAQ', component: FAQComponent }, ...AccountRoutes, { path: 'admin', diff --git a/client/src/app/components/navbar/navbar.component.html b/client/src/app/components/navbar/navbar.component.html index 6cf622d1..f91b5090 100644 --- a/client/src/app/components/navbar/navbar.component.html +++ b/client/src/app/components/navbar/navbar.component.html @@ -61,9 +61,9 @@ Volunteer -
  • +
  • - FAQS + FAQ
  • diff --git a/client/src/app/pages/FAQ/FAQ.component.html b/client/src/app/pages/FAQ/FAQ.component.html new file mode 100644 index 00000000..2456fa02 --- /dev/null +++ b/client/src/app/pages/FAQ/FAQ.component.html @@ -0,0 +1,42 @@ +
    + +

    Frequently asked questions

    + +
    +
    + +

    + Questions that we are asked quite often, and some answers. +

    + +

    FAQS

    + +
    + +

    CubingZA Questions

    + +

    1. What can I do to help CubingZA?

    If you'd like to help out you can read through this page to learn more about how you can help.

    + +

    General Questions

    + +

    2.How do I stay in touch with other cubers?

    Join the CubingZA Whatsapp community by clicking on this link!

    + +

    Competition Questions

    + +

    3. Do I need to be at both days if I am only competing on one day?

    + No, you only have to be there on the day that you are competing. Make sure to check out the schedule tab to see when you compete. We suggest arriving at the competition at least 30 minutes prior to your event in case we run ahead of schedule. + +

    4.Where can I view my results on the day of the competition?

    + On the competition days all results will be uploaded to WCA Live. Just search for the competition name under the "upcoming" tab. After the competition has ended, it will take a few days for the official results to be uploaded to the WCA main site. + + + + +

    More Information

    + +

    + More questions? Click me! Contact us for any remaining questions you may have! +

    +
    +
    +
    \ No newline at end of file diff --git a/client/src/app/pages/faqs/faqs.component.less b/client/src/app/pages/FAQ/FAQ.component.less similarity index 100% rename from client/src/app/pages/faqs/faqs.component.less rename to client/src/app/pages/FAQ/FAQ.component.less diff --git a/client/src/app/pages/faqs/faqs.component.spec.ts b/client/src/app/pages/FAQ/FAQ.component.spec.ts similarity index 56% rename from client/src/app/pages/faqs/faqs.component.spec.ts rename to client/src/app/pages/FAQ/FAQ.component.spec.ts index e36ce2cc..5e27abfc 100644 --- a/client/src/app/pages/faqs/faqs.component.spec.ts +++ b/client/src/app/pages/FAQ/FAQ.component.spec.ts @@ -1,18 +1,18 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { faqsComponent } from './faqs.component'; +import { FAQComponent } from './FAQ.component'; -describe('faqsComponent', () => { - let component: faqsComponent; - let fixture: ComponentFixture; +describe('FAQComponent', () => { + let component: FAQComponent; + let fixture: ComponentFixture; beforeEach(async () => { await TestBed.configureTestingModule({ - declarations: [ faqsComponent ] + declarations: [ FAQComponent ] }) .compileComponents(); - fixture = TestBed.createComponent(faqsComponent); + fixture = TestBed.createComponent(FAQComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/client/src/app/pages/FAQ/FAQ.component.ts b/client/src/app/pages/FAQ/FAQ.component.ts new file mode 100644 index 00000000..3daf4669 --- /dev/null +++ b/client/src/app/pages/FAQ/FAQ.component.ts @@ -0,0 +1,8 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-FAQ', + templateUrl: './FAQ.component.html', +}) +export class FAQComponent { +} diff --git a/client/src/app/pages/faqs/faqs.component.html b/client/src/app/pages/faqs/faqs.component.html deleted file mode 100644 index b3222ca9..00000000 --- a/client/src/app/pages/faqs/faqs.component.html +++ /dev/null @@ -1,26 +0,0 @@ -
    - -

    Frequently asked questions

    - -
    -
    - -

    - Questions that we are asked quite often, and some answers. -

    - -

    FAQS

    - -
    - -

    1. What can I do to help CubingZA?

    If you'd like to help out you can read through this page to learn more about how you can help.

    - -
    - -

    More Information

    - -

    - More questions? Click me! Contact us for any remaining questions you may have! -

    -
    -
    \ No newline at end of file diff --git a/client/src/app/pages/faqs/faqs.component.ts b/client/src/app/pages/faqs/faqs.component.ts deleted file mode 100644 index 514c92f6..00000000 --- a/client/src/app/pages/faqs/faqs.component.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-faqs', - templateUrl: './faqs.component.html', -}) -export class faqsComponent { -} From 44c9ee1118b9326b790540d9d422dfba12d5872d Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Thu, 15 Aug 2024 17:48:48 +0200 Subject: [PATCH 16/50] Added a github issues link to the volunteering area. --- client/src/app/pages/volunteer/volunteer.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/pages/volunteer/volunteer.component.html b/client/src/app/pages/volunteer/volunteer.component.html index 9d3dd5da..cf77e4d4 100644 --- a/client/src/app/pages/volunteer/volunteer.component.html +++ b/client/src/app/pages/volunteer/volunteer.component.html @@ -17,7 +17,7 @@

    Volunteering at Events:

    We always need help running competitions sm

    Community Outreach:

    If you enjoy sharing your passion for cubing with others, perhaps you could help us with demonstrations at schools or community centers. While we aren’t actively seeking out these opportunities, we would fully support and provide resources for any initiatives you start.

    -

    Website Design:

    If you have skills or interest in software development or graphic design, we have several tasks that might interest you. You can find these listed on our GitHub page: CubingZA Website Issues. A specific area where we could use help is improving the design of our competition announcement emails.

    +

    Website Design:

    If you have skills or interest in software development or graphic design, we have several tasks that might interest you. You can find these listed on our GitHub page: CubingZA Website Issues. A specific area where we could use help is improving the design of our competition announcement emails. A great place to start is looking through the github repository and finding an issue to work on that interests you! Click Here!

    More Information

    From 421b862bdbccfa466e1612c0a591790edeef5d82 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Fri, 16 Aug 2024 13:31:15 +0200 Subject: [PATCH 17/50] Update client/src/app/pages/volunteer/volunteer.component.html Co-authored-by: Brendan Gray --- client/src/app/pages/volunteer/volunteer.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/pages/volunteer/volunteer.component.html b/client/src/app/pages/volunteer/volunteer.component.html index cf77e4d4..462374c0 100644 --- a/client/src/app/pages/volunteer/volunteer.component.html +++ b/client/src/app/pages/volunteer/volunteer.component.html @@ -17,7 +17,7 @@

    Volunteering at Events:

    We always need help running competitions sm

    Community Outreach:

    If you enjoy sharing your passion for cubing with others, perhaps you could help us with demonstrations at schools or community centers. While we aren’t actively seeking out these opportunities, we would fully support and provide resources for any initiatives you start.

    -

    Website Design:

    If you have skills or interest in software development or graphic design, we have several tasks that might interest you. You can find these listed on our GitHub page: CubingZA Website Issues. A specific area where we could use help is improving the design of our competition announcement emails. A great place to start is looking through the github repository and finding an issue to work on that interests you! Click Here!

    +

    Website Design:

    If you have skills or interest in software development or graphic design, we have several tasks that might interest you. You can find these listed on our GitHub page: CubingZA Website Issues.

    More Information

    From f5a6a5f65d7ecf74b23db62b7b80f0a84cb7131c Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Fri, 16 Aug 2024 13:34:51 +0200 Subject: [PATCH 18/50] Update app.routes.ts Added lowercase. --- client/src/app/app.routes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/app.routes.ts b/client/src/app/app.routes.ts index df1f92d0..f20db605 100644 --- a/client/src/app/app.routes.ts +++ b/client/src/app/app.routes.ts @@ -11,7 +11,7 @@ import { ProvincialRecordsComponent } from './pages/provincial-records/provincia import { PrivacyComponent } from './pages/privacy/privacy.component'; import { TermsComponent } from './pages/terms/terms.component'; import { VolunteerComponent } from './pages/volunteer/volunteer.component'; -import { FAQComponent } from './pages/FAQ/FAQ.component'; +import { FAQComponent } from './pages/faq/faq.component'; export const AppRoutes: Routes = [ { path: '', component: HomeComponent, title: 'CubingZA - Home' }, From ea780be2b02bdc249eb06afd76e6fd9662346a80 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Sat, 17 Aug 2024 09:37:17 +0200 Subject: [PATCH 19/50] Fixed some errors I was getting in the FAQ/faq problem. --- client/src/app/app.routes.ts | 2 +- client/src/app/pages/FAQ/FAQ.component.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/app/app.routes.ts b/client/src/app/app.routes.ts index f20db605..df1f92d0 100644 --- a/client/src/app/app.routes.ts +++ b/client/src/app/app.routes.ts @@ -11,7 +11,7 @@ import { ProvincialRecordsComponent } from './pages/provincial-records/provincia import { PrivacyComponent } from './pages/privacy/privacy.component'; import { TermsComponent } from './pages/terms/terms.component'; import { VolunteerComponent } from './pages/volunteer/volunteer.component'; -import { FAQComponent } from './pages/faq/faq.component'; +import { FAQComponent } from './pages/FAQ/FAQ.component'; export const AppRoutes: Routes = [ { path: '', component: HomeComponent, title: 'CubingZA - Home' }, diff --git a/client/src/app/pages/FAQ/FAQ.component.spec.ts b/client/src/app/pages/FAQ/FAQ.component.spec.ts index 5e27abfc..e15dacba 100644 --- a/client/src/app/pages/FAQ/FAQ.component.spec.ts +++ b/client/src/app/pages/FAQ/FAQ.component.spec.ts @@ -1,6 +1,6 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { FAQComponent } from './FAQ.component'; +import { FAQComponent } from './faq.component'; describe('FAQComponent', () => { let component: FAQComponent; From 94c48a9c1bbabe4d4c747d827e019c24b15e0516 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Sun, 18 Aug 2024 21:56:38 +0200 Subject: [PATCH 20/50] Update client/src/app/pages/FAQ/FAQ.component.html Co-authored-by: Brendan Gray --- client/src/app/pages/FAQ/FAQ.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/pages/FAQ/FAQ.component.html b/client/src/app/pages/FAQ/FAQ.component.html index 2456fa02..7598a114 100644 --- a/client/src/app/pages/FAQ/FAQ.component.html +++ b/client/src/app/pages/FAQ/FAQ.component.html @@ -35,7 +35,7 @@

    4.Where can I view my results on the day of the competition?

    More Information

    - More questions? Click me! Contact us for any remaining questions you may have! + More questions? Contact us for any remaining questions you may have!

    From dcc32f62ab0af4b4ee3be7be4f7ea0aef4522309 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Sun, 18 Aug 2024 21:57:00 +0200 Subject: [PATCH 21/50] Update client/src/app/pages/volunteer/volunteer.component.html Co-authored-by: Brendan Gray --- client/src/app/pages/volunteer/volunteer.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/pages/volunteer/volunteer.component.html b/client/src/app/pages/volunteer/volunteer.component.html index 462374c0..51a4894f 100644 --- a/client/src/app/pages/volunteer/volunteer.component.html +++ b/client/src/app/pages/volunteer/volunteer.component.html @@ -22,7 +22,7 @@

    Website Design:

    If you have skills or interest in software developm

    More Information

    - Interested in volunteering? Contact us here! + Interested in volunteering? Contact us to get involved. to learn more about current opportunities and how to get involved.

    From 3c37a76f1fdecd5077e791f854b98371bfaa85d5 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:00:55 +0200 Subject: [PATCH 22/50] Hopefully fixed naming issues. --- client/src/app/app.routes.ts | 4 ++-- client/src/app/components/navbar/navbar.component.html | 2 +- client/src/app/pages/FAQ/FAQ.component.html | 4 ++-- client/src/app/pages/FAQ/FAQ.component.spec.ts | 10 +++++----- client/src/app/pages/FAQ/FAQ.component.ts | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/client/src/app/app.routes.ts b/client/src/app/app.routes.ts index df1f92d0..fcf20e2c 100644 --- a/client/src/app/app.routes.ts +++ b/client/src/app/app.routes.ts @@ -11,7 +11,7 @@ import { ProvincialRecordsComponent } from './pages/provincial-records/provincia import { PrivacyComponent } from './pages/privacy/privacy.component'; import { TermsComponent } from './pages/terms/terms.component'; import { VolunteerComponent } from './pages/volunteer/volunteer.component'; -import { FAQComponent } from './pages/FAQ/FAQ.component'; +import { FaqComponent } from './pages/faq/faq.component'; export const AppRoutes: Routes = [ { path: '', component: HomeComponent, title: 'CubingZA - Home' }, @@ -24,7 +24,7 @@ export const AppRoutes: Routes = [ { path: 'notifications', canActivate: [AuthGuard], component: NotificationsComponent, title: 'CubingZA - Notifications' }, { path: 'contact', component: ContactComponent, title: 'CubingZA - Contact Us' }, { path: 'volunteer', component: VolunteerComponent }, - { path: 'FAQ', component: FAQComponent }, + { path: 'faq', component: FaqComponent }, ...AccountRoutes, { path: 'admin', diff --git a/client/src/app/components/navbar/navbar.component.html b/client/src/app/components/navbar/navbar.component.html index f91b5090..4a539fe7 100644 --- a/client/src/app/components/navbar/navbar.component.html +++ b/client/src/app/components/navbar/navbar.component.html @@ -61,7 +61,7 @@ Volunteer -
  • +
  • FAQ
  • diff --git a/client/src/app/pages/FAQ/FAQ.component.html b/client/src/app/pages/FAQ/FAQ.component.html index 7598a114..81065ac5 100644 --- a/client/src/app/pages/FAQ/FAQ.component.html +++ b/client/src/app/pages/FAQ/FAQ.component.html @@ -9,7 +9,7 @@

    Frequently asked questions

    Questions that we are asked quite often, and some answers.

    -

    FAQS

    +

    Questions and answers

    @@ -27,7 +27,7 @@

    3. Do I need to be at both days if I am only competing on one day?4.Where can I view my results on the day of the competition?

    - On the competition days all results will be uploaded to WCA Live. Just search for the competition name under the "upcoming" tab. After the competition has ended, it will take a few days for the official results to be uploaded to the WCA main site. + On the competition days all results will be uploaded to WCA Live. Just search for the competition name under the "upcoming" tab. After the competition has ended, it will take a few days for the official results to be uploaded to the WCA main site. diff --git a/client/src/app/pages/FAQ/FAQ.component.spec.ts b/client/src/app/pages/FAQ/FAQ.component.spec.ts index e15dacba..0c9bb0dc 100644 --- a/client/src/app/pages/FAQ/FAQ.component.spec.ts +++ b/client/src/app/pages/FAQ/FAQ.component.spec.ts @@ -1,18 +1,18 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { FAQComponent } from './faq.component'; +import { FaqComponent } from './faq.component'; describe('FAQComponent', () => { - let component: FAQComponent; - let fixture: ComponentFixture; + let component: FaqComponent; + let fixture: ComponentFixture; beforeEach(async () => { await TestBed.configureTestingModule({ - declarations: [ FAQComponent ] + declarations: [ FaqComponent ] }) .compileComponents(); - fixture = TestBed.createComponent(FAQComponent); + fixture = TestBed.createComponent(FaqComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/client/src/app/pages/FAQ/FAQ.component.ts b/client/src/app/pages/FAQ/FAQ.component.ts index 3daf4669..0cf30427 100644 --- a/client/src/app/pages/FAQ/FAQ.component.ts +++ b/client/src/app/pages/FAQ/FAQ.component.ts @@ -1,8 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'app-FAQ', - templateUrl: './FAQ.component.html', + selector: 'app-Faq', + templateUrl: './Faq.component.html', }) -export class FAQComponent { +export class FaqComponent { } From be51e620978c71e67a8799a976ba9afd4cdf7896 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:04:34 +0200 Subject: [PATCH 23/50] Rename FAQ.component.html to faq.component.html --- .../app/pages/FAQ/{FAQ.component.html => faq.component.html} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename client/src/app/pages/FAQ/{FAQ.component.html => faq.component.html} (99%) diff --git a/client/src/app/pages/FAQ/FAQ.component.html b/client/src/app/pages/FAQ/faq.component.html similarity index 99% rename from client/src/app/pages/FAQ/FAQ.component.html rename to client/src/app/pages/FAQ/faq.component.html index 81065ac5..e2d7e5cf 100644 --- a/client/src/app/pages/FAQ/FAQ.component.html +++ b/client/src/app/pages/FAQ/faq.component.html @@ -39,4 +39,4 @@

    More Information

    - \ No newline at end of file + From ee5dbc020a1a2dd1ee20bfdcd3432f0f665340c0 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:04:54 +0200 Subject: [PATCH 24/50] Rename FAQ.component.ts to faq.component.ts --- client/src/app/pages/FAQ/{FAQ.component.ts => faq.component.ts} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename client/src/app/pages/FAQ/{FAQ.component.ts => faq.component.ts} (100%) diff --git a/client/src/app/pages/FAQ/FAQ.component.ts b/client/src/app/pages/FAQ/faq.component.ts similarity index 100% rename from client/src/app/pages/FAQ/FAQ.component.ts rename to client/src/app/pages/FAQ/faq.component.ts From 917d0b957243f38ff6d6e94222e31f91eca9b00d Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:05:11 +0200 Subject: [PATCH 25/50] Rename FAQ.component.spec.ts to faq.component.spec.ts --- .../pages/FAQ/{FAQ.component.spec.ts => faq.component.spec.ts} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename client/src/app/pages/FAQ/{FAQ.component.spec.ts => faq.component.spec.ts} (100%) diff --git a/client/src/app/pages/FAQ/FAQ.component.spec.ts b/client/src/app/pages/FAQ/faq.component.spec.ts similarity index 100% rename from client/src/app/pages/FAQ/FAQ.component.spec.ts rename to client/src/app/pages/FAQ/faq.component.spec.ts From 03a1c3177d4cc7a7b7004f526da1101c87fafced Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:05:36 +0200 Subject: [PATCH 26/50] Rename FAQ.component.less to faq.component.less --- client/src/app/pages/FAQ/FAQ.component.less | 0 client/src/app/pages/FAQ/faq.component.less | 1 + 2 files changed, 1 insertion(+) delete mode 100644 client/src/app/pages/FAQ/FAQ.component.less create mode 100644 client/src/app/pages/FAQ/faq.component.less diff --git a/client/src/app/pages/FAQ/FAQ.component.less b/client/src/app/pages/FAQ/FAQ.component.less deleted file mode 100644 index e69de29b..00000000 diff --git a/client/src/app/pages/FAQ/faq.component.less b/client/src/app/pages/FAQ/faq.component.less new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/client/src/app/pages/FAQ/faq.component.less @@ -0,0 +1 @@ + From 78589b3c5d06002786c0208b3e21ff90cb0af497 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:08:37 +0200 Subject: [PATCH 27/50] Rename faq.component.html to faq.component.html --- client/src/app/pages/{FAQ => faq}/faq.component.html | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename client/src/app/pages/{FAQ => faq}/faq.component.html (100%) diff --git a/client/src/app/pages/FAQ/faq.component.html b/client/src/app/pages/faq/faq.component.html similarity index 100% rename from client/src/app/pages/FAQ/faq.component.html rename to client/src/app/pages/faq/faq.component.html From adde9f76127c6e714e7b3c4a459e9113078c61f1 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:09:14 +0200 Subject: [PATCH 28/50] Update and rename faq.component.less to faq.component.less --- client/src/app/pages/{FAQ => faq}/faq.component.less | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename client/src/app/pages/{FAQ => faq}/faq.component.less (100%) diff --git a/client/src/app/pages/FAQ/faq.component.less b/client/src/app/pages/faq/faq.component.less similarity index 100% rename from client/src/app/pages/FAQ/faq.component.less rename to client/src/app/pages/faq/faq.component.less From 3683d1311d74de43a59f4e01fefc00174f201687 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:09:33 +0200 Subject: [PATCH 29/50] Rename faq.component.spec.ts to faq.component.spec.ts --- client/src/app/pages/{FAQ => faq}/faq.component.spec.ts | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename client/src/app/pages/{FAQ => faq}/faq.component.spec.ts (100%) diff --git a/client/src/app/pages/FAQ/faq.component.spec.ts b/client/src/app/pages/faq/faq.component.spec.ts similarity index 100% rename from client/src/app/pages/FAQ/faq.component.spec.ts rename to client/src/app/pages/faq/faq.component.spec.ts From b3639f097099e028a56ea3d9d1fa2932aa37eb0d Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:10:01 +0200 Subject: [PATCH 30/50] Rename faq.component.ts to faq.component.ts --- client/src/app/pages/{FAQ => faq}/faq.component.ts | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename client/src/app/pages/{FAQ => faq}/faq.component.ts (100%) diff --git a/client/src/app/pages/FAQ/faq.component.ts b/client/src/app/pages/faq/faq.component.ts similarity index 100% rename from client/src/app/pages/FAQ/faq.component.ts rename to client/src/app/pages/faq/faq.component.ts From 5503f8d6a4ae8e8ed78c0482952661d245139ac3 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Mon, 19 Aug 2024 17:56:12 +0200 Subject: [PATCH 31/50] Issues hopefully fixed. --- client/src/app/pages/faq/faq.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/pages/faq/faq.component.ts b/client/src/app/pages/faq/faq.component.ts index 0cf30427..f843e47d 100644 --- a/client/src/app/pages/faq/faq.component.ts +++ b/client/src/app/pages/faq/faq.component.ts @@ -2,7 +2,7 @@ import { Component } from '@angular/core'; @Component({ selector: 'app-Faq', - templateUrl: './Faq.component.html', + templateUrl: './faq.component.html', }) export class FaqComponent { } From 9c911d8e3dcbf48006e19b19f878d10e42195edd Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Fri, 23 Aug 2024 14:26:25 +0200 Subject: [PATCH 32/50] Added FAQ and Volunteering app modules, also fixed imports and modules for about dropdown. --- client/src/app/app.module.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts index 7fda5651..377490f9 100644 --- a/client/src/app/app.module.ts +++ b/client/src/app/app.module.ts @@ -8,7 +8,7 @@ import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { HomeComponent } from './pages/home/home.component'; -import { AboutComponent } from './pages/about/about.component'; +import { AboutComponent } from './pages/about_folder_test/about_us/about.component'; import { ContactComponent } from './pages/contact/contact.component'; import { PrivacyComponent } from './pages/privacy/privacy.component'; import { NotificationsComponent } from './pages/notifications/notifications.component'; @@ -16,6 +16,9 @@ import { NotificationsComponent } from './pages/notifications/notifications.comp import { ManageUsersComponent } from './pages/admin/manage-users/manage-users.component'; import { ManageCompetitionsComponent } from './pages/admin/manage-competitions/manage-competitions.component'; +import { FaqComponent } from './pages/about_folder_test/faq/faq.component'; +import { VolunteerComponent } from './pages/about_folder_test/volunteer/volunteer.component'; + import { LoginComponent } from './account/login/login.component'; import { SignupComponent } from './account/signup/signup.component'; import { WcaLoginComponent } from './account/wcalogin/wcalogin.component'; @@ -70,6 +73,8 @@ import { EventSelectorComponent } from './components/event-selector/event-select SettingsComponent, VerifyComponent, RotatingCubeComponent, + FaqComponent, + VolunteerComponent, CubingzaLogoComponent, NavbarComponent, FooterComponent, From 9ab87e1b43bf20495ce1d82e731b2f82df573c9d Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Fri, 23 Aug 2024 14:27:18 +0200 Subject: [PATCH 33/50] Added about app route for about dropdown. --- client/src/app/app.routes.ts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/client/src/app/app.routes.ts b/client/src/app/app.routes.ts index fcf20e2c..be1cf145 100644 --- a/client/src/app/app.routes.ts +++ b/client/src/app/app.routes.ts @@ -1,5 +1,4 @@ import { Routes } from '@angular/router'; -import { AboutComponent } from './pages/about/about.component'; import { AccountRoutes } from './account/account.routes'; import { AuthGuard } from './account/auth.guard'; import { AdminGuard } from './pages/admin/admin.guard'; @@ -10,12 +9,9 @@ import { ProvincialRankingsComponent } from './pages/provincial-rankings/provinc import { ProvincialRecordsComponent } from './pages/provincial-records/provincial-records.component'; import { PrivacyComponent } from './pages/privacy/privacy.component'; import { TermsComponent } from './pages/terms/terms.component'; -import { VolunteerComponent } from './pages/volunteer/volunteer.component'; -import { FaqComponent } from './pages/faq/faq.component'; export const AppRoutes: Routes = [ { path: '', component: HomeComponent, title: 'CubingZA - Home' }, - { path: 'about', component: AboutComponent, title: 'CubingZA - About' }, { path: 'privacy', component: PrivacyComponent, title: 'CubingZA - Privacy Policy' }, { path: 'terms', component: TermsComponent, title: 'CubingZA - Terms of Use' }, { path: 'rankings', redirectTo: 'rankings/GT/333/single', pathMatch: 'full' }, @@ -23,14 +19,16 @@ export const AppRoutes: Routes = [ { path: 'records', component: ProvincialRecordsComponent, title: 'CubingZA - Records' }, { path: 'notifications', canActivate: [AuthGuard], component: NotificationsComponent, title: 'CubingZA - Notifications' }, { path: 'contact', component: ContactComponent, title: 'CubingZA - Contact Us' }, - { path: 'volunteer', component: VolunteerComponent }, - { path: 'faq', component: FaqComponent }, ...AccountRoutes, { path: 'admin', loadChildren: () => import('./pages/admin/admin.module').then(m => m.AdminModule), canMatch: [AdminGuard] - } + }, + { + path: 'about', + loadChildren: () => import('./pages/about_folder_test/about.module').then(m => m.AboutModule), + }, ]; From f9ffeb5fda11a1e843e4d4a41d4ec9af0f6ecc62 Mon Sep 17 00:00:00 2001 From: elfishhenry <109970614+elfishhenry@users.noreply.github.com> Date: Fri, 23 Aug 2024 14:27:34 +0200 Subject: [PATCH 34/50] Added navbar dropdown for about. --- .../components/navbar/navbar.component.html | 32 +++++++++++-------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/client/src/app/components/navbar/navbar.component.html b/client/src/app/components/navbar/navbar.component.html index 4a539fe7..e07dc4cf 100644 --- a/client/src/app/components/navbar/navbar.component.html +++ b/client/src/app/components/navbar/navbar.component.html @@ -48,23 +48,29 @@ - -
  • - - About -
  • + +
  • Contact
  • -
  • - - Volunteer -
  • -
  • - - FAQ -