update homepage

Seto Elkahfi committed Jun 9, 2025 at 18:29 UTC 89454f2263a054769a9ebc2c7d497124e7444b6b
1 file changed +28 -1
app/page.tsx
+28 -1
@@ -10,7 +10,34 @@ export default function Home() {
10 return (
11 <div className="prose dark:prose-invert">
12 <h1>smbCloud</h1>
13 - <p className="text-xl">A next-gen <span className="italic font-semibold text-red-600">frontend platform</span> powering small and medium-sized businesses.</p>
13 + <p className="text-lg">Deploy your NextJS app with one command: </p>
14 + <pre>
15 + {
16 + `$ smb
17 +✔ Valid config
18 +✔ Valid project
19 +✔ Valid deployment setup
20 +☱ Deploying > Use key path: ~/.ssh/id_11@smbcloud
21 +☱ Deploying > Building the app ✔
22 +☲ Deploying > App restart ✔
23 +☱ Deploying > App is running ✔
24 +✔ Deployment complete.`
25 + .split('\n')
26 + .map((line, idx) => (
27 + <span key={idx}>
28 + {line.split('✔').reduce((acc, part, i, arr) => {
29 + if (i === arr.length - 1) return [...acc, part];
30 + return [
31 + ...acc,
32 + part,
33 + <span key={`check-${i}`} style={{ color: 'green' }}>✔</span>
34 + ];
35 + }, [] as (string | JSX.Element)[])}
36 + {'\n'}
37 + </span>
38 + ))
39 + }
40 + </pre>
41 <hr />
42 <h2>Resources</h2>
43 {publishedPosts.map((post) => (