added SEO + fixed timetable bug
This commit is contained in:
@@ -35,7 +35,9 @@
|
|||||||
"input": "node_modules/ionicons/dist/ionicons/svg",
|
"input": "node_modules/ionicons/dist/ionicons/svg",
|
||||||
"output": "./svg"
|
"output": "./svg"
|
||||||
},
|
},
|
||||||
"src/manifest.webmanifest"
|
"src/manifest.webmanifest",
|
||||||
|
"src/robots.txt",
|
||||||
|
"src/sitemap.xml"
|
||||||
],
|
],
|
||||||
"styles": ["src/theme/variables.scss", "src/global.scss"],
|
"styles": ["src/theme/variables.scss", "src/global.scss"],
|
||||||
"scripts": [],
|
"scripts": [],
|
||||||
|
|||||||
@@ -183,7 +183,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</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">
|
<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 == 'mon'">Mo</ion-label>
|
||||||
<ion-label *ngIf="day == 'tue'">Di</ion-label>
|
<ion-label *ngIf="day == 'tue'">Di</ion-label>
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ export class SchedulePage implements OnInit {
|
|||||||
this.timetable[day].push(undefined);
|
this.timetable[day].push(undefined);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
await this.storage.setItem("timetable", this.timetable);
|
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-capable" content="yes"/>
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
|
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
|
||||||
<link rel="manifest" href="manifest.webmanifest">
|
<link rel="manifest" href="manifest.webmanifest">
|
||||||
<meta name="theme-color" content="#3880ff">
|
<meta name="theme-color" content="#121212">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "BetterIServ",
|
"name": "BetterIServ",
|
||||||
"short_name": "BetterIServ",
|
"short_name": "BetterIServ",
|
||||||
"theme_color": "#3880ff",
|
"theme_color": "#121212",
|
||||||
"background_color": "#121212",
|
"background_color": "#121212",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"orientation": "portrait",
|
"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