-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
90 lines (85 loc) · 4.58 KB
/
index.html
File metadata and controls
90 lines (85 loc) · 4.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home | ScratchURL</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Inter', sans-serif;
}
</style>
</head>
<body class="bg-gray-100">
<header class="bg-blue-500 text-white py-4 flex justify-between items-center shadow-md sticky top-0 z-10 rounded-md">
<div class="logo text-xl font-bold ml-4">ScratchURL</div>
<nav class="mr-4">
<ul class="flex space-x-4">
<li><a href="index.html" class="hover:text-blue-300 no-underline">Home</a></li>
<li><a href="about.html" class="hover:text-blue-300 no-underline">About</a></li>
<li><a href="services.html" class="hover:text-blue-300 no-underline">Services</a></li>
<li><a href="contact.html" class="hover:text-blue-300 no-underline">Contact</a></li>
</ul>
</nav>
</header>
<main class="container mx-auto py-8">
<section id="home" class="text-center mb-16">
<h2 class="text-3xl font-semibold text-blue-600 mb-4">Welcome to ScratchURL</h2>
<p class="text-gray-700">ScratchURL Is A Website That Gives You Helpful Links To Pages In The Scratch Website</p>
<button onclick="findlink()" class="bg-green-500 hover:bg-green-700 text-white font-bold py-2 px-4 rounded mt-4">Go To The List Of Links</button>
</section>
<section id="about" class="text-center mb-16 bg-white rounded-lg shadow-md p-6">
<h2 class="text-2xl font-semibold text-blue-600 mb-4">About Us</h2>
<p class="text-gray-700">This is the about section. Tell us about your company or yourself.</p>
<div class="flex justify-center mt-4">
<img src="https://placehold.co/600x400/EEE/31343C" alt="About Us" class="rounded-lg">
</div>
</section>
<section id="services" class="text-center mb-16">
<h2 class="text-2xl font-semibold text-blue-600 mb-4">Our Services</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div class="bg-white rounded-lg shadow-md p-6">
<h3 class="text-xl font-semibold text-gray-800 mb-2">Service 1</h3>
<p class="text-gray-700">Description of service 1.</p>
</div>
<div class="bg-white rounded-lg shadow-md p-6">
<h3 class="text-xl font-semibold text-gray-800 mb-2">Service 2</h3>
<p class="text-gray-700">Description of service 2.</p>
</div>
<div class="bg-white rounded-lg shadow-md p-6">
<h3 class="text-xl font-semibold text-gray-800 mb-2">Service 3</h3>
<p class="text-gray-700">Description of service 3.</p>
</div>
</div>
</section>
<section id="contact" class="text-center mb-16 bg-white rounded-lg shadow-md p-6">
<h2 class="text-2xl font-semibold text-blue-600 mb-4">Contact Us</h2>
<p class="text-gray-700 mb-4">Get in touch with us using the form below.</p>
<form class="max-w-md mx-auto">
<div class="mb-4">
<input type="text" placeholder="Your Name" class="w-full px-4 py-2 rounded-md border border-gray-300 focus:border-blue-500 focus:outline-none">
</div>
<div class="mb-4">
<input type="email" placeholder="Your Email" class="w-full px-4 py-2 rounded-md border border-gray-300 focus:border-blue-500 focus:outline-none">
</div>
<div class="mb-4">
<textarea placeholder="Your Message" class="w-full px-4 py-2 rounded-md border border-gray-300 focus:border-blue-500 focus:outline-none"></textarea>
</div>
<button type="submit" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Send Message</button>
</form>
</section>
</main>
<footer class="bg-gray-800 text-white py-4 text-center rounded-md">
<p>© 2024 My Website. All rights reserved.</p>
</footer>
</body>
<script>
function findlink() {
window.location.href = 'links.html';
}
</script>
</html>