|
1 | 1 | import { faArrowRight, faDownload } from "@fortawesome/free-solid-svg-icons"; |
2 | 2 | import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; |
3 | | -import { Code } from "@nextui-org/react"; |
4 | 3 | import { Button, Link } from "@nextui-org/react"; |
5 | 4 | import type { Metadata } from "next"; |
6 | | - |
7 | | -import { WindowActions } from "./_components/window-actions"; |
| 5 | +import Image from "next/image"; |
8 | 6 |
|
9 | 7 | export const revalidate = 86400; // 1 day |
10 | 8 |
|
@@ -71,38 +69,12 @@ export default function Home() { |
71 | 69 | </div> |
72 | 70 | </div> |
73 | 71 | <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 | | - |
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 | | - |
89 | | - <span className={brightGreen}>Compiling</span>{" "} |
90 | | - src/main.cc |
91 | | - <br /> |
92 | | - |
93 | | - <span className={brightGreen}>Linking</span>{" "} |
94 | | - hello_world |
95 | | - <br /> |
96 | | - |
97 | | - <span className={brightGreen}>Finished</span>{" "} |
98 | | - debug target(s) in 1.28333s |
99 | | - <br /> |
100 | | - |
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 | + /> |
106 | 78 | </div> |
107 | 79 | </div> |
108 | 80 | </section> |
|
0 commit comments