bootstrap local added

This commit is contained in:
HuskyTeufel
2022-02-01 16:36:30 +01:00
parent e1eee90be6
commit 32727daf8d
7 changed files with 878 additions and 40 deletions

888
ui/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -24,7 +24,8 @@
"@ng-bootstrap/ng-bootstrap": "^11.0.0",
"@types/ol": "^6.5.3",
"@types/proj4": "^2.5.2",
"bootstrap": "^4.6.0",
"bootstrap": "^4.6.1",
"get-google-fonts": "^1.2.2",
"ol": "^6.11.0",
"proj4": "^2.7.5",
"rxjs": "~7.4.0",

View File

@@ -23,7 +23,11 @@
</p>
<p>
Bitte lasst uns bis zum <br /><b>20.06.2022</b><br /> wissen, ob wir Euch als unsere Gäste<br /> empfangen dürfen<br /><a href="#">Kontaktmöglichkeiten</a>
Bitte lasst uns bis zum<br />
<b>20.06.2022</b><br />
wissen, ob wir Euch als unsere Gäste<br />
empfangen dürfen<br />
<a routerLink="/contact">Kontaktmöglichkeiten</a>
</p>
<br />

View File

@@ -1,2 +1,8 @@
<p>wegbeschreibung works!</p>
<div id="beschreibung" ></div>
<div *ngIf="active">
<div id="beschreibung" ></div>
</div>
<div *ngIf="!active">
<h1>Diese Funktion steht leider noch nicht zur Verfügung</h1>
<h2>Bitte Schauen Sie ab den 1.3.2022 nochmal vorbei</h2>
<h3>Vielen Dank für Ihr verständnis</h3>
</div>

View File

@@ -8,6 +8,7 @@ import Icon from 'ol/style/Icon';
import OSM from 'ol/source/OSM';
import * as olProj from 'ol/proj';
import TileLayer from 'ol/layer/Tile';
import { environment } from 'src/environments/environment';
@@ -17,10 +18,13 @@ import TileLayer from 'ol/layer/Tile';
styleUrls: ['./wegbeschreibung.component.css']
})
export class WegbeschreibungComponent implements OnInit {
active:boolean = false;
Map!: Map;
constructor() { }
constructor() {
this.active = !environment.production;
}
ngOnInit(): void {
this.Map = new Map({

View File

@@ -6,10 +6,10 @@
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
<link href="fonts/fonts.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>

View File

@@ -1,4 +1,5 @@
/* You can add global styles to this file, and also import other style files */
@import "~bootstrap/dist/css/bootstrap.min.css";
@import "~typeface-josefin-sans/index.css";
@import "~ol/ol.css";
html {