-
Notifications
You must be signed in to change notification settings - Fork 0
/
powerpoint.html
198 lines (184 loc) · 8.9 KB
/
powerpoint.html
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<!doctype html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VMV6V9TT8L"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-VMV6V9TT8L');
</script>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="top.css">
<link rel="stylesheet" href="main.css">
<title>Designs</title>
<link rel="icon" type="image/x-icon" href="Pics/channels4_profile.ico">
</head>
<body>
<!-- Laoding Start -->
<div class="loading" id="load">
<div id="circle">
<div id="dot"></div>
</div>
</div>
<!-- Laoding End -->
<div class="nav">
<ul>
<li><a href="index.html">HOME</a></li>
<li><a href="about.html">ABOUT</a></li>
<li><a href="freeZone.html">Free Zone</a></li>
</ul>
</div>
<div class="container-fluid" style="padding-top: 30px;">
<div class="row">
<div class="col-md-12" style="padding-left: 100px;">
<h1 align="center" id="hed">PowerPoint Tamplates</h1>
</div>
</div>
<hr style="background: white;">
<hr style="background: white;">
<div class="gallery" style="padding-top: 30px;">
</div>
<div class="container" id="msg" style="margin-top: 150px;">
<div class="row footer">
<div class="col">
<div class="row">
<div class="col" style="text-align: center;">
<div class="row"><div class="col">CONTACT US</div></div>
<div class="row"><div class="col"><h1>Reach out for a new project or just say hello</h1></div></div>
</div>
</div><br><br><br>
<div class="row formandinfo">
<div class="col-md-8">
<form id="myForm">
<h3>SEND US A MESSAGE</h3>
<div class="row">
<div class="col">
<div class="inputbox">
<input type="text" id="name" required>
<span>Your Name</span>
</div>
</div>
</div>
<div class="row">
<div class="col">
<div class="inputbox">
<input type="text" id="ids" required>
<span>Your Email</span>
</div>
</div>
</div>
<div class="row">
<div class="col">
<div class="inputbox">
<input type="text" id="sub" required>
<span>Subject</span>
</div>
</div>
</div>
<div class="row">
<div class="col">
<div class="inputbox">
<textarea name="" id="usermsg" required placeholder="Your Message"></textarea>
</div>
</div>
</div><br><br>
<div class="row">
<div class="col">
<div class="inputbox">
<button type="submit" class="btn" id="btn">Submit</button>
</div>
</div>
</div>
</form>
</div>
<div class="col-md-4 info">
<div class="row">
<div class="col"><span>CONTACT INFO</span></div>
</div><br>
<div class="row">
<div class="col">
<div class="row"><div class="col"><p>Email Us At</p></div></div>
<div class="row"><div class="col"><span>dheerajsharma782@gmail.com</span></div></div>
</div>
</div><br>
<div class="row">
<div class="col">
<div class="row"><div class="col"><p>Call Us At</p></div></div>
<div class="row"><div class="col"><span>+91 9068259627</span></div></div>
</div>
</div><br>
<div class="row">
<div class="links"><i class="fa-brands fa-instagram"></i></div>
<div class="links"><a href="https://codepen.io/dheeraj002" target="blank"><i class="fa-brands fa-codepen"></i></a></div>
<div class="links"><a href="https://www.youtube.com/channel/UCgskQN2gSwzVjJ4k05vnc6Q" target="blank"><i class="fa-brands fa-square-youtube"></i></a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid footerbox">
<div class="row">
<div class="col-md-6">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptate ad numquam quos dignissimos non explicabo suscipit repellendus odio dolorem atque hic deleniti commodi deserunt consequatur autem, recusandae excepturi ullam possimus?</div>
<div class="col-md-6">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptate ad numquam quos dignissimos non explicabo suscipit repellendus odio dolorem atque hic deleniti commodi deserunt consequatur autem, recusandae excepturi ullam possimus?</div>
</div>
</div>
<button onclick="windowScroll()" id="top">top</button>
<script src="reveal.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script>
const input = document.querySelectorAll("input");
const textarea = document.querySelectorAll("textarea");
var url = "https://script.google.com/macros/s/AKfycbwNJcJUB5Qg1IAC1VTJ2DW9JNWtnZQ5UF6bH5aYB0xdbgl7wN685ebqGoXYNJLIuGUF/exec"
document.querySelector("#btn").addEventListener("click",function(e){
e.preventDefault();
document.querySelector("#load").style.display="block";
var obj = {
nam : document.querySelector("#name").value,
ids : document.querySelector("#ids").value,
sub : document.querySelector("#sub").value,
cmsg : document.querySelector("#usermsg").value,
};
fetch(url,{
method: 'POST',
body: JSON.stringify(obj),
})
.then(function(){
alert("Thank you for joining us, we will contact you soon.");
for(i=0; i<input.length; i++){
input[i].value=""
}
for(j=0; j<textarea.length; j++){
textarea[j].value=""
}
// response.text();
})
.then((data) => {
console.log(data);
document.querySelector("#load").style.display="none";
});
});
</script>
<script>
fetch("https://script.google.com/macros/s/AKfycbyRDS4I6gs5JkLynfv-jTRE2Xmm7ybdMUZU9CBuwKIC9lj2-fM4mAyuSeCoEoYD4bFs/exec")
.then(response => {
return response.json();
}).then(function(data){
var gall = document.querySelector(".gallery");
for(i=0; i<data.contents.length; i++){
gall.innerHTML+=`<div class="item"><img src="https://drive.google.com/thumbnail?id=${data.contents[i][0]}&sz=w1000" alt="Image 6"></div>`
}
document.querySelector("#load").style.display="none";
})
</script>
</body>
</html>