Rename archive components

This commit is contained in:
Mark
2021-10-24 17:22:23 +01:00
parent 89fa0fd4a9
commit f252e81de2
9 changed files with 25 additions and 25 deletions
@@ -1,13 +1,13 @@
import React, { FC } from "react"
import { ArchivesSidebar } from "../../components/ArchivesSidebar"
import { SpotlightsSidebar } from "../../components/SpotlightsSidebar"
import { ColumnLayout } from "../ColumnLayout"
export const ArchivesLayout: FC = ({ children }) => {
export const SpotlightsLayout: FC = ({ children }) => {
return (
<ColumnLayout
title="Spotlights"
sidebar={ArchivesSidebar}
sidebar={SpotlightsSidebar}
content={children}
/>
)
+2 -2
View File
@@ -1,7 +1,7 @@
import { WindowLocation } from "@reach/router"
import React, { FC, useMemo } from "react"
import { LocationProvider } from "../LocationProvider"
import { ArchivesLayout } from "./ArchivesLayout"
import { SpotlightsLayout } from "./SpotlightsLayout"
import { HomeLayout } from "./HomeLayout"
import { PageLayout } from "./PageLayout"
import { ResourcesLayout } from "./ResourcesLayout"
@@ -22,7 +22,7 @@ const BaseLayout: FC<IBaseLayout> = (props) => {
case "resources":
return ResourcesLayout
case "spotlights":
return ArchivesLayout
return SpotlightsLayout
case "regular":
return PageLayout
default: