diff --git a/FencerJudgeFront/angular.json b/FencerJudgeFront/angular.json index f49bfa8..3f97b8b 100644 --- a/FencerJudgeFront/angular.json +++ b/FencerJudgeFront/angular.json @@ -34,10 +34,13 @@ { "glob": "**/*", "input": "public" - } + }, + "src/assets/" ], "styles": [ - "src/styles.css" + "src/styles.css", + "node_modules/bootstrap/dist/css/bootstrap.min.css", + "node_modules/bootstrap-icons/font/bootstrap-icons.css" ], "scripts": [] }, @@ -66,6 +69,9 @@ "defaultConfiguration": "production" }, "serve": { + "options": { + "port": 80 + }, "builder": "@angular-devkit/build-angular:dev-server", "configurations": { "production": { @@ -102,5 +108,8 @@ } } } + }, + "cli": { + "analytics": false } } diff --git a/FencerJudgeFront/package-lock.json b/FencerJudgeFront/package-lock.json index 9da01e2..00f2a33 100644 --- a/FencerJudgeFront/package-lock.json +++ b/FencerJudgeFront/package-lock.json @@ -16,6 +16,9 @@ "@angular/platform-browser": "^19.1.0", "@angular/platform-browser-dynamic": "^19.1.0", "@angular/router": "^19.1.0", + "boostrap": "^2.0.0", + "bootstrap": "^5.3.5", + "bootstrap-icons": "^1.11.3", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.15.0" @@ -4530,6 +4533,17 @@ "node": ">=14" } }, + "node_modules/@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "license": "MIT", + "peer": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, "node_modules/@rollup/rollup-android-arm-eabi": { "version": "4.34.8", "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.34.8.tgz", @@ -5921,6 +5935,48 @@ "dev": true, "license": "ISC" }, + "node_modules/boostrap": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/boostrap/-/boostrap-2.0.0.tgz", + "integrity": "sha512-JEeFMOweKeGXEM9rt95eaVISOkluG9aKcl0jQCETOVH9jynCZxuBZe2oWgcWJpj5wqYWZl625SnW7OgHT2Ineg==", + "deprecated": "Package no longer supported. Contact support@npmjs.com for more info.", + "license": "ISC" + }, + "node_modules/bootstrap": { + "version": "5.3.5", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.5.tgz", + "integrity": "sha512-ct1CHKtiobRimyGzmsSldEtM03E8fcEX4Tb3dGXz1V8faRwM50+vfHwTzOxB3IlKO7m+9vTH3s/3C6T2EAPeTA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/twbs" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + } + ], + "license": "MIT", + "peerDependencies": { + "@popperjs/core": "^2.11.8" + } + }, + "node_modules/bootstrap-icons": { + "version": "1.11.3", + "resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.11.3.tgz", + "integrity": "sha512-+3lpHrCw/it2/7lBL15VR0HEumaBss0+f/Lb6ZvHISn1mlK83jjFpooTLsMWbIjJMDjDjOExMsTxnXSIT4k4ww==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/twbs" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + } + ], + "license": "MIT" + }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", diff --git a/FencerJudgeFront/package.json b/FencerJudgeFront/package.json index 757656f..aecac98 100644 --- a/FencerJudgeFront/package.json +++ b/FencerJudgeFront/package.json @@ -18,6 +18,9 @@ "@angular/platform-browser": "^19.1.0", "@angular/platform-browser-dynamic": "^19.1.0", "@angular/router": "^19.1.0", + "boostrap": "^2.0.0", + "bootstrap": "^5.3.5", + "bootstrap-icons": "^1.11.3", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.15.0" diff --git a/FencerJudgeFront/public/favicon.ico b/FencerJudgeFront/public/favicon.ico index 57614f9..7684fbd 100644 Binary files a/FencerJudgeFront/public/favicon.ico and b/FencerJudgeFront/public/favicon.ico differ diff --git a/FencerJudgeFront/src/app/app.component.html b/FencerJudgeFront/src/app/app.component.html index 36093e1..a37d5f5 100644 --- a/FencerJudgeFront/src/app/app.component.html +++ b/FencerJudgeFront/src/app/app.component.html @@ -1,336 +1,5 @@ - - - - - - - - - - - -
-
-
- -

Hello, {{ title }}

-

Congratulations! Your app is running. 🎉

