Skip to content

Commit

Permalink
feat: implement imprint and privacy policy pages
Browse files Browse the repository at this point in the history
  • Loading branch information
gion-andri committed Jan 4, 2024
1 parent 72afb9e commit 1e245c5
Show file tree
Hide file tree
Showing 9 changed files with 53 additions and 42 deletions.
2 changes: 0 additions & 2 deletions src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { EventsDetailsComponent } from "./pages/events/events-details/events-det
import { NotFoundComponent } from "./pages/static/not-found/not-found.component";
import { canMatchEventId } from "./routing/match-event-id.guard";
import { HelpComponent } from "./pages/static/help/help.component";
import { ContactComponent } from "./pages/static/contact/contact.component";
import { OrganisationComponent } from "./pages/static/organisation/organisation.component";
import { ImprintComponent } from "./pages/static/imprint/imprint.component";
import { PrivacyComponent } from "./pages/static/privacy/privacy.component";
Expand All @@ -29,7 +28,6 @@ const routes: Routes = [
},
{path: ':id', canMatch: [canMatchEventId], pathMatch: 'full', component: EventsDetailsComponent},
{path: 'help', pathMatch: 'full', component: HelpComponent},
{path: 'contact', pathMatch: 'full', component: ContactComponent},
{path: 'organisation', pathMatch: 'full', component: OrganisationComponent},
{path: 'imprint', pathMatch: 'full', component: ImprintComponent},
{path: 'privacy', pathMatch: 'full', component: PrivacyComponent},
Expand Down
6 changes: 3 additions & 3 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { HttpClient, HttpClientModule } from "@angular/common/http";
import { JWT_OPTIONS, JwtModule } from "@auth0/angular-jwt";
import { environment } from "../environments/environment";
import { HelpComponent } from './pages/static/help/help.component';
import { ContactComponent } from './pages/static/contact/contact.component';
import { ImprintComponent } from './pages/static/imprint/imprint.component';
import { PrivacyComponent } from './pages/static/privacy/privacy.component';
import { OrganisationComponent } from './pages/static/organisation/organisation.component';
Expand Down Expand Up @@ -51,7 +50,9 @@ import { DatepickerHeaderComponent } from './components/datepicker-header/datepi
import { NoEventsComponent } from './components/events/no-events/no-events.component';
import { ScrollableTitleDirective } from './shared/directives/scrollable-title.directive';
import { FilterScrollPositionDirective } from './shared/directives/filter-scroll-position.directive';
import { PwaInstallInstructionsComponent } from './components/pwa-install-instructions/pwa-install-instructions.component';
import {
PwaInstallInstructionsComponent
} from './components/pwa-install-instructions/pwa-install-instructions.component';
import { TrackingRtrComponent } from './components/tracking-rtr/tracking-rtr.component';

