|
@@ -0,0 +1,65 @@
|
|
|
|
+<template>
|
|
|
|
+ <div class="bg-gray-100 min-h-screen flex flex-col">
|
|
|
|
+ <header class="bg-white shadow-md fixed w-full z-10">
|
|
|
|
+ <div class="container mx-auto px-4 py-2 flex justify-between items-center">
|
|
|
|
+ <div>
|
|
|
|
+ <span class="font-bold text-xl">Website Logo</span>
|
|
|
|
+ </div>
|
|
|
|
+ <nav class="space-x-4">
|
|
|
|
+ <a href="#/" class="text-gray-700 hover:text-blue-500">Home</a>
|
|
|
|
+ <a href="#/login" class="text-gray-700 hover:text-blue-500">Login/Register</a>
|
|
|
|
+ <a href="#/" class="text-gray-700 hover:text-blue-500">Menu Item 1</a>
|
|
|
|
+ <a href="#/" class="text-gray-700 hover:text-blue-500">Menu Item 2</a>
|
|
|
|
+ </nav>
|
|
|
|
+ </div>
|
|
|
|
+ </header>
|
|
|
|
+
|
|
|
|
+ <main class="container mx-auto px-4 mt-16 flex flex-grow">
|
|
|
|
+ <aside class="w-1/4 bg-white p-4 border-r">
|
|
|
|
+ <ul class="space-y-2">
|
|
|
|
+ <li class="cursor-pointer hover:bg-gray-100 rounded p-2">Function Module 1</li>
|
|
|
|
+ <li class="cursor-pointer hover:bg-gray-100 rounded p-2">Function Module 2</li>
|
|
|
|
+ <li class="cursor-pointer hover:bg-gray-100 rounded p-2">Function Module 3</li>
|
|
|
|
+ <li class="cursor-pointer hover:bg-gray-100 rounded p-2">Function Module 4</li>
|
|
|
|
+ </ul>
|
|
|
|
+ </aside>
|
|
|
|
+
|
|
|
|
+ <section class="w-3/4 p-4">
|
|
|
|
+ <div>
|
|
|
|
+ <p>Details for selected function module.</p>
|
|
|
|
+ </div>
|
|
|
|
+ </section>
|
|
|
|
+ </main>
|
|
|
|
+
|
|
|
|
+ <footer class="bg-white shadow-md fixed bottom-0 w-full">
|
|
|
|
+ <div class="container mx-auto px-4 py-2 flex justify-between items-center">
|
|
|
|
+ <div>
|
|
|
|
+ <p>© 2025 Your Company. All rights reserved.</p>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="space-x-4">
|
|
|
|
+ <a href="mailto:support@yourcompany.com" class="text-gray-700 hover:text-blue-500">Contact Us</a>
|
|
|
|
+ <a href="#" class="text-gray-700 hover:text-blue-500">LinkedIn</a>
|
|
|
|
+ <a href="#" class="text-gray-700 hover:text-blue-500">Twitter</a>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </footer>
|
|
|
|
+ </div>
|
|
|
|
+</template>
|
|
|
|
+
|
|
|
|
+<script>
|
|
|
|
+import { useRouter } from 'vue-router'
|
|
|
|
+
|
|
|
|
+export default {
|
|
|
|
+ setup() {
|
|
|
|
+ const router = useRouter()
|
|
|
|
+
|
|
|
|
+ return {
|
|
|
|
+ router
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+<style>
|
|
|
|
+/* TailwindCSS classes are used directly in the template */
|
|
|
|
+</style>
|