-
Notifications
You must be signed in to change notification settings - Fork 1
update landing per convo with dave #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
nicoalba
wants to merge
12
commits into
main
Choose a base branch
from
theme-updates
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
86ca927
update landing per convo with dave
nicoalba bfd479e
Merge branch 'main' into theme-updates
nicoalba 74cb5bb
updates
nicoalba b3dcd0c
revert unified-doc
nicoalba a0214cf
Merge branch 'main' into theme-updates
nicoalba 208d84e
fix color
nicoalba d59c896
Css
nicoalba 7851ae6
revert heading style
nicoalba 8d72273
revert round 1
nicoalba 8ee481f
update bento descriptions
nicoalba fc0834b
trim frontdoor
nicoalba e37ff2f
style edits
nicoalba File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1 @@ | ||
| /** | ||
| * CSS files with the .module.css suffix will be treated as CSS modules | ||
| * and scoped locally. | ||
| */ | ||
|
|
||
| .heroBanner { | ||
| padding: 4rem 0; | ||
| text-align: center; | ||
| position: relative; | ||
| overflow: hidden; | ||
| } | ||
|
|
||
| @media screen and (max-width: 996px) { | ||
| .heroBanner { | ||
| padding: 2rem; | ||
| } | ||
| } | ||
|
|
||
| .buttons { | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| } | ||
| /* placeholder — landing page styling lives in unified-doc */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,81 +1,18 @@ | ||
| import React, {JSX} from 'react'; | ||
| import Layout from '@theme/Layout'; | ||
| import Link from '@docusaurus/Link'; | ||
| import clsx from 'clsx'; | ||
| import styles from './landing.module.css'; | ||
|
|
||
| const CYAN = '#22d3ee'; | ||
| const GREEN = '#22c55e'; | ||
| const IMG = 'https://netfoundry.io/docs/img'; | ||
| const NF_LOGO = 'https://raw.githubusercontent.com/netfoundry/branding/refs/heads/main/images/svg/icon/netfoundry-icon-color.svg'; | ||
|
|
||
| const products = [ | ||
| { id: 'console', title: 'NetFoundry Console', logo: NF_LOGO, tag: 'Managed', accent: CYAN, link: '#', features: ['Fully managed SaaS', 'Global edge fabric', 'No infra to operate', 'Policy-based access'], description: "The cloud-managed control plane for NetFoundry's global zero-trust fabric. Orchestrate identities, policies, and edge routers — no infrastructure to run." }, | ||
| { id: 'openziti', title: 'OpenZiti', logo: `${IMG}/openziti-sm-logo.svg`, tag: 'Open Source', accent: GREEN, link: '/docs/openziti', description: 'The open-source zero-trust networking framework at the heart of the NetFoundry platform. Embed dark, app-native security directly in your code — no VPN, no perimeter.' }, | ||
| { id: 'frontdoor', title: 'Frontdoor', logo: `${IMG}/frontdoor-sm-logo.svg`, tag: 'Managed', accent: CYAN, link: '/docs/frontdoor', features: ['No agent or VPN required', 'Zero firewall rules', 'Identity-based access', 'Any app, any browser'], description: 'Secure, clientless access to any application — without a VPN or firewall rule. Expose nothing to the internet while giving authorized users instant access.' }, | ||
| { id: 'zrok', title: 'zrok', logo: `${IMG}/zrok-1.0.0-rocket-purple.svg`, tag: 'Open Source', accent: GREEN, link: '/docs/zrok', description: 'Geo-scale secure sharing built on the OpenZiti mesh. Share services, files, or HTTP endpoints peer-to-peer — no open ports, no NAT traversal tricks.' }, | ||
| { id: 'selfhosted', title: 'NetFoundry Self-Hosted', logo: `${IMG}/onprem-sm-logo.svg`, tag: 'Self-Hosted', accent: CYAN, link: '/docs/onprem', features: ['Full infrastructure control', 'Air-gap compatible', 'On-prem or any cloud', 'Enterprise SLA'], description: 'Deploy the full NetFoundry control plane and fabric in your own environment. Full sovereignty over your zero-trust infrastructure — on-prem, air-gapped, or any cloud.' }, | ||
| { id: 'zlan', title: 'zLAN', logo: `${IMG}/zlan-logo.svg`, tag: 'OT Security', accent: CYAN, link: '/docs/zlan', features: ['Deep OT/IT traffic visibility', 'Identity-aware micro-segmentation', 'Centralized zero-trust policy', 'Built on NetFoundry Self-Hosted'], description: 'Identity-aware micro-segmentation firewall for operational technology networks. Deep traffic visibility, centralized policy, and zero-trust access control for OT environments.' }, | ||
| ]; | ||
|
|
||
| type Product = (typeof products)[number]; | ||
| const byId = Object.fromEntries(products.map(p => [p.id, p])) as Record<string, Product>; | ||
|
|
||
| function BentoCard({product, featured = false}: {product: Product; featured?: boolean}): JSX.Element { | ||
| const accentMod = product.accent === CYAN ? styles['nf-bento-card--accent-cyan'] : styles['nf-bento-card--accent-green']; | ||
| return ( | ||
| <div className={styles['nf-bento-wrap']}> | ||
| <Link to={product.link} className={clsx(styles['nf-bento-card'], featured && styles['nf-bento-card--featured'], accentMod)} style={{borderTopColor: product.accent}}> | ||
| <span className={styles['nf-card-badge']}>{product.tag}</span> | ||
| <div className={styles['nf-card-header']}> | ||
| {product.logo && <img src={product.logo} alt={product.title} className={styles['nf-card-logo']} />} | ||
| <h3>{product.title}</h3> | ||
| </div> | ||
| <p>{product.description}</p> | ||
| {product.features && ( | ||
| <ul className={styles['nf-bento-features']}> | ||
| {product.features.map(f => <li key={f}>{f}</li>)} | ||
| </ul> | ||
| )} | ||
| <div className={styles['nf-card-link']}>Explore →</div> | ||
| </Link> | ||
| </div> | ||
| ); | ||
| } | ||
|
|
||
| export default function Home(): JSX.Element { | ||
| return ( | ||
| <Layout title="NetFoundry Docs"> | ||
| <header className={styles['nf-hero-stage']}> | ||
| <div className={clsx('container', styles['nf-hero-content'])}> | ||
| <h1 className={styles['nf-hero-title']}>NetFoundry <span className={styles['nf-green-text']}>Docs</span></h1> | ||
| <p className={styles['nf-hero-subtext']}>Secure, high-performance networking for the modern era.</p> | ||
| <div className={styles['nf-hero-ctas']}> | ||
| <Link className={styles['nf-btn-primary']} to="/docs/frontdoor">Get Started</Link> | ||
| <a className={styles['nf-btn-ghost']} href="https://netfoundry.io/lets-talk/">Request Demo</a> | ||
| </div> | ||
| </div> | ||
| </header> | ||
| <section className={styles['nf-features-section']} style={{marginTop: '-80px', position: 'relative', zIndex: 3}}> | ||
| <div className="container"> | ||
| <div className={styles['nf-bento-grid']}> | ||
| <div className={clsx(styles['nf-bento-divider'], styles['nf-divider--managed'], styles['nf-divider--top'])}>Managed Cloud</div> | ||
| <div className={styles['nf-pair']}> | ||
| <BentoCard product={byId['console']} featured /> | ||
| <div className={styles['nf-pair-connector']}>open-source counterpart</div> | ||
| <BentoCard product={byId['openziti']} /> | ||
| </div> | ||
| <div className={styles['nf-pair']}> | ||
| <BentoCard product={byId['frontdoor']} featured /> | ||
| <div className={styles['nf-pair-connector']}>open-source counterpart</div> | ||
| <BentoCard product={byId['zrok']} /> | ||
| </div> | ||
| <div className={styles['nf-bento-divider']}>Run on your own infrastructure</div> | ||
| <BentoCard product={byId['selfhosted']} /> | ||
| <BentoCard product={byId['zlan']} /> | ||
| </div> | ||
| </div> | ||
| </section> | ||
| <Layout title="Theme Test Site"> | ||
| <main style={{display: 'flex', flexDirection: 'column', alignItems: 'center', justifyContent: 'center', padding: '4rem 2rem', textAlign: 'center'}}> | ||
| <h1>Theme Test Site</h1> | ||
| <p style={{color: 'var(--ifm-color-secondary)', maxWidth: '480px'}}> | ||
| This is the dev sandbox for <code>@netfoundry/docusaurus-theme</code>. | ||
| Navigate using the navbar above to test theme components. | ||
| </p> | ||
| <Link to="/docs" style={{marginTop: '1rem'}}>Browse test docs →</Link> | ||
| </main> | ||
| </Layout> | ||
| ); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.