-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
168 lines (156 loc) · 5.99 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="DocLock is a secure digital vault for all your important documents, featuring state-of-the-art encryption and seamless access.">
<meta name="keywords" content="Document Storage, Secure Documents, Digital Vault">
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<title>DocLock</title>
</head>
<body>
<header>
<div class="container">
<div class="logo">DocLock</div>
<nav>
<ul>
<li><a href="#hero">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#how-it-works">How It Works</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="#faq">FAQ</a></li>
</ul>
</nav>
</div>
</header>
<section class="hero" id="hero">
<div class="hero-content">
<h2>Secure Your Documents</h2>
<p>Store your important documents safely and access them anywhere, anytime.</p>
<a href="register.html" class="btn">Get Started</a>
</div>
</section>
<section class="about" id="about">
<h2>About Us</h2>
<p>DocLock provides a secure and user-friendly platform for storing important documents. Our mission is to help users safeguard their digital assets with cutting-edge technology.</p>
</section>
<section class="features" id="features">
<h2>Features</h2>
<div class="features-grid">
<div class="feature-item">
<i class="fas fa-lock"></i>
<h3>Security</h3>
<p>Your documents are encrypted and securely stored.</p>
</div>
<div class="feature-item">
<i class="fas fa-cloud-upload-alt"></i>
<h3>Cloud Storage</h3>
<p>Access your documents from any device with an internet connection.</p>
</div>
<div class="feature-item">
<i class="fas fa-share-alt"></i>
<h3>Sharing</h3>
<p>Easily share documents with friends and colleagues.</p>
</div>
</div>
</section>
<section class="how-it-works" id="how-it-works">
<h2>How It Works</h2>
<div class="steps">
<div class="step">
<i class="fas fa-upload"></i>
<h3>Upload Your Documents</h3>
<p>Drag and drop your files to upload them securely.</p>
</div>
<div class="step">
<i class="fas fa-key"></i>
<h3>Secure Your Files</h3>
<p>We encrypt your documents for maximum security.</p>
</div>
<div class="step">
<i class="fas fa-download"></i>
<h3>Access Anytime</h3>
<p>Download or share your files from anywhere.</p>
</div>
</div>
</section>
<section class="faq" id="faq">
<h2>Frequently Asked Questions</h2>
<div class="faq-item">
<div class="faq-question">
<h3>Is my data secure?</h3>
<i class="fas fa-chevron-down"></i>
</div>
<div class="faq-answer">
<p>Yes, we use advanced encryption methods to ensure your data is safe.</p>
</div>
</div>
<div class="faq-item">
<div class="faq-question">
<h3>Can I access my documents offline?</h3>
<i class="fas fa-chevron-down"></i>
</div>
<div class="faq-answer">
<p>No, DocLock is a cloud-based solution, so you need an internet connection to access your documents.</p>
</div>
</div>
<div class="faq-item">
<div class="faq-question">
<h3>What types of documents can I store?</h3>
<i class="fas fa-chevron-down"></i>
</div>
<div class="faq-answer">
<p>You can store any type of document, including PDFs, Word files, and images.</p>
</div>
</div>
<div class="faq-item">
<div class="faq-question">
<h3>How do I share my documents?</h3>
<i class="fas fa-chevron-down"></i>
</div>
<div class="faq-answer">
<p>You can easily share documents via WhatsApp .</p>
</div>
</div>
</section>
<section id="contact" class="contact">
<div class="container">
<h2>Contact Us</h2>
<p>If you have any questions or need support, feel free to reach out to us.</p>
<form name="submit-to-google-sheet">
<input type="text" name="Name" placeholder="Your Name" required>
<input type="email" name="Email" placeholder="Your Email" required>
<textarea name="Message" placeholder="Your Message" required></textarea>
<button type="submit">Send Message</button>
</form>
<span id="msg"></span>
</div>
</section>
<footer>
<div class="container">
<p>© 2024 DocLock. All rights reserved.</p>
</div>
</footer>
<script src="index.js"></script>
<script>
const scriptURL = 'https://script.google.com/macros/s/AKfycbxZKMCZdfAzIIGy6jfxDQ2n0NyAQHipEUXo0ahptR-JgyVOjyeKiFYMn0vTVlCWaaLG/exec';
const form = document.forms['submit-to-google-sheet'];
const msg = document.getElementById('msg');
form.addEventListener('submit', e => {
e.preventDefault();
fetch(scriptURL, { method: 'POST', body: new FormData(form) })
.then(response => {
msg.innerHTML = "Thank you for contacting us!";
setTimeout(function () {
msg.innerHTML = "";
}, 5000);
form.reset();
})
.catch(error => console.error('Error!', error.message));
});
</script>
<script src="index.js" defer></script>
</body>
</html>