Skip to content

Commit d1a0a14

Browse files
committed
setup
1 parent caabf59 commit d1a0a14

File tree

10 files changed

+2074
-0
lines changed

10 files changed

+2074
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

index.html

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Index Page</title>
6+
<script type="module" src="./main.js"></script>
7+
</head>
8+
<body class="bg-gray-100 min-h-screen flex flex-col items-center p-8 font-sans">
9+
10+
<!-- Header -->
11+
<header class="w-full max-w-4xl text-center mb-8">
12+
<h1 class="text-4xl md:text-5xl font-extrabold text-table-header mb-2">Welcome to the Index Page</h1>
13+
<p class="text-highlight text-lg">Highlighting important info with your custom color</p>
14+
</header>
15+
16+
<!-- Card Section -->
17+
<main class="w-full max-w-4xl grid gap-6 md:grid-cols-2">
18+
<div class="bg-white shadow-md rounded-lg p-6 hover:shadow-xl transition-shadow">
19+
<h2 class="text-2xl font-bold text-table-header mb-2">Card Title 1</h2>
20+
<p class="text-gray-700 mb-4">This is a description inside a card. You can use your highlight color for emphasis.</p>
21+
<span class="text-highlight font-semibold">Important info</span>
22+
</div>
23+
24+
<div class="bg-white shadow-md rounded-lg p-6 hover:shadow-xl transition-shadow">
25+
<h2 class="text-2xl font-bold text-table-header mb-2">Card Title 2</h2>
26+
<p class="text-gray-700 mb-4">Another card with some sample text. Tailwind makes styling easy!</p>
27+
<span class="text-highlight font-semibold">Highlighted text</span>
28+
</div>
29+
</main>
30+
31+
<!-- Footer Link -->
32+
<footer class="mt-12 w-full max-w-4xl text-center">
33+
<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">
34+
Go to Test Page
35+
</a>
36+
</footer>
37+
38+
</body>
39+
</html>

main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import './tailwind.css';
2+
3+
console.log('Tailwind v4 setup works!');

0 commit comments

Comments
 (0)