diff --git a/package.json b/package.json index e03055a..809f877 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "license": "MIT", "version": "0.0.1", "type": "module", - "homepage": "usds.github.io/website-content-editor", + "homepage": "https://usds.github.io/website-content-editor", "scripts": { "dev": "vite", "build": "tsc && vite build", diff --git a/src/App.tsx b/src/App.tsx index ed85329..28e70b3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -6,57 +6,45 @@ import "react-toastify/dist/ReactToastify.css"; import "./App.css"; import {Fragment} from "react"; import {BlogEditorPage} from "./pages/BlogEditorPage.tsx"; -import {BrowserRouter, Routes, Route, NavLink, Outlet} from "react-router-dom"; -import {HomePage} from "./pages/HomePage.tsx"; -import {ErrorElement} from "./components/ErrorElement.tsx"; import {NavList, Header, Title,} from "@trussworks/react-uswds"; -import {AboutPage} from "./pages/AboutPage.tsx"; // we use the uswds styles from usds.github.io/website-staging // import '@uswds/uswds/css/uswds.css'; -const Layout = () => { - return ( - -
-
-
- Website Content Editor - {/* A "layout route" is a good place to put markup you want to - share across all the pages on your site, like navigation. */} - Home, - About, - News-and-blog editor] - } type="primary"/> -
-
-
- - - {/* An renders whatever child route is currently active, - so you can think about this as a placeholder for - the child routes we defined above. */} -
- -
-
-); -} +// const Layout = () => { +// return ( +// +//
+//
+//
+// Website Content Editor +// {/* A "layout route" is a good place to put markup you want to +// share across all the pages on your site, like navigation. */} +// Home, +// About, +// News-and-blog editor] +// } type="primary"/> +//
+//
+//
+// +// +// {/* An renders whatever child route is currently active, +// so you can think about this as a placeholder for +// the child routes we defined above. */} +//
+// +//
+//
+// ); +// } function App() { return ( - - - }> - }/> - }/> - }/> - - - + );