mirror of
https://github.com/10h30/MoveMate.git
synced 2026-07-11 18:56:06 +09:00
First commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
@import 'tailwindcss';
|
||||
|
||||
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
|
||||
@source '../../storage/framework/views/*.php';
|
||||
@source "../**/*.blade.php";
|
||||
@source "../**/*.js";
|
||||
@source "../**/*.vue";
|
||||
|
||||
@theme {
|
||||
--font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
||||
'Segoe UI Symbol', 'Noto Color Emoji';
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
import './bootstrap';
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
import axios from 'axios';
|
||||
window.axios = axios;
|
||||
|
||||
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
||||
@@ -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>
|
||||
@@ -0,0 +1 @@
|
||||
Hello
|
||||
@@ -0,0 +1,15 @@
|
||||
<x-layout>
|
||||
<x-slot:heading>Task Page</x-slot:heading>
|
||||
|
||||
@foreach ($tasks as $task)
|
||||
<div class="block border-2 border-gray-500 p-2">
|
||||
<div><a href="/task/{{ $task->id }}">
|
||||
<h3 class="text-2xl tracking-tight text-blue-800">{{ $task->name }}<h3>
|
||||
</a></div>
|
||||
<div><strong>Where to go:</strong> {{ $task->location }}</div>
|
||||
<div><strong>Time Estimate:</strong> {{ $task->time_estimate }}</div>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
<div class="mt-2">{{$tasks -> links()}}</div>
|
||||
</x-layout>
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user