Archived
Private
Public Access
1
0

added SEO + fixed timetable bug

This commit is contained in:
2023-05-01 20:58:33 +02:00
parent 76fc8486b9
commit f3d870bc6e
7 changed files with 38 additions and 4 deletions

View File

@@ -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": [],

View File

@@ -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>

View File

@@ -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);
} }
} }

View File

@@ -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>

View File

@@ -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",

View File

@@ -0,0 +1,4 @@
User-agent: *
Allow: /
Sitemap: https://school.leon-hoppe.de/sitemap.xml

View 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>