webseite-version-01
@@ -2,6 +2,7 @@
|
|||||||
"enabled": true,
|
"enabled": true,
|
||||||
"type": "static",
|
"type": "static",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"displayName": "Webklar Preview Vorlage",
|
"displayName": "Beyt Beytak Abu Ali",
|
||||||
"subdomain": "webklar-preview-template"
|
"subdomain": "Beyt-Beytak-Abu-Ali",
|
||||||
|
"index": "www"
|
||||||
}
|
}
|
||||||
|
|||||||
40
README.md
@@ -1,13 +1,13 @@
|
|||||||
# webklar-preview-template
|
# Beyt Beytak Abu Ali
|
||||||
|
|
||||||
Vorlage fuer Kunden-Websites mit automatischer Preview unter `*.project.webklar.com`.
|
Kunden-Website mit automatischer Preview unter `*.project.webklar.com`.
|
||||||
|
|
||||||
## Preview aktivieren
|
## Preview aktivieren
|
||||||
|
|
||||||
Dieses Repo enthaelt [`.webklar-preview.json`](.webklar-preview.json). Beim Push auf den konfigurierten Branch startet der Deploy:
|
Dieses Repo enthaelt [`.webklar-preview.json`](.webklar-preview.json). Beim Push auf den konfigurierten Branch startet der Deploy:
|
||||||
|
|
||||||
- URL: `https://project.webklar.com/webhook/gitea`
|
- URL: `https://project.webklar.com/webhook/gitea`
|
||||||
- Vorschau: `https://<subdomain>.project.webklar.com`
|
- Vorschau: `https://Beyt-Beytak-Abu-Ali.project.webklar.com`
|
||||||
|
|
||||||
## Konfiguration (`.webklar-preview.json`)
|
## Konfiguration (`.webklar-preview.json`)
|
||||||
|
|
||||||
@@ -18,40 +18,14 @@ Dieses Repo enthaelt [`.webklar-preview.json`](.webklar-preview.json). Beim Push
|
|||||||
| `branch` | Branch fuer Deploy, z. B. `main` |
|
| `branch` | Branch fuer Deploy, z. B. `main` |
|
||||||
| `displayName` | Anzeigename im Kundenportal |
|
| `displayName` | Anzeigename im Kundenportal |
|
||||||
| `subdomain` | Optional; Default = Repo-Name |
|
| `subdomain` | Optional; Default = Repo-Name |
|
||||||
|
| `index` | Optional; Unterordner mit `index.html` als Webroot (z. B. `www`) <20> Default = Repo-Root |
|
||||||
|
|
||||||
**Keine Passwoerter** in dieser Datei.
|
**Keine Passwoerter** in dieser Datei.
|
||||||
|
|
||||||
### Beispiel fuer statische Seite
|
### Dieses Projekt
|
||||||
|
|
||||||
```json
|
- **Typ:** `static` (reine HTML/CSS/JS-Seite, kein npm-Build)
|
||||||
{
|
- **Webroot:** [`www/`](www/) <20> Einstieg `www/index.html`
|
||||||
"enabled": true,
|
|
||||||
"type": "static",
|
|
||||||
"branch": "main",
|
|
||||||
"displayName": "Friseur Mueller",
|
|
||||||
"subdomain": "friseur-mueller"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Beispiel fuer Vite/React (Build)
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"enabled": true,
|
|
||||||
"type": "node_build",
|
|
||||||
"branch": "main",
|
|
||||||
"displayName": "Restaurant Demo",
|
|
||||||
"subdomain": "restaurant-demo"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## Neues Projekt aus dieser Vorlage
|
|
||||||
|
|
||||||
1. In Gitea: **Use this template** / Repository aus Template erstellen
|
|
||||||
2. `displayName` und `subdomain` in `.webklar-preview.json` anpassen
|
|
||||||
3. Website-Inhalt ersetzen (`index.html` oder eigenes Frontend)
|
|
||||||
4. Push auf `main` <20> Webhook deployt automatisch
|
|
||||||
5. Im Admin-Portal (`project.webklar.com`) Kunde dem Projekt zuweisen
|
|
||||||
|
|
||||||
## Gitea-Webhook (einmalig pro Org/Repo)
|
## Gitea-Webhook (einmalig pro Org/Repo)
|
||||||
|
|
||||||
|
|||||||
43
index.html
@@ -1,43 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="de">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<title>Webklar Preview Vorlage</title>
|
|
||||||
<style>
|
|
||||||
:root { --bg: #0f1419; --card: #1a2332; --text: #e7ecf3; --accent: #3b82f6; }
|
|
||||||
* { box-sizing: border-box; }
|
|
||||||
body {
|
|
||||||
font-family: system-ui, -apple-system, sans-serif;
|
|
||||||
background: var(--bg);
|
|
||||||
color: var(--text);
|
|
||||||
margin: 0;
|
|
||||||
min-height: 100vh;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
padding: 2rem;
|
|
||||||
}
|
|
||||||
main {
|
|
||||||
max-width: 32rem;
|
|
||||||
background: var(--card);
|
|
||||||
border-radius: 12px;
|
|
||||||
padding: 2rem;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
h1 { color: var(--accent); margin-top: 0; }
|
|
||||||
p { line-height: 1.6; opacity: 0.9; }
|
|
||||||
code { background: #0f172a; padding: 0.15rem 0.4rem; border-radius: 4px; }
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<main>
|
|
||||||
<h1>Webklar Preview Vorlage</h1>
|
|
||||||
<p>Dieses Repository ist als Preview-Projekt konfiguriert.</p>
|
|
||||||
<p>Nach dem Push wird die Vorschau unter<br>
|
|
||||||
<code>webklar-preview-template.project.webklar.com</code><br>
|
|
||||||
bereitgestellt (Login <20>ber <code>project.webklar.com</code>).</p>
|
|
||||||
<p>Passe <code>.webklar-preview.json</code> und diese Seite fuer dein Kundenprojekt an.</p>
|
|
||||||
</main>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
BIN
www/favicon.ico
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
www/fonts/CenturyOldStyleStd-Bold.woff2.woff2
Normal file
BIN
www/fonts/TTNorms-Bold.woff2.woff2
Normal file
BIN
www/fonts/TTNorms-BoldItalic.woff2.woff2
Normal file
BIN
www/fonts/TTNorms-Medium.woff2.woff2
Normal file
BIN
www/fonts/TTNorms-Regular.woff2.woff2
Normal file
BIN
www/garten_breitformat_2x.jpg
Normal file
|
After Width: | Height: | Size: 763 KiB |
BIN
www/garten_breitformat_normal_verbessert.jpg
Normal file
|
After Width: | Height: | Size: 784 KiB |
BIN
www/garten_hochskaliert_4k.jpg
Normal file
|
After Width: | Height: | Size: 1.9 MiB |
BIN
www/images/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
www/images/assiette-pancakes.png
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
www/images/assiette-poulet-beurre.png
Normal file
|
After Width: | Height: | Size: 820 KiB |
BIN
www/images/assiette-poulet-cari.png
Normal file
|
After Width: | Height: | Size: 853 KiB |
BIN
www/images/assiette-poulet-pesto.png
Normal file
|
After Width: | Height: | Size: 896 KiB |
BIN
www/images/assiette-poulet-zaatar.png
Normal file
|
After Width: | Height: | Size: 830 KiB |
BIN
www/images/assiette-quinoa-falafel.png
Normal file
|
After Width: | Height: | Size: 893 KiB |
BIN
www/images/boite-a-lunch.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
www/images/boule-energie-matcha.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
www/images/boule-energie.png
Normal file
|
After Width: | Height: | Size: 626 KiB |
BIN
www/images/brownie.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
www/images/cafe-filtre.png
Normal file
|
After Width: | Height: | Size: 362 KiB |
BIN
www/images/cafelimo-orange.png
Normal file
|
After Width: | Height: | Size: 563 KiB |
BIN
www/images/cafelimo.png
Normal file
|
After Width: | Height: | Size: 490 KiB |
BIN
www/images/carlsberg.png
Normal file
|
After Width: | Height: | Size: 310 KiB |
BIN
www/images/changua.png
Normal file
|
After Width: | Height: | Size: 1.8 MiB |
BIN
www/images/chocolat-chaud.png
Normal file
|
After Width: | Height: | Size: 472 KiB |
BIN
www/images/colibri_logo.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
www/images/creme-tomate-poivron.png
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
www/images/dejeuner-classique-1.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
www/images/dejeuner-classique-2.png
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
www/images/double-espresso.png
Normal file
|
After Width: | Height: | Size: 416 KiB |
BIN
www/images/equipe-colibri.jpg
Normal file
|
After Width: | Height: | Size: 422 KiB |
BIN
www/images/falafel-4.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
www/images/favicon-192.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
www/images/gerichte/abu-ali-salat.png
Normal file
|
After Width: | Height: | Size: 2.7 MiB |
BIN
www/images/gerichte/baba-ghanoush.png
Normal file
|
After Width: | Height: | Size: 2.3 MiB |
BIN
www/images/gerichte/falafel-teller.png
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
www/images/gerichte/fattoush.png
Normal file
|
After Width: | Height: | Size: 2.7 MiB |
BIN
www/images/gerichte/hackfleisch-boerek.png
Normal file
|
After Width: | Height: | Size: 2.4 MiB |
BIN
www/images/gerichte/hackfleisch-pide.png
Normal file
|
After Width: | Height: | Size: 3.0 MiB |
BIN
www/images/gerichte/haehnchen-pide.png
Normal file
|
After Width: | Height: | Size: 3.0 MiB |
BIN
www/images/gerichte/haehnchenleber-pide.png
Normal file
|
After Width: | Height: | Size: 2.5 MiB |
BIN
www/images/gerichte/hummus.png
Normal file
|
After Width: | Height: | Size: 2.4 MiB |
BIN
www/images/gerichte/kaese-boerek.png
Normal file
|
After Width: | Height: | Size: 2.2 MiB |
BIN
www/images/gerichte/kaese-manaesch.png
Normal file
|
After Width: | Height: | Size: 3.0 MiB |
BIN
www/images/gerichte/kaesetasche.png
Normal file
|
After Width: | Height: | Size: 3.0 MiB |
BIN
www/images/gerichte/kibbe-frittiert.png
Normal file
|
After Width: | Height: | Size: 1.8 MiB |
BIN
www/images/gerichte/lahmacun.png
Normal file
|
After Width: | Height: | Size: 2.7 MiB |
BIN
www/images/gerichte/linsensuppe.png
Normal file
|
After Width: | Height: | Size: 2.9 MiB |
BIN
www/images/gerichte/menue-broasted.png
Normal file
|
After Width: | Height: | Size: 2.5 MiB |
BIN
www/images/gerichte/menue-crispy.png
Normal file
|
After Width: | Height: | Size: 2.5 MiB |
BIN
www/images/gerichte/menue-faijta.png
Normal file
|
After Width: | Height: | Size: 2.4 MiB |
BIN
www/images/gerichte/menue-francisco.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
www/images/gerichte/menue-haehnchenleber.png
Normal file
|
After Width: | Height: | Size: 2.9 MiB |
BIN
www/images/gerichte/menue-haehnchenspiess.png
Normal file
|
After Width: | Height: | Size: 2.3 MiB |
BIN
www/images/gerichte/menue-kebsi.png
Normal file
|
After Width: | Height: | Size: 2.8 MiB |
BIN
www/images/gerichte/menue-mendi-lamm.png
Normal file
|
After Width: | Height: | Size: 3.7 MiB |
BIN
www/images/gerichte/menue-mexicano.png
Normal file
|
After Width: | Height: | Size: 2.6 MiB |
BIN
www/images/gerichte/menue-nuggets.png
Normal file
|
After Width: | Height: | Size: 2.8 MiB |
BIN
www/images/gerichte/menue-philadelphia.png
Normal file
|
After Width: | Height: | Size: 2.2 MiB |
BIN
www/images/gerichte/menue-shawarma.png
Normal file
|
After Width: | Height: | Size: 2.6 MiB |
BIN
www/images/gerichte/mini-pide.png
Normal file
|
After Width: | Height: | Size: 2.5 MiB |
BIN
www/images/gerichte/paprika-manaesch.png
Normal file
|
After Width: | Height: | Size: 2.7 MiB |
BIN
www/images/gerichte/pizza-abu-ali.png
Normal file
|
After Width: | Height: | Size: 2.5 MiB |
BIN
www/images/gerichte/pizza-champignon.png
Normal file
|
After Width: | Height: | Size: 2.9 MiB |
BIN
www/images/gerichte/pizza-familie.png
Normal file
|
After Width: | Height: | Size: 2.9 MiB |
BIN
www/images/gerichte/pizza-hackfleisch.png
Normal file
|
After Width: | Height: | Size: 2.8 MiB |
BIN
www/images/gerichte/pizza-margherita.png
Normal file
|
After Width: | Height: | Size: 2.8 MiB |
BIN
www/images/gerichte/pizza-salami.png
Normal file
|
After Width: | Height: | Size: 2.8 MiB |
BIN
www/images/gerichte/pizza-sucuk.png
Normal file
|
After Width: | Height: | Size: 2.5 MiB |
BIN
www/images/gerichte/pizza-thunfisch.png
Normal file
|
After Width: | Height: | Size: 2.3 MiB |
BIN
www/images/gerichte/pizza-vegetariana.png
Normal file
|
After Width: | Height: | Size: 2.9 MiB |
BIN
www/images/gerichte/salat-spezial.png
Normal file
|
After Width: | Height: | Size: 3.2 MiB |
BIN
www/images/gerichte/sandwich-burger.png
Normal file
|
After Width: | Height: | Size: 1.9 MiB |
BIN
www/images/gerichte/sandwich-cheeseburger.png
Normal file
|
After Width: | Height: | Size: 2.8 MiB |
BIN
www/images/gerichte/sandwich-chickencheeseburger.png
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
www/images/gerichte/sandwich-crispy.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
www/images/gerichte/sandwich-faijta.png
Normal file
|
After Width: | Height: | Size: 2.4 MiB |
BIN
www/images/gerichte/sandwich-falafel.png
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
www/images/gerichte/sandwich-francisco.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
www/images/gerichte/sandwich-haehnchenleber.png
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
www/images/gerichte/sandwich-haehnchenspiess.png
Normal file
|
After Width: | Height: | Size: 2.6 MiB |
BIN
www/images/gerichte/sandwich-kebab.png
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
www/images/gerichte/sandwich-mexicano.png
Normal file
|
After Width: | Height: | Size: 2.3 MiB |
BIN
www/images/gerichte/sandwich-philadelphia.png
Normal file
|
After Width: | Height: | Size: 2.2 MiB |
BIN
www/images/gerichte/sandwich-pommes.png
Normal file
|
After Width: | Height: | Size: 2.2 MiB |
BIN
www/images/gerichte/sandwich-shawarma.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
www/images/gerichte/sandwich-sucuk.png
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
www/images/gerichte/spinat-boerek.png
Normal file
|
After Width: | Height: | Size: 2.7 MiB |
BIN
www/images/gerichte/spinattasche.png
Normal file
|
After Width: | Height: | Size: 2.4 MiB |
BIN
www/images/gerichte/steak-manaesch.png
Normal file
|
After Width: | Height: | Size: 3.1 MiB |
BIN
www/images/gerichte/sucuk-pide.png
Normal file
|
After Width: | Height: | Size: 2.9 MiB |
BIN
www/images/gerichte/taboulah.png
Normal file
|
After Width: | Height: | Size: 2.4 MiB |
BIN
www/images/gerichte/toshka.png
Normal file
|
After Width: | Height: | Size: 3.0 MiB |
BIN
www/images/gerichte/vorspeisen-teller.png
Normal file
|
After Width: | Height: | Size: 2.3 MiB |
BIN
www/images/gerichte/weinblaetter.png
Normal file
|
After Width: | Height: | Size: 2.6 MiB |
BIN
www/images/gerichte/zaater-manaesch.png
Normal file
|
After Width: | Height: | Size: 2.5 MiB |