Unpublish /landscape for now
Redirects to home, drops it from nav, and removes the dangling exec-summary link. Content stays in the file (not deleted) for an easy revert later.
This commit is contained in:
@@ -2,8 +2,6 @@ import type { CSSProperties } from "react";
|
||||
|
||||
import type { Metadata } from "next";
|
||||
import Image from "next/image";
|
||||
import Link from "next/link";
|
||||
import { ArrowRight } from "lucide-react";
|
||||
|
||||
import { MedscribeLogo } from "~/components/medscribe-logo";
|
||||
import { PhoneMockup } from "~/components/phone-mockup";
|
||||
@@ -250,13 +248,6 @@ export default function ExecutiveSummaryPage() {
|
||||
</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
<Link
|
||||
href="/landscape"
|
||||
className="inline-flex items-center gap-1.5 text-sm font-medium text-primary underline-offset-4 hover:underline"
|
||||
>
|
||||
See the full landscape
|
||||
<ArrowRight className="size-4" />
|
||||
</Link>
|
||||
</section>
|
||||
|
||||
{/* Under the hood */}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import type { Metadata } from "next";
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
import { SectionLabel } from "~/components/section-label";
|
||||
import {
|
||||
@@ -63,6 +64,11 @@ const bundle = [
|
||||
];
|
||||
|
||||
export default function LandscapePage() {
|
||||
// Unpublished for now — not part of what external contacts (e.g. the
|
||||
// Northwell introduction) should see. Content is kept in place, not
|
||||
// deleted, so this is a one-line revert when we want it public again.
|
||||
redirect("/");
|
||||
|
||||
return (
|
||||
<div className="mx-auto max-w-6xl space-y-14 px-4 py-10 sm:px-6 lg:space-y-20 lg:py-14">
|
||||
{/* Hero */}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { useState } from "react";
|
||||
import { FileText, Home, Layers, Menu, X } from "lucide-react";
|
||||
import { FileText, Home, Menu, X } from "lucide-react";
|
||||
import Link from "next/link";
|
||||
import { usePathname } from "next/navigation";
|
||||
|
||||
@@ -11,7 +11,6 @@ import { cn } from "~/lib/utils";
|
||||
const navLinks = [
|
||||
{ href: "/", label: "About", icon: Home },
|
||||
{ href: "/executive-summary", label: "Summary", icon: FileText },
|
||||
{ href: "/landscape", label: "Landscape", icon: Layers },
|
||||
];
|
||||
|
||||
export function SiteHeader() {
|
||||
|
||||
Reference in New Issue
Block a user