Skip to content

Commit 419c0ed

Browse files
committed
Add demo.gif
1 parent aa7beb7 commit 419c0ed

File tree

3 files changed

+12
-108
lines changed

3 files changed

+12
-108
lines changed

app/_components/window-actions.tsx

Lines changed: 0 additions & 72 deletions
This file was deleted.

app/page.tsx

Lines changed: 7 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import { faArrowRight, faDownload } from "@fortawesome/free-solid-svg-icons";
22
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
3-
import { Code } from "@nextui-org/react";
43
import { Button, Link } from "@nextui-org/react";
54
import type { Metadata } from "next";
6-
7-
import { WindowActions } from "./_components/window-actions";
5+
import Image from "next/image";
86

97
export const revalidate = 86400; // 1 day
108

@@ -71,38 +69,12 @@ export default function Home() {
7169
</div>
7270
</div>
7371
<div className="relative">
74-
<WindowActions title="Terminal" />
75-
<Code className="text-md max-[600px]:text-xs shadow-medium p-4 bg-[#0D0B0B]">
76-
$ <span className={green}>cabin</span> new
77-
hello_world
78-
<br />
79-
&nbsp;&nbsp;&nbsp;
80-
<span className={brightGreen}>Created</span>{" "}
81-
binary (application) `hello_world` package
82-
<br />
83-
<br />$ <span className={green}>cd</span>{" "}
84-
hello_world
85-
<br />
86-
<br />$ <span className={green}>cabin</span> run
87-
<br />
88-
&nbsp;
89-
<span className={brightGreen}>Compiling</span>{" "}
90-
src/main.cc
91-
<br />
92-
&nbsp;&nbsp;&nbsp;
93-
<span className={brightGreen}>Linking</span>{" "}
94-
hello_world
95-
<br />
96-
&nbsp;&nbsp;
97-
<span className={brightGreen}>Finished</span>{" "}
98-
debug target(s) in 1.28333s
99-
<br />
100-
&nbsp;&nbsp;&nbsp;
101-
<span className={brightGreen}>Running</span>{" "}
102-
cabin-out/debug/hello_world
103-
<br />
104-
Hello, world!
105-
</Code>
72+
<Image
73+
src="https://vhs.charm.sh/vhs-1eNt8yfnmN3YuDzaZcHjYz.gif"
74+
width={800}
75+
height={450}
76+
alt="Demo of Cabin"
77+
/>
10678
</div>
10779
</div>
10880
</section>

next.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
/** @type {import('next').NextConfig} */
2-
const nextConfig = {};
2+
const nextConfig = {
3+
images: {
4+
domains: ["vhs.charm.sh"],
5+
},
6+
};
37
module.exports = nextConfig;

0 commit comments

Comments
 (0)