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 type { Metadata } from "next";
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
import Link from "next/link";
|
|
||||||
import { ArrowRight } from "lucide-react";
|
|
||||||
|
|
||||||
import { MedscribeLogo } from "~/components/medscribe-logo";
|
import { MedscribeLogo } from "~/components/medscribe-logo";
|
||||||
import { PhoneMockup } from "~/components/phone-mockup";
|
import { PhoneMockup } from "~/components/phone-mockup";
|
||||||
@@ -250,13 +248,6 @@ export default function ExecutiveSummaryPage() {
|
|||||||
</p>
|
</p>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</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>
|
</section>
|
||||||
|
|
||||||
{/* Under the hood */}
|
{/* Under the hood */}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
|
import { redirect } from "next/navigation";
|
||||||
|
|
||||||
import { SectionLabel } from "~/components/section-label";
|
import { SectionLabel } from "~/components/section-label";
|
||||||
import {
|
import {
|
||||||
@@ -63,6 +64,11 @@ const bundle = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
export default function LandscapePage() {
|
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 (
|
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">
|
<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 */}
|
{/* Hero */}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { useState } from "react";
|
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 Link from "next/link";
|
||||||
import { usePathname } from "next/navigation";
|
import { usePathname } from "next/navigation";
|
||||||
|
|
||||||
@@ -11,7 +11,6 @@ import { cn } from "~/lib/utils";
|
|||||||
const navLinks = [
|
const navLinks = [
|
||||||
{ href: "/", label: "About", icon: Home },
|
{ href: "/", label: "About", icon: Home },
|
||||||
{ href: "/executive-summary", label: "Summary", icon: FileText },
|
{ href: "/executive-summary", label: "Summary", icon: FileText },
|
||||||
{ href: "/landscape", label: "Landscape", icon: Layers },
|
|
||||||
];
|
];
|
||||||
|
|
||||||
export function SiteHeader() {
|
export function SiteHeader() {
|
||||||
|
|||||||
Reference in New Issue
Block a user