Skip to content

Commit

Permalink
Merge pull request #33 from yukikamome316/feat/design
Browse files Browse the repository at this point in the history
feat/ヘッダー仮
  • Loading branch information
hana-rs authored Dec 2, 2024
2 parents 4c2809e + 0e2dd15 commit 76a09d1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
16 changes: 16 additions & 0 deletions client/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@
text-align: center;
}

header {
width: 100%;
height: 10%;
background: #ffffff;
padding: 20px 50px;
box-sizing: border-box;
position: fixed;
top: 0;
left: 0;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
z-index: 10;
}

.logo {
height: 6em;
padding: 1.5em;
Expand Down
8 changes: 5 additions & 3 deletions client/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ function App() {
return (
<div className="App">
<BrowserRouter>
<Link to="/signup">Signup</Link> | <Link to="/signin">Signin</Link> |{" "}
<Link to="/dashboard">Dashboard</Link> |{" "}
<Link to="/Register">Register</Link>
<header>
<Link to="/signup">Signup</Link> | <Link to="/signin">Signin</Link> |{" "}
<Link to="/dashboard">Dashboard</Link> |{" "}
<Link to="/Register">Register</Link>
</header>
<Routes>
<Route path="/" element={<Dashboard />} />
<Route path="/dashboard" element={<Dashboard />} />
Expand Down
Binary file added server/database.db
Binary file not shown.

0 comments on commit 76a09d1

Please sign in to comment.