From 8b9900b80b84e06360e51b75fc73dd4cfc6cb915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Casal?= Date: Mon, 29 Jul 2024 11:34:33 +0100 Subject: [PATCH] link to launchfast.pro --- app/components/footer.tsx | 49 +++++--------------------------- app/components/header.tsx | 4 +-- app/routes/_marketing+/index.tsx | 20 +++++++------ 3 files changed, 20 insertions(+), 53 deletions(-) diff --git a/app/components/footer.tsx b/app/components/footer.tsx index ba6d64a..942e839 100644 --- a/app/components/footer.tsx +++ b/app/components/footer.tsx @@ -3,12 +3,13 @@ import { H2 } from '~/ui_components/typography/h2.tsx' import { H3 } from '~/ui_components/typography/h3.tsx' import { P } from '~/ui_components/typography/p.tsx' import { Span } from '~/ui_components/typography/span.tsx' +import { Icon } from './ui/icon' const navigation = { social: [ { - name: 'Twitter', - href: 'https://twitter.com/theandrecasal', + name: 'X', + href: 'https://twitter.com/andrecasaldev', icon: (props: any) => ( @@ -41,52 +42,16 @@ const navigation = { ), }, - /* { - name: 'Facebook', - href: '#', - icon: (props: any) => ( - - - - ), - }, */ - /* { - name: 'Instagram', - href: '#', - icon: (props: any) => ( - - - - ), - }, */ ], sitemap: [ { name: 'Homepage', href: '/' }, - /* { name: 'Tips', href: '/tips' }, */ - /* { name: 'Shorts', href: '/shorts' }, */ - { name: 'ui', href: '/ui' }, - { name: 'ShipFast', href: '/ship-fast' }, { name: 'Articles', href: '/articles' }, - /* { name: 'Talks', href: '/talks' }, */ - { name: 'Courses', href: '/courses' }, { name: 'Mentoring', href: '/mentorship' }, - /* { name: 'About', href: '/about' }, */ - /* { name: 'Uses', href: '/uses' }, */ - /* { name: 'Transparency', href: '/transparency' }, */ + { name: 'LaunchFast', href: 'https://launchfast.pro', external: true }, + { name: 'VerveUI', href: 'https://verveui.pro', external: true }, + { name: 'Courses', href: '/courses' }, ], courses: [{ name: 'Mastery for VS Code', href: '/courses/mastery-for-vs-code' }], - /* legal: [ - { name: 'Privacy', href: '/privacy' }, - { name: 'Terms', href: '/terms' }, - ], */ } const Footer = () => { @@ -124,7 +89,7 @@ const Footer = () => {
  • - {item.name} + {item.name} {item.external ? : null}
  • diff --git a/app/components/header.tsx b/app/components/header.tsx index 92aba36..804c014 100644 --- a/app/components/header.tsx +++ b/app/components/header.tsx @@ -15,8 +15,8 @@ const prefetch = 'intent' const navigation: { name: string; href: string; external?: boolean; children?: { name: string; href: string }[] }[] = [ { name: 'Articles', href: '/articles' }, { name: 'Mentorship', href: '/mentorship' }, + { name: 'LaunchFast', href: 'https://launchfast.pro', external: true }, { name: 'VerveUI', href: 'https://verveui.pro', external: true }, - { name: 'ShipFast', href: '/ship-fast' }, { name: 'VS Code', href: '/courses/mastery-for-vs-code' }, /* { name: 'About', href: '/courses', children: [ { name: 'About AndrĂ©', href: '/about' }, @@ -65,7 +65,7 @@ export default function Header() { to={href} className="relative block after:absolute after:bottom-0 after:left-0 after:right-0 after:block after:h-0.5 after:max-w-0 after:bg-foreground after:transition-max-width after:duration-500 aria-[current]:after:max-w-full" > - {name} {external ? : null} + {name} {external ? : null} diff --git a/app/routes/_marketing+/index.tsx b/app/routes/_marketing+/index.tsx index 24f1101..97ab2bb 100644 --- a/app/routes/_marketing+/index.tsx +++ b/app/routes/_marketing+/index.tsx @@ -32,16 +32,18 @@ export default function Index() { const currently_building = [ { - name: 'UI library', - description: 'All the lego pieces to build your UI. An accessible, SEO-optimized, UI library for fast UI development.', - icon: 'mix', - link: '/ui', + name: 'LaunchFast', + description: 'The Remix stack with all you need to build your web app. From idea to production in 2 minutes.', + icon: 'bolt', + link: 'https://launchfast.pro', + external: true, }, { - name: 'ShipFast', - description: 'The Remix stack with all you need to build your full-stack web app. From idea to production in 5 minutes.', - icon: 'bolt', - link: '/ship-fast', + name: 'VerveUI', + description: 'All the lego pieces to build your UI. An accessible, SEO-optimized, UI library for fast UI development.', + icon: 'mix', + link: 'https://verveui.pro', + external: true, }, { name: 'Estuda Comigo', @@ -99,7 +101,7 @@ export default function Index() {