export function jwtOptionsFactory(authService: AuthenticationService) {
Expand Down Expand Up @@ -86,7 +87,6 @@ export function inIframe() {
HeaderComponent,
BackButtonComponent,
HelpComponent,
ContactComponent,
ImprintComponent,
PrivacyComponent,
OrganisationComponent,
Expand Down
2 changes: 0 additions & 2 deletions src/app/components/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
</li>
<li><a (click)="toggleMenu(menu)"
[routerLink]="'/help'">{{ 'COMPONENTS.HEADER.MAIN_MENU.HELP' | translate }}</a></li>
<li><a (click)="toggleMenu(menu)"
[routerLink]="'/contact'">{{ 'COMPONENTS.HEADER.MAIN_MENU.CONTACT' | translate }}</a></li>
<li><a (click)="toggleMenu(menu)"
[routerLink]="'/organisation'">{{ 'COMPONENTS.HEADER.MAIN_MENU.ORGANISATION' | translate }}</a>
</li>
Expand Down
9 changes: 0 additions & 9 deletions src/app/pages/static/contact/contact.component.html

This file was deleted.

Empty file.
10 changes: 0 additions & 10 deletions src/app/pages/static/contact/contact.component.ts

This file was deleted.

32 changes: 25 additions & 7 deletions src/app/pages/static/imprint/imprint.component.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,27 @@
<section class="content-narrow">
<h1>Impressum</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet aspernatur delectus exercitationem nulla odio
officiis quis tempora vel voluptatem voluptates! Atque culpa eveniet fugit id, iusto magni quisquam. Quos,
vitae.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Asperiores aut beatae consequatur distinctio dolorem,
et in minus modi nam praesentium quaerat repellendus saepe sapiente sed tenetur. Dolorum inventore possimus
quod!</p>
<h1>Contact ed impressum</h1>

<p>Tar dumondas davart il cuntegn ed la moderaziun da quel pudais Vus gugent contactar:</p>

<p>
RTR Radiotelevisiun Svizra Rumantscha<br>
Via da Masans 2<br>
7000 Cuira<br>
Tel. 058 136 30 00<br>
<a href="mailto:[email protected]" target="_blank">[email protected]</a><br>
<a href="https://www.rtr.ch" target="_blank">www.rtr.ch</a>
</p>

<p style="margin-top: 3rem;">Autras dumondas en connex cun la pagina pudais Vus trametter a:</p>

<p>
Uniun da las Rumantschas <br>
e dals Rumantschs en la Bassa<br>
Roman Pfister<br>
Zimikerried 11<br>
8603 Schwerzenbach<br>
<a href="mailto:[email protected]"
target="_blank">[email protected]</a><br>
<a href="https://www.uniun-urb.ch" target="_blank">www.uniun-urb.ch</a>
</p>
</section>
31 changes: 24 additions & 7 deletions src/app/pages/static/privacy/privacy.component.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
<section class="content-narrow">
<h1>Decleraziun da protecziun da datas</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet aspernatur delectus exercitationem nulla odio
officiis quis tempora vel voluptatem voluptates! Atque culpa eveniet fugit id, iusto magni quisquam. Quos,
vitae.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Asperiores aut beatae consequatur distinctio dolorem,
et in minus modi nam praesentium quaerat repellendus saepe sapiente sed tenetur. Dolorum inventore possimus
quod!</p>
<h1>Decleraziun davart la protecziun da datas</h1>
<p>
Nus prendain serius la protecziun da Vossas datas e sa basain sin las directivas legalas vertentas. Nus vulain
che Vus As sentias segira e segir durant che Vus faschais diever da nossas purschidas. Perquai chattais Vus qua
tut las infurmaziuns en detagl:
</p>
<p>
Protecziun da datas SRG SSR / Datenschutz SRG SSR:<br>
<a href="https://www.srgssr.ch/rm/decleraziun-davart-la-protecziun-da-datas" target="_blank">
www.srgssr.ch/rm/decleraziun-davart-la-protecziun-da-datas
</a>
</p>

<p style="margin-top: 3rem;">
Sche Vus avais dumondas concretas areguard la protecziun da datas tar RTR, pudais Vus gugent contactar nus sco
suonda:
</p>

<p>
Contact da la protecziun da datas tar RTR<br>
Radiotelevisiun Svizra Rumantscha<br>
Via da Masans 2 CH-7000 Cuira<br>
e-mail: <a href="mailto:[email protected]" target="_blank">[email protected]</a><br>
</p>
</section>
3 changes: 1 addition & 2 deletions src/assets/i18n/rm.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@
"MAIN_MENU": {
"EVENTS": "occurrenzas",
"HELP": "agid",
"CONTACT": "contact",
"ORGANISATION": "purtaders",
"IMPRINT": "impressum",
"IMPRINT": "contact ed impressum",
"PRIVACY": "protecziun da datas"
},
"PROFILE_MENU": {
Expand Down

0 comments on commit 1e245c5

Please sign in to comment.