Genesis
BIN
public/assets/fonts/SwashingtonCP.ttf
Normal file
BIN
public/assets/fonts/SwashingtonCP_o.ttf
Normal file
BIN
public/assets/fonts/roboto/Roboto-Bold.ttf
Normal file
BIN
public/assets/fonts/roboto/Roboto-Light.ttf
Normal file
BIN
public/assets/fonts/roboto/Roboto-Medium.ttf
Normal file
BIN
public/assets/fonts/roboto/Roboto-Regular.ttf
Normal file
BIN
public/assets/images/1.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
public/assets/images/2.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
public/assets/images/5.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
public/assets/images/8.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
public/assets/images/cards.png
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
BIN
public/assets/images/cash.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
public/assets/images/cutlings.jpg
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
public/assets/images/gg.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
public/assets/images/giropay.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
public/assets/images/maestro.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
public/assets/images/maps.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
public/assets/images/mastercard.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
public/assets/images/nopicture.jpg
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
public/assets/images/reviews.jpg
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
public/assets/images/seeds.jpg
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
public/assets/images/sh.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
public/assets/images/sh_.png
Normal file
|
After Width: | Height: | Size: 86 KiB |
BIN
public/assets/images/visa_electron.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
public/favicon.ico
Normal file
|
After Width: | Height: | Size: 66 KiB |
39
public/index.html
Normal file
@@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="SeedHeads - Ihr Online-Shop für hochwertige Samen, Pflanzen und Gartenbedarf. Entdecken Sie unser großes Sortiment an Saatgut, Pflanzen und Gartenzubehör für Ihren grünen Daumen.">
|
||||
<base href="/">
|
||||
<title>SeedHeads.de</title>
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||
</head>
|
||||
<body style="overflow-y: scroll;">
|
||||
<div id="root"></div>
|
||||
<script>
|
||||
// Get git commit from meta tag
|
||||
window.gitCommit = document.querySelector('meta[name="git-commit"]')?.content || 'unknown';
|
||||
console.log('Git commit:', window.gitCommit);
|
||||
function checkForUpdates() {
|
||||
fetch('/?nocache=' + new Date().getTime())
|
||||
.then(response => response.text())
|
||||
.then(html => {
|
||||
const parser = new DOMParser();
|
||||
const doc = parser.parseFromString(html, 'text/html');
|
||||
const metaCommit = doc.querySelector('meta[name="git-commit"]')?.content;
|
||||
|
||||
if (metaCommit && metaCommit !== window.gitCommit) {
|
||||
console.log('New version available (from HTML meta), refreshing...');
|
||||
window.location.reload();
|
||||
}
|
||||
})
|
||||
.catch(error => console.error('Update check via HTML failed:', error));
|
||||
}
|
||||
|
||||
// Check for updates every 5 minutes
|
||||
//setInterval(checkForUpdates, 30 * 1000);
|
||||
// Also check once shortly after page load
|
||||
setTimeout(checkForUpdates, 1000 * 1000);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||