From 8722e4de745f28d9618b40ab105c9580510d2085 Mon Sep 17 00:00:00 2001 From: Lucas Smith Date: Thu, 16 Nov 2023 13:39:22 +1100 Subject: [PATCH] chore: marketing site updates (#654) Change "Open" links to "Open Startup" to reduce confusion about how to open the web app. Additionally add the OSS Friends link to the footer since it was dropped during some changes. --- apps/marketing/src/components/(marketing)/footer.tsx | 5 +++-- apps/marketing/src/components/(marketing)/header.tsx | 5 +++-- .../src/components/(marketing)/mobile-navigation.tsx | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/apps/marketing/src/components/(marketing)/footer.tsx b/apps/marketing/src/components/(marketing)/footer.tsx index f60cfc0b7..92e404469 100644 --- a/apps/marketing/src/components/(marketing)/footer.tsx +++ b/apps/marketing/src/components/(marketing)/footer.tsx @@ -1,6 +1,6 @@ 'use client'; -import { HTMLAttributes } from 'react'; +import type { HTMLAttributes } from 'react'; import Image from 'next/image'; import Link from 'next/link'; @@ -27,10 +27,11 @@ const FOOTER_LINKS = [ { href: '/singleplayer', text: 'Singleplayer' }, { href: '/blog', text: 'Blog' }, { href: '/design-system', text: 'Design' }, - { href: '/open', text: 'Open' }, + { href: '/open', text: 'Open Startup' }, { href: 'https://shop.documenso.com', text: 'Shop', target: '_blank' }, { href: 'https://status.documenso.com', text: 'Status', target: '_blank' }, { href: 'mailto:support@documenso.com', text: 'Support', target: '_blank' }, + { href: '/oss-friends', text: 'OSS Friends' }, { href: '/privacy', text: 'Privacy' }, ]; diff --git a/apps/marketing/src/components/(marketing)/header.tsx b/apps/marketing/src/components/(marketing)/header.tsx index 3f08f30e3..e1813f7f6 100644 --- a/apps/marketing/src/components/(marketing)/header.tsx +++ b/apps/marketing/src/components/(marketing)/header.tsx @@ -1,6 +1,7 @@ 'use client'; -import { HTMLAttributes, useState } from 'react'; +import type { HTMLAttributes } from 'react'; +import { useState } from 'react'; import Image from 'next/image'; import Link from 'next/link'; @@ -63,7 +64,7 @@ export const Header = ({ className, ...props }: HeaderProps) => { href="/open" className="text-muted-foreground hover:text-muted-foreground/80 text-sm font-semibold" > - Open + Open Startup