-
+
@@ -923,17 +885,15 @@ export default function Hero({ children }: { children?: ReactNode }) {
- {children
- ? (
-
- {children}
-
- )
- : null}
+ {children ? (
+
+ {children}
+
+ ) : null}
- );
+ )
}
// Re-exported so page.tsx can position the adapter / code / balances panel
// below the main browser-mockup demo section.
-export { DemoSplit };
+export { DemoSplit }
diff --git a/site/src/landing/icons.tsx b/site/src/landing/icons.tsx
index e19147db..7f044c95 100644
--- a/site/src/landing/icons.tsx
+++ b/site/src/landing/icons.tsx
@@ -1,4 +1,4 @@
-"use client";
+'use client'
/**
* Inline SVG icon components for the landing page.
@@ -17,10 +17,10 @@
*/
type IconProps = {
- width?: number;
- height?: number;
- className?: string;
-};
+ width?: number
+ height?: number
+ className?: string
+}
export function TempoLogo({ width = 20, height = 21, className }: IconProps) {
return (
@@ -31,14 +31,14 @@ export function TempoLogo({ width = 20, height = 21, className }: IconProps) {
fill="none"
aria-hidden
className={className}
- style={{ display: "block" }}
+ style={{ display: 'block' }}
>
- );
+ )
}
/**
@@ -56,14 +56,14 @@ export function TempoIcon({ width = 36, height = 36, className }: IconProps) {
fill="none"
aria-hidden
className={className}
- style={{ display: "block" }}
+ style={{ display: 'block' }}
>
- );
+ )
}
/**
@@ -86,10 +86,17 @@ export function PlayMark({ className }: IconProps) {
-
-
+
+
- );
+ )
}
export function DocsIcon({ width = 16, height = 16, className }: IconProps) {
@@ -101,7 +108,7 @@ export function DocsIcon({ width = 16, height = 16, className }: IconProps) {
fill="none"
aria-hidden
className={className}
- style={{ display: "block" }}
+ style={{ display: 'block' }}
>
- );
+ )
}
export function GithubIcon({ width = 16, height = 16, className }: IconProps) {
@@ -133,14 +140,14 @@ export function GithubIcon({ width = 16, height = 16, className }: IconProps) {
fill="none"
aria-hidden
className={className}
- style={{ display: "block" }}
+ style={{ display: 'block' }}
>
- );
+ )
}
export function CopyIcon({ width = 18, height = 18, className }: IconProps) {
@@ -152,7 +159,7 @@ export function CopyIcon({ width = 18, height = 18, className }: IconProps) {
fill="none"
aria-hidden
className={className}
- style={{ display: "block" }}
+ style={{ display: 'block' }}
>
- );
+ )
}
/**
@@ -179,7 +186,7 @@ export function AgentCopyIcon({ width = 16, height = 16, className }: IconProps)
fill="none"
aria-hidden
className={className}
- style={{ display: "block" }}
+ style={{ display: 'block' }}
>
- );
+ )
}
/**
@@ -246,7 +253,7 @@ export function LockIcon({ width = 12, height = 15, className }: IconProps) {
fill="none"
aria-hidden
className={className}
- style={{ display: "block" }}
+ style={{ display: 'block' }}
>
- );
+ )
}
diff --git a/site/src/landing/page.tsx b/site/src/landing/page.tsx
index e2f840f7..5c8e903f 100644
--- a/site/src/landing/page.tsx
+++ b/site/src/landing/page.tsx
@@ -1,11 +1,11 @@
-"use client";
+'use client'
-import Customize from "./customize";
-import Demo from "./demo/Demo";
-import Footer from "./footer";
-import Guides from "./guides";
-import Hero from "./hero";
-import { ThemeProvider } from "./useTheme";
+import Customize from './customize'
+import Demo from './demo/Demo'
+import Footer from './footer'
+import Guides from './guides'
+import Hero from './hero'
+import { ThemeProvider } from './useTheme'
export default function Home() {
return (
@@ -21,5 +21,5 @@ export default function Home() {
- );
+ )
}
diff --git a/site/src/landing/sections/Accounts.tsx b/site/src/landing/sections/Accounts.tsx
index ac57d31b..d27d9062 100644
--- a/site/src/landing/sections/Accounts.tsx
+++ b/site/src/landing/sections/Accounts.tsx
@@ -1,40 +1,41 @@
-"use client";
+'use client'
-import { useState } from "react";
-import { LogInBody } from "../demo/bodies/LogIn";
-import { connectWallet, shorten } from "../demo/sdk";
-import { SectionFrame } from "./SectionFrame";
-import { TogglePills } from "./TogglePills";
-import { useTempoSession } from "./useTempoSession";
+import { useState } from 'react'
+
+import { LogInBody } from '../demo/bodies/LogIn'
+import { connectWallet, shorten } from '../demo/sdk'
+import { SectionFrame } from './SectionFrame'
+import { TogglePills } from './TogglePills'
+import { useTempoSession } from './useTempoSession'
const LIFECYCLE = [
- { id: "connect", label: "Connect" },
- { id: "authorize", label: "Authorize" },
- { id: "disconnect", label: "Disconnect" },
-] as const;
+ { id: 'connect', label: 'Connect' },
+ { id: 'authorize', label: 'Authorize' },
+ { id: 'disconnect', label: 'Disconnect' },
+] as const
-type LifecycleId = (typeof LIFECYCLE)[number]["id"];
+type LifecycleId = (typeof LIFECYCLE)[number]['id']
-const noop = () => undefined;
+const noop = () => undefined
export default function Accounts() {
- const [action, setAction] = useState