-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (37 loc) · 1.82 KB
/
index.html
File metadata and controls
43 lines (37 loc) · 1.82 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Index Page</title>
<script type="module" src="./main.js"></script>
</head>
<body class="bg-gray-100 min-h-screen flex flex-col items-center p-8 font-sans">
<!-- Header -->
<header class="w-full max-w-4xl text-center mb-8">
<h1 class="text-4xl md:text-5xl font-extrabold text-table-header mb-2">Welcome to the Index Page</h1>
<p class="text-highlight text-lg">Highlighting important info with your custom color</p>
</header>
<!-- Card Section -->
<main class="w-full max-w-4xl grid gap-6 md:grid-cols-2">
<div class="bg-white shadow-md rounded-lg p-6 hover:shadow-xl transition-shadow">
<h2 class="text-2xl font-bold text-table-header mb-2">Card Title 1</h2>
<p class="text-gray-700 mb-4">This is a description inside a card. You can use your highlight color for emphasis.</p>
<span class="text-highlight font-semibold">Important info</span>
</div>
<div class="bg-white shadow-md rounded-lg p-6 hover:shadow-xl transition-shadow">
<h2 class="text-2xl font-bold text-table-header mb-2">Card Title 2</h2>
<p class="text-gray-700 mb-4">Another card with some sample text. Tailwind makes styling easy!</p>
<span class="text-highlight font-semibold">Highlighted text</span>
</div>
</main>
<!-- Footer Link -->
<footer class="mt-12 w-full max-w-4xl text-center">
<a href="./test.html" class="inline-block bg-table-header text-white px-6 py-3 rounded-lg hover:bg-highlight transition-colors font-semibold">
Go to Test Page
</a>
</footer>
<h1 class="text-4xl font-bold text-table-header">Hello</h1>
<p class="text-highlight">Custom color paragraph</p>
<a class="bg-table-header text-white px-4 py-2 rounded hover:bg-highlight">Button</a>
</body>
</html>