create-vista-app 0.2.6 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/app/index.tsx +19 -10
package/package.json
CHANGED
package/template/app/index.tsx
CHANGED
|
@@ -1,13 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import Image from 'vista/image';
|
|
2
|
+
|
|
3
|
+
export default function Index() {
|
|
4
|
+
return (
|
|
5
|
+
<main className="flex min-h-screen flex-col items-center justify-center bg-white dark:bg-black transition-colors duration-200">
|
|
6
|
+
<div className="-mt-20 mb-10 relative border border-dashed border-gray-300 dark:border-neutral-700 p-10">
|
|
7
|
+
<div className="absolute -top-0 -left-0 -translate-x-1/2 -translate-y-1/2 w-24 h-24 border border-dashed border-gray-300 dark:border-neutral-700 rounded-full" />
|
|
8
|
+
<div className="absolute -bottom-0 -right-0 translate-x-1/2 translate-y-1/2 w-24 h-24 border border-dashed border-gray-300 dark:border-neutral-700 rounded-full" />
|
|
9
|
+
<Image
|
|
10
|
+
src="/vista.svg"
|
|
11
|
+
alt="Vista Logo"
|
|
12
|
+
width={600}
|
|
13
|
+
height={600}
|
|
14
|
+
unoptimized
|
|
15
|
+
className="dark:invert"
|
|
16
|
+
/>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<h1 className="max-w-xs sm:max-w-none text-3xl font-semibold leading-10 tracking-tight text-black dark:text-zinc-50 text-center">
|
|
11
20
|
To get started, edit the index.tsx file.
|
|
12
21
|
</h1>
|
|
13
22
|
</main>
|