-
- -
-
- @for (item of [ - { title: 'Explore the Docs', link: 'https://angular.dev' }, - { title: 'Learn with Tutorials', link: 'https://angular.dev/tutorials' }, - { title: 'CLI Docs', link: 'https://angular.dev/tools/cli' }, - { title: 'Angular Language Service', link: 'https://angular.dev/tools/language-service' }, - { title: 'Angular DevTools', link: 'https://angular.dev/tools/devtools' }, - ]; track item.title) { - - {{ item.title }} - - - - - } -
- -
-
-
- - - - - - - - - - - + +
+ +
+ \ No newline at end of file diff --git a/FencerJudgeFront/src/app/app.module.ts b/FencerJudgeFront/src/app/app.module.ts index b1c6c96..6a4581d 100644 --- a/FencerJudgeFront/src/app/app.module.ts +++ b/FencerJudgeFront/src/app/app.module.ts @@ -3,10 +3,16 @@ import { BrowserModule } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; +import { HeaderComponent } from './components/essentials/header/header.component'; +import { FooterComponent } from './components/essentials/footer/footer.component'; +import { HomeComponent } from './components/home/home.component'; @NgModule({ declarations: [ - AppComponent + AppComponent, + HeaderComponent, + FooterComponent, + HomeComponent ], imports: [ BrowserModule, diff --git a/FencerJudgeFront/src/app/components/essentials/footer/footer.component.css b/FencerJudgeFront/src/app/components/essentials/footer/footer.component.css new file mode 100644 index 0000000..e69de29 diff --git a/FencerJudgeFront/src/app/components/essentials/footer/footer.component.html b/FencerJudgeFront/src/app/components/essentials/footer/footer.component.html new file mode 100644 index 0000000..28c0d7d --- /dev/null +++ b/FencerJudgeFront/src/app/components/essentials/footer/footer.component.html @@ -0,0 +1 @@ +

footer works!

diff --git a/FencerJudgeFront/src/app/components/essentials/footer/footer.component.spec.ts b/FencerJudgeFront/src/app/components/essentials/footer/footer.component.spec.ts new file mode 100644 index 0000000..aa27d1c --- /dev/null +++ b/FencerJudgeFront/src/app/components/essentials/footer/footer.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { FooterComponent } from './footer.component'; + +describe('FooterComponent', () => { + let component: FooterComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [FooterComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(FooterComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/FencerJudgeFront/src/app/components/essentials/footer/footer.component.ts b/FencerJudgeFront/src/app/components/essentials/footer/footer.component.ts new file mode 100644 index 0000000..d8f2f2c --- /dev/null +++ b/FencerJudgeFront/src/app/components/essentials/footer/footer.component.ts @@ -0,0 +1,11 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-footer', + standalone: false, + templateUrl: './footer.component.html', + styleUrl: './footer.component.css' +}) +export class FooterComponent { + +} diff --git a/FencerJudgeFront/src/app/components/essentials/header/header.component.css b/FencerJudgeFront/src/app/components/essentials/header/header.component.css new file mode 100644 index 0000000..e69de29 diff --git a/FencerJudgeFront/src/app/components/essentials/header/header.component.html b/FencerJudgeFront/src/app/components/essentials/header/header.component.html new file mode 100644 index 0000000..4f5a95d --- /dev/null +++ b/FencerJudgeFront/src/app/components/essentials/header/header.component.html @@ -0,0 +1 @@ +

header works!

diff --git a/FencerJudgeFront/src/app/components/essentials/header/header.component.spec.ts b/FencerJudgeFront/src/app/components/essentials/header/header.component.spec.ts new file mode 100644 index 0000000..63f2a45 --- /dev/null +++ b/FencerJudgeFront/src/app/components/essentials/header/header.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { HeaderComponent } from './header.component'; + +describe('HeaderComponent', () => { + let component: HeaderComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [HeaderComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(HeaderComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/FencerJudgeFront/src/app/components/essentials/header/header.component.ts b/FencerJudgeFront/src/app/components/essentials/header/header.component.ts new file mode 100644 index 0000000..f572069 --- /dev/null +++ b/FencerJudgeFront/src/app/components/essentials/header/header.component.ts @@ -0,0 +1,11 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-header', + standalone: false, + templateUrl: './header.component.html', + styleUrl: './header.component.css' +}) +export class HeaderComponent { + +} diff --git a/FencerJudgeFront/src/app/components/home/home.component.css b/FencerJudgeFront/src/app/components/home/home.component.css new file mode 100644 index 0000000..e69de29 diff --git a/FencerJudgeFront/src/app/components/home/home.component.html b/FencerJudgeFront/src/app/components/home/home.component.html new file mode 100644 index 0000000..5f2c53f --- /dev/null +++ b/FencerJudgeFront/src/app/components/home/home.component.html @@ -0,0 +1 @@ +

home works!

diff --git a/FencerJudgeFront/src/app/components/home/home.component.spec.ts b/FencerJudgeFront/src/app/components/home/home.component.spec.ts new file mode 100644 index 0000000..545a43d --- /dev/null +++ b/FencerJudgeFront/src/app/components/home/home.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { HomeComponent } from './home.component'; + +describe('HomeComponent', () => { + let component: HomeComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [HomeComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(HomeComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/FencerJudgeFront/src/app/components/home/home.component.ts b/FencerJudgeFront/src/app/components/home/home.component.ts new file mode 100644 index 0000000..906862d --- /dev/null +++ b/FencerJudgeFront/src/app/components/home/home.component.ts @@ -0,0 +1,11 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-home', + standalone: false, + templateUrl: './home.component.html', + styleUrl: './home.component.css' +}) +export class HomeComponent { + +} diff --git a/FencerJudgeFront/src/assets/Logo/favicon.ico b/FencerJudgeFront/src/assets/Logo/favicon.ico new file mode 100644 index 0000000..7684fbd Binary files /dev/null and b/FencerJudgeFront/src/assets/Logo/favicon.ico differ diff --git a/FencerJudgeFront/src/assets/Logo/favicon.png b/FencerJudgeFront/src/assets/Logo/favicon.png new file mode 100644 index 0000000..a3376ab Binary files /dev/null and b/FencerJudgeFront/src/assets/Logo/favicon.png differ diff --git a/FencerJudgeFront/src/index.html b/FencerJudgeFront/src/index.html index 381bbb3..27faadb 100644 --- a/FencerJudgeFront/src/index.html +++ b/FencerJudgeFront/src/index.html @@ -2,7 +2,7 @@ - FencerJudgeFront + FencerJudge