- {/* Background decorative elements */}
+ {/* Gradient decorations */}
-
- {props.textData.title} {props.textData.highlightedText}
+
+ {props.textData.title}{" "}
+
+ {props.textData.highlightedText}
+
-
+
+
{props.textData.description}
{/* Installation Command */}
-
-
-
-
-
-
-
curl https://get.swis.sh | bash
-
- {/* Command Examples */}
-
-
-
Available commands:
-
-
swissh balance
-
swissh transfer <AMOUNT> <TARGET>
-
swissh export-private-key
+ {/* Command Examples */}
+
+ {/* Available Commands */}
+
+
Available commands:
+
+ {props.textData.commands.available.map(({ cmd, desc }) => (
+
+ {cmd}
+ {desc}
+
+ ))}
+
-
-
-
-
Example transfer:
-
-
swissh transfer 10 gh:username
+
+ {/* Example Usage */}
+
+
Example transfers:
+
+ {props.textData.commands.examples.map(({ cmd, desc }) => (
+
+ {cmd}
+ {desc}
+
+ ))}
+
- {/* Hero Image */}
-
+ {/* Right Column: Image */}
+
diff --git a/src/routes/index.jsx b/src/routes/index.jsx
index 1af02a1..65e6be0 100644
--- a/src/routes/index.jsx
+++ b/src/routes/index.jsx
@@ -1,34 +1,39 @@
+// src/routes/index.jsx
import { onMount } from 'solid-js';
import SectionsHeroSection from '~/components/SectionsHeroSection';
const textData = {
hero: {
- title: "Send money instantly to",
- highlightedText: "SSH keys!",
- description: "swis.sh lets you send USDT instantly to any GitHub user, .dot domain name, or polkadot address holder leveraging Polkadot Asset Hub.",
- commandPlaceholder: "swissh send gh:username 100",
+ title: "Your SSH key is now a",
+ highlightedText: "Web3 wallet",
+ description: "No more seed phrases. swis.sh uses Ed25519 SSH keys for Polkadot transactions, letting you send assets to GitHub users or .dot domains.",
+ commandPlaceholder: "curl https://get.swis.sh | sh",
buttonText: "Install now",
heroImage: "/images/swissh.webp",
- heroImageAlt: "swissh money transfer illustration",
- extraCommands: [
- "swissh send nickname.dot 50",
- "swissh send gh:hitchhooker 42 DOT",
- "swissh send
75"
- ]
+ heroImageAlt: "swissh key derivation illustration",
+ commands: {
+ available: [
+ { cmd: "swissh balance", desc: "Check your wallet" },
+ { cmd: "swissh transfer ", desc: "Send assets" },
+ ],
+ example: [
+ { cmd: "swissh transfer 10 USDT username.gh -i ~/.ssh/id_ed25519", desc: "Send dollars to GitHub user" },
+ ]
+ }
}
};
export default function Home() {
onMount(() => {
- document.title = 'swis.sh - Send Money via SSH Keys';
+ document.title = 'swis.sh - SSH Keys as Web3 Identity';
const metaDescription = document.createElement('meta');
metaDescription.name = 'description';
- metaDescription.content = 'Send USDT instantly to GitHub users, .dot domains, and SSH key holders using Polkadot Asset Hub - by Rotko Networks.';
+ metaDescription.content = 'Use Ed25519 SSH keys for Polkadot transactions and X25519 encryption. Send crypto to any GitHub username.';
document.head.appendChild(metaDescription);
const link = document.createElement('link');
- link.href = 'https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&display=swap';
+ link.href = 'https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&display=swap';
link.rel = 'stylesheet';
document.head.appendChild(link);
});
@@ -36,7 +41,6 @@ export default function Home() {
return (
- {/* Add other sections as needed */}
);
}