-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
254 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,19 @@ | ||
<p> | ||
about works! | ||
</p> | ||
<div class="lp-columns"> | ||
<div> | ||
<img class="lp-image" width="600px" height="400px" src="../../assets/lp.jpg"> | ||
</div> | ||
<div class="lp-description"> | ||
<p> | ||
<b>WheelJourney</b> to innowacyjna aplikacja stworzona z myślą o osobach niepełnosprawnych poruszających się na | ||
wózkach | ||
inwalidzkich. Jej głównym celem jest zapewnienie użytkownikom informacji na temat jakości dróg i ścieżek, | ||
którymi zamierzają podróżować, aby umożliwić im wybór najbardziej dostępnych i bezpiecznych tras. | ||
</p> | ||
|
||
<p class="lp-description"> | ||
To nie tylko narzędzie nawigacyjne, ale również platforma, która umożliwia wymianę | ||
doświadczeń i współpracę między osobami poruszającymi się na wózkach inwalidzkich. Dzięki tej aplikacji podróże | ||
stają się bezpieczniejsze, bardziej dostępne i komfortowe dla wszystkich użytkowników. | ||
</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
@use '@angular/material' as mat; | ||
@import '../../custom-theme.scss'; | ||
|
||
.lp-columns { | ||
display: flex; | ||
gap: 64px; | ||
align-items: center; | ||
justify-content: center; | ||
flex-direction: column-reverse; | ||
padding: 16px 32px; | ||
} | ||
|
||
.lp-image { | ||
border-radius: 16px; | ||
object-fit: cover; | ||
} | ||
|
||
.lp-description { | ||
font: mat.get-theme-typography($m3-light-theme, headline-small, font); | ||
line-height: 1.6; | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-about', | ||
templateUrl: './about.component.html', | ||
styleUrls: ['./about.component.css'] | ||
styleUrls: ['./about.component.scss'], | ||
}) | ||
export class AboutComponent implements OnInit { | ||
|
||
constructor() { } | ||
|
||
ngOnInit() { | ||
} | ||
|
||
} | ||
export class AboutComponent {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
.main { | ||
background-color: #fff; | ||
border-radius: 16px; | ||
width: calc(100% - 32px); | ||
min-height: 85vh; | ||
box-sizing: border-box; | ||
margin: 16px; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
<app-nav> | ||
<main class="main"> | ||
<router-outlet></router-outlet> | ||
</main> | ||
</app-nav> | ||
<router-outlet></router-outlet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,45 @@ | ||
import { Routes } from '@angular/router'; | ||
import { MapComponent } from './map/map.component'; | ||
import { AboutComponent } from './about/about.component'; | ||
import { HomeComponent } from './home/home.component'; | ||
import { NavComponent } from './nav/nav.component'; | ||
import { DangerousPlacesComponent } from './dangerous-places/dangerous-places.component'; | ||
|
||
export const routes: Routes = [ | ||
{ | ||
path: 'map', | ||
component: MapComponent, | ||
path: '', | ||
pathMatch: 'full', | ||
title: 'Mapa', | ||
data: { | ||
title: 'Mapa', | ||
}, | ||
title: 'WheelJourney', | ||
component: HomeComponent, | ||
}, | ||
{ | ||
path: '', | ||
pathMatch: 'full', | ||
component: AboutComponent, | ||
component: NavComponent, | ||
children: [ | ||
{ | ||
component: MapComponent, | ||
path: 'map', | ||
title: 'WheelJourney - mapa', | ||
data: { | ||
title: 'Mapa', | ||
}, | ||
}, | ||
{ | ||
component: AboutComponent, | ||
path: 'about', | ||
title: 'WheelJourney - about', | ||
data: { | ||
title: 'Informacje', | ||
}, | ||
}, | ||
{ | ||
component: DangerousPlacesComponent, | ||
path: 'dangerous-places', | ||
title: 'WheelJourney - niebezpieczne miejsca', | ||
data: { | ||
title: 'Niebezpiecznie miejsca', | ||
}, | ||
}, | ||
], | ||
}, | ||
]; |
File renamed without changes.
Empty file.
8 changes: 8 additions & 0 deletions
8
frontend/src/app/dangerous-places/dangerous-places.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-dangerous-places', | ||
templateUrl: './dangerous-places.component.html', | ||
styleUrls: ['./dangerous-places.component.scss'], | ||
}) | ||
export class DangerousPlacesComponent {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<div class="lp"> | ||
<img width="160px" height="160px" class="lp-logo" src="../../assets/logo.png"> | ||
<h1 class="lp-title">WheelJourney</h1> | ||
<p class="lp-subtitle"> | ||
Empowering Barrier-Free Exploration | ||
</p> | ||
<a mat-raised-button [routerLink]="['/map']">Zacznij korzystać!</a> | ||
<div class="lp-columns"> | ||
<div> | ||
<img class="lp-image" width="600px" height="400px" src="../../assets/lp.jpg"> | ||
</div> | ||
<div class="lp-description"> | ||
<p> | ||
WheelJourney to innowacyjna aplikacja stworzona z myślą o osobach niepełnosprawnych poruszających się na wózkach | ||
inwalidzkich. Jej głównym celem jest zapewnienie użytkownikom informacji na temat jakości dróg i ścieżek, | ||
którymi zamierzają podróżować, aby umożliwić im wybór najbardziej dostępnych i bezpiecznych tras. | ||
</p> | ||
</div> | ||
</div> | ||
<p class="lp-description lp-description-center"> | ||
WheelJourney to nie tylko narzędzie nawigacyjne, ale również platforma, która umożliwia wymianę | ||
doświadczeń i współpracę między osobami poruszającymi się na wózkach inwalidzkich. Dzięki tej aplikacji podróże | ||
stają się bezpieczniejsze, bardziej dostępne i komfortowe dla wszystkich użytkowników. | ||
</p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
@use '@angular/material' as mat; | ||
@import '../../custom-theme.scss'; | ||
|
||
.lp { | ||
width: 100%; | ||
background-color: #dae2f9; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
flex-direction: column; | ||
padding: 24px 12px; | ||
box-sizing: border-box; | ||
} | ||
|
||
.lp-logo { | ||
width: 160px; | ||
height: 160px; | ||
object-fit: contain; | ||
} | ||
|
||
.lp-title { | ||
font: mat.get-theme-typography($m3-light-theme, display-large, font); | ||
margin-bottom: 32px; | ||
} | ||
|
||
.lp-subtitle { | ||
font: mat.get-theme-typography($m3-light-theme, headline-medium, font); | ||
margin-top: 0; | ||
} | ||
|
||
.lp-columns { | ||
display: flex; | ||
gap: 64px; | ||
align-items: center; | ||
justify-content: center; | ||
flex-direction: column; | ||
max-width: 1300px; | ||
margin-top: 64px; | ||
|
||
@media (min-width: 1576px) { | ||
flex-direction: row; | ||
} | ||
} | ||
|
||
.lp-image { | ||
border-radius: 16px; | ||
object-fit: cover; | ||
} | ||
|
||
.lp-description { | ||
font: mat.get-theme-typography($m3-light-theme, headline-small, font); | ||
line-height: 1.6; | ||
max-width: 1300px; | ||
text-align: center; | ||
|
||
@media (min-width: 1576px) { | ||
text-align: left; | ||
} | ||
} | ||
|
||
.lp-description-center { | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
import { MatButtonModule } from '@angular/material/button'; | ||
import { RouterModule } from '@angular/router'; | ||
|
||
@Component({ | ||
selector: 'app-home', | ||
standalone: true, | ||
templateUrl: './home.component.html', | ||
styleUrls: ['./home.component.scss'], | ||
imports: [MatButtonModule, RouterModule], | ||
}) | ||
export class HomeComponent implements OnInit { | ||
constructor() {} | ||
|
||
ngOnInit() {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.