added SEO + fixed timetable bug
This commit is contained in:
@@ -35,7 +35,9 @@
|
||||
"input": "node_modules/ionicons/dist/ionicons/svg",
|
||||
"output": "./svg"
|
||||
},
|
||||
"src/manifest.webmanifest"
|
||||
"src/manifest.webmanifest",
|
||||
"src/robots.txt",
|
||||
"src/sitemap.xml"
|
||||
],
|
||||
"styles": ["src/theme/variables.scss", "src/global.scss"],
|
||||
"scripts": [],
|
||||
|
||||
@@ -183,7 +183,7 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="timetable" *ngIf="!showCourses">
|
||||
<section class="timetable" *ngIf="!showCourses && timetable != undefined">
|
||||
<div *ngFor="let day of ['mon', 'tue', 'wed', 'thu', 'fri']" class="ion-text-center">
|
||||
<ion-label *ngIf="day == 'mon'">Mo</ion-label>
|
||||
<ion-label *ngIf="day == 'tue'">Di</ion-label>
|
||||
|
||||
@@ -39,6 +39,7 @@ export class SchedulePage implements OnInit {
|
||||
this.timetable[day].push(undefined);
|
||||
}
|
||||
}
|
||||
|
||||
await this.storage.setItem("timetable", this.timetable);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<meta name="apple-mobile-web-app-capable" content="yes"/>
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
|
||||
<link rel="manifest" href="manifest.webmanifest">
|
||||
<meta name="theme-color" content="#3880ff">
|
||||
<meta name="theme-color" content="#121212">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "BetterIServ",
|
||||
"short_name": "BetterIServ",
|
||||
"theme_color": "#3880ff",
|
||||
"theme_color": "#121212",
|
||||
"background_color": "#121212",
|
||||
"display": "standalone",
|
||||
"orientation": "portrait",
|
||||
|
||||
4
BetterIServ.Mobile/src/robots.txt
Normal file
4
BetterIServ.Mobile/src/robots.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
Sitemap: https://school.leon-hoppe.de/sitemap.xml
|
||||
27
BetterIServ.Mobile/src/sitemap.xml
Normal file
27
BetterIServ.Mobile/src/sitemap.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://school.leon-hoppe.de/home</loc>
|
||||
<lastmod>2023-05-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://school.leon-hoppe.de/files</loc>
|
||||
<lastmod>2023-05-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://school.leon-hoppe.de/login</loc>
|
||||
<lastmod>2023-05-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://school.leon-hoppe.de/mails</loc>
|
||||
<lastmod>2023-05-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://school.leon-hoppe.de/schedule</loc>
|
||||
<lastmod>2023-05-01</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://school.leon-hoppe.de/substitution</loc>
|
||||
<lastmod>2023-05-01</lastmod>
|
||||
</url>
|
||||
</urlset>
|
||||
Reference in New Issue
Block a user