diff --git a/apps/landing/src/components/landing.astro b/apps/landing/src/components/landing.astro index cff545fa..0328ad27 100644 --- a/apps/landing/src/components/landing.astro +++ b/apps/landing/src/components/landing.astro @@ -12,6 +12,7 @@ import IpQuality from '@/components/sections/ip-quality.astro' import More from '@/components/sections/more.astro' import Network from '@/components/sections/network.astro' import Security from '@/components/sections/security.astro' +import Tailscale from '@/components/sections/tailscale.astro' import { landingCopy } from '@/i18n/copy' import Base from '@/layouts/base.astro' import { featureOrder, type Lang } from '@/lib/site' @@ -21,7 +22,14 @@ interface Props { } const { lang } = Astro.props -const features = { dash: Dashboards, ios: Ios, ipq: IpQuality, network: Network, security: Security } +const features = { + dash: Dashboards, + ios: Ios, + ipq: IpQuality, + network: Network, + security: Security, + tailscale: Tailscale +} --- diff --git a/apps/landing/src/components/sections/tailscale.astro b/apps/landing/src/components/sections/tailscale.astro new file mode 100644 index 00000000..2866817b --- /dev/null +++ b/apps/landing/src/components/sections/tailscale.astro @@ -0,0 +1,355 @@ +--- +import Check from '@lucide/astro/icons/check' +import Lock from '@lucide/astro/icons/lock' +import RotateCcw from '@lucide/astro/icons/rotate-ccw' +import ShieldCheck from '@lucide/astro/icons/shield-check' +import Smartphone from '@lucide/astro/icons/smartphone' +import Terminal from '@lucide/astro/icons/terminal' +import Zap from '@lucide/astro/icons/zap' +import Heading from '@/components/heading.astro' +import OutLink from '@/components/out-link.astro' +import Points from '@/components/points.astro' +import { landingCopy, type TailscaleMode } from '@/i18n/copy' +import type { Lang } from '@/lib/site' + +interface Props { + lang: Lang +} + +const { lang } = Astro.props +const copy = landingCopy[lang].tailscale +const { stage } = copy +const modes: TailscaleMode[] = ['knock', 'ssh', 'baremetal'] +const qrCells = [ + '1111101011111', + '1000100110001', + '1010101010101', + '1000101110001', + '1111100111111', + '0000001000000', + '1011011101011', + '0100100110100', + '1111101011011', + '1000101100101', + '1010100111010', + '1000101001101', + '1111101110111' +] + .join('') + .split('') +--- + +
+
+ +
+

{copy.lede}

+ {copy.link.label} +
+
+
+ +
+
+ { + modes.map((mode, index) => ( + + )) + } +
+ +
+ +
+
+
+
+
+ + prod-web-01 +
+
$ install.sh agent --tailscale
+
    + { + stage.knock.terminalSteps.map((line, index) => ( +
  1. +