-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsubmit.html
More file actions
127 lines (110 loc) · 6.47 KB
/
submit.html
File metadata and controls
127 lines (110 loc) · 6.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>جريدة السبت</title>
<link rel="stylesheet" href="style.css">
<!-- Preconnect for Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Mirza:wght@400;500;600;700&display=swap" rel="stylesheet">
<!-- Bootstrap CSS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<!-- Font Awesome Kit -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://kit.fontawesome.com/YOUR_ACTUAL_KIT_ID.js" crossorigin="anonymous"></script>
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<!-- Mailchimp Script (if needed) -->
<script id="mcjs">!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,"script","https://chimpstatic.com/mcjs-connected/js/users/61c1b06be999805586582cac6/82acca50e9bc27c63868a8547.js");</script>
</head>
<nav class="navbar navbar-expand-lg navbar-dark">
<div class="container-fluid d-flex justify-content-between align-items-center">
<div class="collapse navbar-collapse justify-content-end" id="navbarNav">
<ul class="navbar-nav me-auto">
<li class="nav-item">
<a class="nav-link active" href="./submit.html">الصفحة الرئيسية</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./members.html">من نحن</a>
</li>
<!-- Add more nav items as needed -->
</ul>
</div>
<button class="navbar-toggler d-lg-none" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand " href="#">
<img src="./TechLogo.png" width="50" height="45" class="d-inline-block align-text-top" alt="Logo">
</a>
</div>
</nav>
<style>
@media (min-width: 576px) {
.navbar-toggler {
display: none; /* Hide button on larger screens */
}
}
</style>
<body>
<div class="header-container">
<img class="header-image" src="./Blue and Black Futuristic Welcome To Our Email Header-2.png" alt="Newspaper header">
</div>
<div class="container">
<h1 class="text-light">اشترك في نشرة السبت ليصلك كل جديد!</h1>
<form method="POST" id="sheetdb-form" action="https://sheetdb.io/api/v1/b3d05a0nepwsd">
<input type="text" name="data[name]" placeholder="الاسم الكريم" class="contact-inputs" required>
<input type="email" name="data[Recipient]" placeholder="البريد الإلكتروني" required>
<div class="Buttons-Container">
<button class="Submit-button" type="submit">اشترك الآن</button>
<a href="./index.html" target="_ArchivePage">
<button class="Archive-button" type="button">أرشيف السبت</button>
</a>
</div>
</form>
<div id="toastBox" style="position: fixed; bottom: 20px; right: 20px; z-index: 1050;">
<!-- Success Toast -->
<div class="toast" id="successToast" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-body" style="padding-left: 40px; display: flex; align-items: center; ">
<i class="fa-solid fa-circle-check" style= "color: green; margin-left: 5px; margin-right: 5px;"></i>
<span style="font-size: larger;">تم اشتراكك بالنشرة بنجاح!</span>
</div>
</div>
<!-- Error Toast -->
<div class="toast" id="errorToast" role="alert" aria-live="assertive" aria-atomic="true" style="display: none;">
<div class="toast-body" style="display: flex; align-items: center;">
<i class="fa-solid fa-circle-xmark" style="color: red; margin-right: 5px;"></i>
<span>تعذر الاشتراك، حاول مجددا.</span>
</div>
</div>
</div>
</div>
<footer>
<div class="footer">
<p>© 2024 جميع الحقوق محفوظة لجريدة السبت في نادي عقول التقنيّة.</p>
</div>
<div class="social-icons">
<a href="https://x.com/TechMindsMedia" target="_blank" rel="noopener">
<i class="fab fa-twitter fa-sm"></i>
</a>
<a href="https://www.linkedin.com/company/techmindsmedia/mycompany/" target="_blank" rel="noopener">
<i class="fab fa-linkedin fa-sm"></i>
</a>
<a href="https://t.me/TechMindsMedia" target="_blank" rel="noopener">
<i class="fab fa-telegram-plane fa-sm"></i>
</a>
<a href="https://forms.gle/WpfLXL6nhZTdswAH7" target="_blank" rel="noopener">
<i class="fas fa-link fa-sm"></i>
</a>
</div>
</form>
<div id="toastBox"></div> <!-- Toast notifications will appear here -->
</div>
<script src="index.js"></script>
</body>
</html>