don't make the nav bar with flex quantities

This commit is contained in:
2025-11-09 01:37:19 -06:00
parent 50e102a76e
commit bf9bf35b65
3 changed files with 3 additions and 5 deletions
+1 -4
View File
@@ -8,7 +8,6 @@ export default function Navbar() {
component={Link}
to="/"
variant="outlined"
className="flex flex-1"
>
Home
</Button>
@@ -17,11 +16,9 @@ export default function Navbar() {
component={Link}
to="/articleList"
variant="outlined"
className="flex flex-1"
>
Article
Articles
</Button>
<div className="flex flex-8"></div>
</div>
);
};
+1 -1
View File
@@ -13,7 +13,7 @@ createRoot(document.getElementById('root')!).render(
<Navbar />
<Routes>
<Route path="/" element={<Home />} />
<Route path="/article:articleId" element={<Article />} />
<Route path="/article/:articleId" element={<Article />} />
<Route path="/articleList" element={<ArticleList />} />
</Routes>
</BrowserRouter>
+1
View File
@@ -1,4 +1,5 @@
export default function Home() {
return (
<div id="home">
<h1>Home</h1>