Skip to content

Commit

Permalink
[FEAT] #16 - Add InsideDataBase page
Browse files Browse the repository at this point in the history
  • Loading branch information
kingyong9169 committed Dec 3, 2021
1 parent dd41ce4 commit c9f1e51
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
22 changes: 22 additions & 0 deletions client/src/pages/InsideDataBase/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { useState, useEffect } from "react";
import { Navigate, useParams } from "react-router-dom";
import "./style.scss";
import Navigation from "../../components/Navigation";

export default function InsideDataBase(props) {
const { dbName } = useParams();

// useEffect(() => {}, [dbName]); api 연결

return (
<div className="mainPage">
<div className="titleBox">
<div className="title">
<span className="dbName">{dbName}</span>
<span>내부 조회</span>
</div>
</div>
<Navigation />
</div>
);
}
23 changes: 23 additions & 0 deletions client/src/pages/InsideDataBase/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@import "../../style/color.scss";
.mainPage {
position: relative;
display: flex;
flex-direction: column;
.titleBox {
display: flex;
flex-direction: column;
height: 100px;
background-color: $white;
border-bottom: 1px solid $gray400;
font-size: 40px;
font-weight: bold;
color: $black;
.title {
margin: auto;
.dbName {
color: $primary;
margin-right: 10px;
}
}
}
}
1 change: 1 addition & 0 deletions client/src/style/color.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ $gray200: #eeeeee;
$gray300: #e0e0e0;
$gray400: #bdbdbd;
$gray500: #9e9e9e;
$gray600: #757575;
$deepblue: #7878ff;
$macDelete: #ed695e;
$create: #61c454;
Expand Down

0 comments on commit c9f1e51

Please sign in to comment.