forked from waylaidwanderer/PandoraAI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
44 lines (41 loc) · 1.43 KB
/
app.vue
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
<template>
<div class="flex flex-col min-h-screen text-slate-300">
<header class="px-3 py-6 text-center">
<h1 class="text-3xl font-black text-white/80 drop-shadow-md">ChatGPT Web Client</h1>
</header>
<main class="flex flex-grow px-3 py-2">
<Chat/>
</main>
<footer class="px-3 py-6 text-center">
<span class="text-xs font-light text-slate-400">powered by <a href="https://github.com/waylaidwanderer/node-chatgpt-api" target="_blank">https://github.com/waylaidwanderer/node-chatgpt-api</a></span>
</footer>
</div>
</template>
<style>
:root {
--background: hsl(240, 80%, 10%);
}
body {
background:
radial-gradient(
60vmax 60vmax at 0% 0%,
hsla(240, 100%, 2%, 0.9) 0%,
hsla(240, 100%, 2%, 0) 95%),
radial-gradient(
80vmax 50vmax at 110% -10%,
hsla(175, 100%, 60%, 0.9) 0%,
hsla(200, 100%, 50%, 0.5) 50%,
hsla(240, 100%, 50%, 0) 95%),
radial-gradient(
90vmax 50vmax at 50vmax 50vmax,
hsla(260, 100%, 60%, 0.9) 0%,
hsla(240, 100%, 60%, 0) 95%)
var(--background);
}
footer a {
@apply opacity-75 hover:opacity-100 transition duration-300 ease-in-out;
background: linear-gradient(to right, #37feff 0%, #bd7bff 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
</style>