Rename /links to /apps, add Apps to header, rename Products to Portfolio

This commit is contained in:
jwinterm
2026-04-20 10:53:01 -04:00
parent d754a1373e
commit e55d4dcff4
5 changed files with 20 additions and 5 deletions
+9
View File
@@ -1,6 +1,15 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
transpilePackages: ["@repo/ui"],
async redirects() {
return [
{
source: "/links",
destination: "/apps",
permanent: true,
},
];
},
};
module.exports = nextConfig;
@@ -6,9 +6,9 @@ import Link from "next/link";
import type { Metadata } from "next";
export const metadata: Metadata = {
title: "Links | Such Software",
title: "Apps | Such Software",
description: "Download our apps on App Store and Google Play.",
alternates: { canonical: "/links" },
alternates: { canonical: "/apps" },
openGraph: {
title: "Such Software Apps",
description: "Download our apps on App Store and Google Play.",
+1 -1
View File
@@ -20,7 +20,7 @@ export default function sitemap(): MetadataRoute.Sitemap {
{ url: `${base}/support`, lastModified: new Date(), changeFrequency: "monthly", priority: 0.5 },
{ url: `${base}/privacy`, lastModified: new Date(), changeFrequency: "yearly", priority: 0.3 },
{ url: `${base}/terms`, lastModified: new Date(), changeFrequency: "yearly", priority: 0.3 },
{ url: `${base}/links`, lastModified: new Date(), changeFrequency: "monthly", priority: 0.5 },
{ url: `${base}/apps`, lastModified: new Date(), changeFrequency: "monthly", priority: 0.5 },
{ url: `${base}/blog`, lastModified: new Date(), changeFrequency: "weekly", priority: 0.8 },
];
+7 -1
View File
@@ -24,7 +24,13 @@ export function Header() {
href="/products"
className={pathname.startsWith("/products") ? "text-primary" : "hover:text-primary transition-colors"}
>
Products
Portfolio
</Link>
<Link
href="/apps"
className={pathname.startsWith("/apps") ? "text-primary" : "hover:text-primary transition-colors"}
>
Apps
</Link>
<Link
href="/services"
@@ -6,7 +6,7 @@ import { FaHouse, FaBoxesStacked, FaNewspaper, FaCircleInfo, FaGear } from "reac
const navItems = [
{ href: "/", label: "Home", icon: FaHouse },
{ href: "/products", label: "Products", icon: FaBoxesStacked },
{ href: "/products", label: "Portfolio", icon: FaBoxesStacked },
{ href: "/services", label: "Services", icon: FaGear },
{ href: "/blog", label: "Blog", icon: FaNewspaper },
{ href: "/about", label: "About", icon: FaCircleInfo },