Compare commits
2 الالتزامات
e43941d772
...
c67c09084c
| المؤلف | SHA1 | التاريخ | |
|---|---|---|---|
|
|
c67c09084c | ||
|
|
084cda0471 |
18
.ghaymah.example.json
Normal file
18
.ghaymah.example.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "tabeley-landing",
|
||||
"ports": [
|
||||
{
|
||||
"expose": true,
|
||||
"number": 80
|
||||
}
|
||||
],
|
||||
"publicAccess": {
|
||||
"enabled": true,
|
||||
"domain": "auto"
|
||||
},
|
||||
"resourceTier": "t1",
|
||||
"dockerFileName": "Dockerfile",
|
||||
"env": {
|
||||
"TABELEY_API_BASE_URL": "https://your-backend-domain.example.com/api"
|
||||
}
|
||||
}
|
||||
18
.ghaymah.json
Normal file
18
.ghaymah.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "tabeley-landing",
|
||||
"ports": [
|
||||
{
|
||||
"expose": true,
|
||||
"number": 80
|
||||
}
|
||||
],
|
||||
"publicAccess": {
|
||||
"enabled": true,
|
||||
"domain": "auto"
|
||||
},
|
||||
"resourceTier": "t1",
|
||||
"dockerFileName": "Dockerfile",
|
||||
"env": {
|
||||
"TABELEY_API_BASE_URL": "https://your-backend-domain.example.com/api"
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,6 @@ FROM nginx:1.27-alpine
|
||||
# Serve the static landing page through Nginx on port 80.
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY . /usr/share/nginx/html
|
||||
COPY docker-entrypoint.d/40-render-config.sh /docker-entrypoint.d/40-render-config.sh
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
|
||||
1
config.js.template
Normal file
1
config.js.template
Normal file
@@ -0,0 +1 @@
|
||||
window.TABELEY_API_BASE_URL = "${TABELEY_API_BASE_URL}";
|
||||
6
docker-entrypoint.d/40-render-config.sh
Normal file
6
docker-entrypoint.d/40-render-config.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
envsubst '${TABELEY_API_BASE_URL}' \
|
||||
< /usr/share/nginx/html/config.js.template \
|
||||
> /usr/share/nginx/html/config.js
|
||||
@@ -339,11 +339,11 @@
|
||||
<h2>نرحّب باستفساراتكم وشراكاتكم</h2>
|
||||
<p>إذا كنت مطعمًا مهتمًا بالانضمام أو مستخدمًا لديه استفسار، يمكنك التواصل معنا مباشرة عبر القنوات التالية.</p>
|
||||
<div class="contact-cards">
|
||||
<a href="mailto:info@tabeley.com" class="contact-card">
|
||||
<a href="mailto:support@tabeley.com" class="contact-card">
|
||||
<span class="contact-card-icon">✉</span>
|
||||
<span>
|
||||
<strong>البريد الإلكتروني</strong>
|
||||
<span dir="ltr">info@tabeley.com</span>
|
||||
<span dir="ltr">support@tabeley.com</span>
|
||||
</span>
|
||||
</a>
|
||||
<a href="tel:+963983233965" class="contact-card">
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم