File size: 2,240 Bytes
fb6f5b7
 
b379046
 
6a263bd
b379046
6a263bd
b379046
6a263bd
 
 
b379046
6a263bd
 
b379046
6a263bd
 
b379046
 
fb6f5b7
6a263bd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b379046
6a263bd
fb6f5b7
6a263bd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fb6f5b7
b379046
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Chat UI</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
    <style>
        /* Additional styles can be added here */
        .gradient-background {
            background-image: linear-gradient(180deg, #1f2937 0%, #4b5563 100%);
        }
        .chat-background {
            background-image: linear-gradient(180deg, #374151 0%, #6b7280 100%);
        }
        .input-background {
            background-color: rgba(55, 65, 81, 0.5);
        }
    </style>
</head>
<body class="flex flex-col min-h-screen gradient-background text-white">
    <!-- Header -->
    <div class="flex items-center px-4 py-3 bg-opacity-80 backdrop-blur-lg">
        <div class="w-full flex items-center justify-between">
            <h2 class="text-xl md:text-2xl lg:text-3xl font-bold truncate flex items-center">
                ChatUI v0.6.0
            </h2>
            <a href="https://github.com/your-repo/chat-ui" target="_blank" rel="noopener noreferrer">
                <!-- GitHub SVGicon here -->
</a>
</div>
</div><!-- Chat Messages -->
<div class="flex-1 p-4 md:p-8 overflow-y-auto">
    <div class="flex flex-col space-y-4">
        <!-- Placeholder for messages -->
        <!-- Add your message items here -->
    </div>
</div>

<!-- User Input -->
<form class="flex items-center px-4 py-3 chat-background">
    <input
        class="flex-1 px-4 py-2 border rounded-full input-background placeholder-white::placeholder focus:outline-none focus:ring-2 focus:ring-gray-500 focus:border-gray-500 transition-all duration-300"
        type="text"
        placeholder="Ask anything..."
    />

    <button
        type="submit"
        class="ml-4 p-2 rounded-full hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-gray-500"
    >
        <!-- SVG for the send icon here -->
    </button>
</form>

<footer class="text-center p-4 text-gray-400">
    Model: mistralai/Mistral-7B-Instruct-v0.1 · Generated content may be inaccurate or false.
</footer>
</body>
</html>
```