use defaults for pages, keep it simple
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import clsx from "clsx"
|
import clsx from "clsx"
|
||||||
import { AppLink } from "../components/app-link"
|
import { AppLink } from "../components/app-link"
|
||||||
import { MainNavigation } from "../components/main-navigation"
|
import { MainNavigation } from "../components/main-navigation"
|
||||||
import { guideLinks } from "../data/guide-links"
|
import { guideLinks } from "../data/guide-links.preval"
|
||||||
import { useScrolled } from "../hooks/dom/use-scrolled"
|
import { useScrolled } from "../hooks/dom/use-scrolled"
|
||||||
import {
|
import {
|
||||||
docsProseClass,
|
docsProseClass,
|
||||||
@@ -9,9 +9,7 @@ import {
|
|||||||
maxWidthContainer,
|
maxWidthContainer,
|
||||||
} from "../styles/components"
|
} from "../styles/components"
|
||||||
|
|
||||||
export { DocsPage as Page }
|
export default function DocsPage() {
|
||||||
|
|
||||||
function DocsPage() {
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<HeaderPanel>
|
<HeaderPanel>
|
||||||
|
|||||||
@@ -3,9 +3,7 @@ import LandingExample from "../components/landing-example.md"
|
|||||||
import { MainNavigation } from "../components/main-navigation"
|
import { MainNavigation } from "../components/main-navigation"
|
||||||
import { maxWidthContainer } from "../styles/components"
|
import { maxWidthContainer } from "../styles/components"
|
||||||
|
|
||||||
export { LandingPage as Page }
|
export default function LandingPage() {
|
||||||
|
|
||||||
function LandingPage() {
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col min-w-0 min-h-screen text-center">
|
<div className="flex flex-col min-w-0 min-h-screen text-center">
|
||||||
<header className={maxWidthContainer}>
|
<header className={maxWidthContainer}>
|
||||||
|
|||||||
Reference in New Issue
Block a user