Преглед изворни кода

zbytest003-2025-02-20 11:52:30

genlitex пре 2 месеци
родитељ
комит
6adde2e766

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/assets/index-CbwT2pzS.css


Разлика између датотеке није приказан због своје велике величине
+ 4 - 0
dist/assets/index-kbOJsDHp.js


+ 14 - 0
dist/index.html

@@ -0,0 +1,14 @@
+<!doctype html>
+<html lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <title>Vite + Vue</title>
+    <script type="module" crossorigin src="/ide/proxy/6007/assets/index-kbOJsDHp.js"></script>
+    <link rel="stylesheet" crossorigin href="/ide/proxy/6007/assets/index-CbwT2pzS.css">
+  </head>
+  <body>
+    <div id="app"></div>
+  </body>
+</html>

+ 12 - 0
src/router/index.js

@@ -1,11 +1,23 @@
 import { createRouter, createWebHashHistory } from 'vue-router'
 import HomeView from '../views/HomeView.vue'
+import UserStoriesView from '../views/UserStoriesView.vue'
+import LoginView from '../views/LoginView.vue'
 
 const routes = [
   {
     path: '/',
     name: 'home',
     component: HomeView
+  },
+  {
+    path: '/user-stories',
+    name: 'user-stories',
+    component: UserStoriesView
+  },
+  {
+    path: '/login',
+    name: 'login',
+    component: LoginView
   }
 ]
 

+ 46 - 0
src/views/LoginView.vue

@@ -0,0 +1,46 @@
+<template>
+  <div class="flex items-center justify-center min-h-screen bg-gray-800">
+    <div class="bg-white p-8 rounded-lg shadow-lg w-full max-w-md">
+      <h2 class="text-2xl font-bold mb-6 text-gray-800">Login</h2>
+      <form>
+        <div class="mb-4">
+          <label for="username" class="block text-gray-700 font-bold mb-2">Username</label>
+          <input
+            type="text"
+            id="username"
+            class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
+            placeholder="Enter your username"
+          />
+        </div>
+        <div class="mb-6">
+          <label for="password" class="block text-gray-700 font-bold mb-2">Password</label>
+          <input
+            type="password"
+            id="password"
+            class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 mb-3 leading-tight focus:outline-none focus:shadow-outline"
+            placeholder="Enter your password"
+          />
+          <a href="#" class="inline-block align-baseline font-bold text-sm text-blue-500 hover:text-blue-800">
+            Forgot Password?
+          </a>
+        </div>
+        <div class="flex items-center justify-between">
+          <button
+            class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline"
+            type="button"
+          >
+            Login
+          </button>
+        </div>
+      </form>
+    </div>
+  </div>
+</template>
+
+<script setup>
+// Add any necessary logic here
+</script>
+
+<style scoped>
+/* Additional styles can be added here if needed */
+</style>

+ 3 - 3
src/views/generate_user_stories_tailwind.vue → src/views/UserStoriesView.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="flex h-screen bg-gray-50">
+  <div class="flex h-screen bg-purple-900">
     <!-- Sidebar -->
     <aside class="w-64 bg-[#1A1A2E] text-white flex flex-col">
       <!-- Logo -->
@@ -85,7 +85,7 @@
           <div class="flex-1 relative">
             <input
                 type="text"
-                placeholder="Chat with GentLiteX Chatbot ..."
+                placeholder="Chat with GenliteX Chatbot ..."
                 class="w-full p-3 pr-12 border rounded-lg"
             />
             <Upload class="absolute right-4 top-1/2 -translate-y-1/2 text-gray-400" />
@@ -125,6 +125,6 @@ const menuItems = [
 ]
 </script>
 
-<style>
+<style scoped>
 /* Additional styles can be added here if needed */
 </style>

Неке датотеке нису приказане због велике количине промена