diff --git a/frontend/src/app/app.module.ts b/frontend/src/app/app.module.ts index b690393..1b31135 100644 --- a/frontend/src/app/app.module.ts +++ b/frontend/src/app/app.module.ts @@ -11,11 +11,15 @@ import {MapComponent} from './map/map.component'; import {RulesComponent} from './rules/rules.component'; import {CopyIpComponent} from './copy-ip/copy-ip.component'; import {FooterComponent} from './footer/footer.component'; +import {TermsComponent} from './terms/terms.component'; +import {PrivacyComponent} from './privacy/privacy.component'; const routes: Routes = [ {path: '', component: HomeComponent}, {path: 'map', component: MapComponent}, {path: 'rules', component: RulesComponent}, + {path: 'terms', component: TermsComponent}, + {path: 'privacy', component: PrivacyComponent}, ]; @NgModule({ @@ -26,7 +30,9 @@ const routes: Routes = [ HomeComponent, ThemeComponent, MapComponent, - RulesComponent + RulesComponent, + TermsComponent, + PrivacyComponent ], imports: [ BrowserModule, diff --git a/frontend/src/app/privacy/privacy.component.html b/frontend/src/app/privacy/privacy.component.html new file mode 100644 index 0000000..5c15d48 --- /dev/null +++ b/frontend/src/app/privacy/privacy.component.html @@ -0,0 +1 @@ +
privacy works!
diff --git a/frontend/src/app/privacy/privacy.component.scss b/frontend/src/app/privacy/privacy.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/app/privacy/privacy.component.spec.ts b/frontend/src/app/privacy/privacy.component.spec.ts new file mode 100644 index 0000000..3cacafb --- /dev/null +++ b/frontend/src/app/privacy/privacy.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { PrivacyComponent } from './privacy.component'; + +describe('PrivacyComponent', () => { + let component: PrivacyComponent; + let fixture: ComponentFixtureterms works!
diff --git a/frontend/src/app/terms/terms.component.scss b/frontend/src/app/terms/terms.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/app/terms/terms.component.spec.ts b/frontend/src/app/terms/terms.component.spec.ts new file mode 100644 index 0000000..cdb0489 --- /dev/null +++ b/frontend/src/app/terms/terms.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { TermsComponent } from './terms.component'; + +describe('TermsComponent', () => { + let component: TermsComponent; + let fixture: ComponentFixture