mirror of
https://github.com/10h30/MoveMate.git
synced 2026-07-20 07:03:42 +09:00
First commit
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Simple Tailwind Layout</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
</head>
|
||||
<body class="flex flex-col min-h-screen bg-gray-100">
|
||||
<!-- Header with title on left, nav on right -->
|
||||
<header class="bg-white shadow">
|
||||
<div class="container mx-auto px-4 py-4 flex justify-between items-center">
|
||||
<!-- Title on left -->
|
||||
<h1 class="text-xl font-bold text-gray-800">MoveMate</h1>
|
||||
|
||||
<!-- Navigation on right -->
|
||||
<nav>
|
||||
<ul class="flex space-x-6">
|
||||
<li><a href="#" class="text-gray-600 hover:text-gray-900">Home</a></li>
|
||||
<li><a href="#" class="text-gray-600 hover:text-gray-900">About</a></li>
|
||||
<li><a href="#" class="text-gray-600 hover:text-gray-900">Services</a></li>
|
||||
<li><a href="#" class="text-gray-600 hover:text-gray-900">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- Main content -->
|
||||
<main class="flex-grow container mx-auto px-4 py-8">
|
||||
<h1 class="text-2xl font-bold mb-4">{{ $heading }}</h1>
|
||||
{{ $slot }}
|
||||
</main>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="bg-gray-800 text-white py-6">
|
||||
<div class="container mx-auto px-4">
|
||||
<p class="text-center">© 2025 My Website. All rights reserved.</p>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user