Spaces:
Running
Running
update default html ✨
Browse files- utils/consts.ts +10 -32
utils/consts.ts
CHANGED
@@ -4,39 +4,17 @@ export const defaultHTML = `<!DOCTYPE html>
|
|
4 |
<title>My app</title>
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
6 |
<meta charset="utf-8">
|
7 |
-
<
|
8 |
-
body {
|
9 |
-
display: flex;
|
10 |
-
justify-content: center;
|
11 |
-
align-items: center;
|
12 |
-
overflow: hidden;
|
13 |
-
height: 100dvh;
|
14 |
-
font-family: "Arial", sans-serif;
|
15 |
-
text-align: center;
|
16 |
-
background-color: #fff;
|
17 |
-
}
|
18 |
-
.arrow {
|
19 |
-
position: absolute;
|
20 |
-
bottom: 32px;
|
21 |
-
left: 0px;
|
22 |
-
width: 100px;
|
23 |
-
transform: rotate(30deg);
|
24 |
-
}
|
25 |
-
h1 {
|
26 |
-
font-size: 50px;
|
27 |
-
}
|
28 |
-
h1 span {
|
29 |
-
color: #acacac;
|
30 |
-
font-size: 32px;
|
31 |
-
}
|
32 |
-
</style>
|
33 |
</head>
|
34 |
-
<body>
|
35 |
-
<
|
36 |
-
<span
|
37 |
-
|
38 |
-
|
39 |
-
|
|
|
|
|
|
|
40 |
<script></script>
|
41 |
</body>
|
42 |
</html>
|
|
|
4 |
<title>My app</title>
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
6 |
<meta charset="utf-8">
|
7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
</head>
|
9 |
+
<body class="flex justify-center items-center h-screen overflow-hidden bg-white font-sans text-center px-6">
|
10 |
+
<div class="w-full">
|
11 |
+
<span class="text-xs rounded-full mb-2 inline-block px-2 py-1 border border-amber-500/15 bg-amber-500/15 text-amber-500">🔥 New version dropped!</span>
|
12 |
+
<h1 class="text-4xl lg:text-6xl font-extrabold font-sans">
|
13 |
+
<span class="text-2xl lg:text-4xl text-gray-400 block font-semibold">I'm ready to work,</span>
|
14 |
+
Ask me anything.
|
15 |
+
</h1>
|
16 |
+
</div>
|
17 |
+
<img src="https://enzostvs-deepsite.hf.space/arrow.svg" class="absolute bottom-8 left-0 w-[100px] transform rotate-[30deg]" />
|
18 |
<script></script>
|
19 |
</body>
|
20 |
</html>
|