diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 9e18efd..0779d4b 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,4 +1,5 @@ import {NgModule} from '@angular/core'; +import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import {BrowserModule} from '@angular/platform-browser'; import {NgxGoogleAnalyticsModule} from 'ngx-google-analytics'; import {environment} from '../environments/environment'; @@ -50,6 +51,7 @@ export const APP_IMPORTS: any[] = [ AppRouting, BrowserAnimationsModule, BrowserModule, + ReactiveFormsModule, MaterialModule ] diff --git a/src/app/components/contact/contact.component.html b/src/app/components/contact/contact.component.html index 906036b..634bc0c 100644 --- a/src/app/components/contact/contact.component.html +++ b/src/app/components/contact/contact.component.html @@ -1,25 +1,28 @@
-
+
+ Coming Soon: This feature is under development +
+
Email - +
Subject - - General Inquiry - Castra Event + + General Inquiry + Castra Event
Message - +
@@ -27,7 +30,8 @@ Send me a copy
- + +
diff --git a/src/app/components/contact/contact.component.ts b/src/app/components/contact/contact.component.ts index 8f5803b..679601c 100644 --- a/src/app/components/contact/contact.component.ts +++ b/src/app/components/contact/contact.component.ts @@ -1,9 +1,25 @@ import {Component} from '@angular/core'; +import {FormBuilder, FormGroup} from '@angular/forms'; @Component({ selector: 'app-contact', templateUrl: './contact.component.html' }) export class ContactComponent { - contact: string = ''; + public contact: string = ''; + public error = false; + public form!: FormGroup; + + constructor(private fb: FormBuilder) { + this.form = fb.group({ + email: '', + subject: '', + body: '', + }); + } + + reset() { + this.error = false; + this.form.reset(); + } } diff --git a/src/app/components/navbar/navbar.component.scss b/src/app/components/navbar/navbar.component.scss index 7c9d863..7c0c6d5 100644 --- a/src/app/components/navbar/navbar.component.scss +++ b/src/app/components/navbar/navbar.component.scss @@ -1,4 +1,5 @@ .navbar-spacing { + position: relative; height: 64px; width: 100%; } diff --git a/src/app/views/about/about.component.html b/src/app/views/about/about.component.html index f32f63e..1a73d30 100644 --- a/src/app/views/about/about.component.html +++ b/src/app/views/about/about.component.html @@ -88,7 +88,7 @@

It continues to host our annual events:

Special Thanks

Robert Sacco - Aquilifer (Eagle bearer) & Legio XXX's president

diff --git a/src/app/views/home/home.component.html b/src/app/views/home/home.component.html index bfb9017..2f13fba 100644 --- a/src/app/views/home/home.component.html +++ b/src/app/views/home/home.component.html @@ -3,7 +3,7 @@ -
+
Statue of Trajan
@@ -48,8 +48,56 @@
+ +
+
+

Resources

+
+
+
+ Regulations +
+
+

Legio XXX

+

Learn about Legio XXX, who we are & what we do

+ About Us / Gallery / Contact +
+
+
+
+ Border icon +
+
+

Events

+

See our upcoming events & learn how you can participate

+ Calendar / Castra Aestiva / Castra Hiberna +
+
+
+
+ Canadian leaf +
+
+

Reenacting

+

Learn about re-enacting and how you can get involved

+ Getting Started / Rules & Regulations / Drill Commands +
+
+
+
+ Regulations +
+
+

Equipment

+

Learn how to assemble & maintain your kit

+ Buy Equipment / Build Equipment / Maintenance +
+
+
+
+
-
+
I want you for Legio XXX
@@ -73,7 +121,7 @@
-
+

Contact

diff --git a/src/assets/img/capricorn.png b/src/assets/img/capricorn.png new file mode 100644 index 0000000..33e792c Binary files /dev/null and b/src/assets/img/capricorn.png differ diff --git a/src/assets/img/event.png b/src/assets/img/event.png new file mode 100644 index 0000000..12873f2 Binary files /dev/null and b/src/assets/img/event.png differ diff --git a/src/assets/img/helmet.png b/src/assets/img/helmet.png new file mode 100644 index 0000000..e6edac8 Binary files /dev/null and b/src/assets/img/helmet.png differ diff --git a/src/assets/img/reenact.png b/src/assets/img/reenact.png new file mode 100644 index 0000000..af6546a Binary files /dev/null and b/src/assets/img/reenact.png differ diff --git a/src/styles.scss b/src/styles.scss index 56ec6f6..037ee5c 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -64,7 +64,7 @@ h3 { font: 400 18px / 30px Roboto, "Helvetica Neue", sans-serif !important; } margin-right: auto; padding: 5rem 2rem; - @media screen and (max-width: 400px) { + @media screen and (max-width: 1200px) { padding: 3rem 2rem; }