Skip to content

Commit 4e2e7c9

Browse files
authored
Merge pull request #48 from CodeCafeCommunity/directory-organization
Reorganize files into new directories
2 parents 231164d + 6e8afff commit 4e2e7c9

File tree

12 files changed

+25
-25
lines changed

12 files changed

+25
-25
lines changed

src/main.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import { StrictMode } from "react";
22
import { createRoot } from "react-dom/client";
33
import { BrowserRouter, Routes, Route } from "react-router";
44
import "./index.css";
5-
import Layout from "./components/Layout.tsx";
6-
import Home from "./routes/Home.tsx";
7-
import About from "./routes/About.tsx";
5+
import Layout from "./components/Layout";
6+
import Home from "./routes/Home";
7+
import About from "./routes/About";
88

99
const root = document.getElementById("root");
1010

src/routes/About.tsx

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/routes/About/index.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export default function About() {
2+
return (
3+
<main className="min-h-[25vh] grid place-items-center bg-primary">
4+
<h3 className="text-3xl text-secondary">About Code Cafe</h3>
5+
</main>
6+
);
7+
}

src/routes/Home.tsx

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)