update: add clickable phone and email contact cards

هذا الالتزام موجود في:
Abdul Kareem
2026-03-23 01:29:39 +03:00
الأصل 7aab3771da
التزام d12866cf9c
2 ملفات معدلة مع 134 إضافات و21 حذوفات

عرض الملف

@@ -10,13 +10,18 @@
</head>
<body>
<!-- Hero Section -->
<section class="hero">
<img src="assets/images/tlogo.jpg" alt="Tabeley Logo" class="logo">
<h1>احجز طاولتك بكل سهولة واحترافية</h1>
<p>
منصة Tabeley هي الحل الذكي لحجز الطاولات في المطاعم والمقاهي.
<!-- Hero Section -->
<section class="hero">
<div class="hero-brand">
<img src="assets/images/tlogo.jpg" alt="Tabeley Logo" class="brand-logo">
<span class="brand-name">Tabeley</span>
</div>
<img src="assets/images/tlogoapp.png" alt="Tabeley App Logo" class="logo">
<h1>احجز طاولتك بكل سهولة واحترافية</h1>
<p>
منصة Tabeley هي الحل الذكي لحجز الطاولات في المطاعم والمقاهي.
اختر المكان المناسب، حدّد الوقت الذي يناسبك، وأكّد حجزك خلال ثوانٍ
دون الحاجة إلى الاتصال أو الانتظار.
</p>
@@ -65,16 +70,32 @@
</div>
</section>
<!-- Contact -->
<section class="contact">
<h2>تواصل معنا</h2>
<p>البريد الإلكتروني: Tabeley0@gmail.com</p>
<p>رقم الهاتف: +963983233965</p>
<p>
<a href="https://www.instagram.com/tabeley_reservations?igsh=MTQ4ZzNxMzR0anExNA==" target="_blank" rel="noopener">
حسابنا على إنستغرام
</a>
</p>
<!-- Contact -->
<section class="contact">
<h2>تواصل معنا</h2>
<div class="contact-links">
<a href="tel:+963983233965" class="contact-link" aria-label="اتصال هاتفي">
<span class="contact-icon" aria-hidden="true"></span>
<span class="contact-copy">
<strong>رقم الهاتف</strong>
<span dir="ltr">+963983233965</span>
</span>
</a>
<a href="mailto:Tabeley0@gmail.com" class="contact-link" aria-label="إرسال بريد إلكتروني">
<span class="contact-icon" aria-hidden="true"></span>
<span class="contact-copy">
<strong>البريد الإلكتروني</strong>
<span dir="ltr">Tabeley0@gmail.com</span>
</span>
</a>
</div>
<p>
<a href="https://www.instagram.com/tabeley_reservations?igsh=MTQ4ZzNxMzR0anExNA==" target="_blank" rel="noopener">
حسابنا على إنستغرام
</a>
</p>
<form id="contactForm">
<input type="text" placeholder="الاسم الكامل" required>
@@ -90,4 +111,4 @@
<script src="script.js"></script>
</body>
</html>
</html>

عرض الملف

@@ -42,12 +42,34 @@ body {
background: transparent;
}
.logo {
width: 108px;
height: 108px;
.hero-brand {
display: inline-flex;
align-items: center;
gap: 14px;
margin-bottom: 22px;
}
.brand-logo {
width: 64px;
height: 64px;
border-radius: 999px;
object-fit: cover;
box-shadow: 0 8px 24px var(--shadow);
}
.brand-name {
font-size: clamp(28px, 4vw, 42px);
font-weight: 700;
color: var(--text-main);
line-height: 1;
}
.logo {
width: min(220px, 58vw);
height: auto;
border-radius: 28px;
object-fit: contain;
box-shadow: 0 8px 24px var(--shadow);
margin-bottom: 18px;
}
@@ -160,6 +182,62 @@ body {
margin-bottom: 8px;
}
.contact-links {
width: min(760px, 100%);
margin: 0 auto 18px;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.contact-link {
display: flex;
align-items: center;
justify-content: center;
gap: 14px;
padding: 16px 18px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 16px;
box-shadow: 0 6px 18px var(--shadow);
text-decoration: none;
transition: .2s ease;
}
.contact-link:hover {
transform: translateY(-2px);
box-shadow: 0 10px 24px var(--shadow);
}
.contact-icon {
width: 52px;
height: 52px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
background: var(--primary);
color: #fff;
font-size: 24px;
flex-shrink: 0;
}
.contact-copy {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 2px;
color: var(--text-main);
}
.contact-copy strong {
color: var(--primary);
}
.contact-copy span {
color: var(--text-muted);
}
.contact a {
color: var(--primary);
font-weight: 700;
@@ -226,6 +304,10 @@ footer {
grid-template-columns: 1fr;
}
.contact-links {
grid-template-columns: 1fr;
}
.hero {
min-height: 62vh;
}
@@ -234,6 +316,16 @@ footer {
font-size: 18px;
}
.hero-brand {
gap: 10px;
margin-bottom: 18px;
}
.brand-logo {
width: 54px;
height: 54px;
}
.btn,
.contact input,
.contact textarea {