Woojin Lee

Add main content

...@@ -70,6 +70,72 @@ const LeftSideBar = () => { ...@@ -70,6 +70,72 @@ const LeftSideBar = () => {
70 ); 70 );
71 } 71 }
72 72
73 +const MainContent = () => {
74 + return (
75 + <main role="main" class="col-md-8 ml-sm-auto col-lg-8 px-4">
76 + <h2> 드라이브</h2>
77 + <div class="table-responsive">
78 + <table class="table table-striped table-sm">
79 + <thead>
80 + <tr>
81 + <th>파일 유형</th>
82 + <th>이름</th>
83 + <th>소유자</th>
84 + <th>마지막으로 수정한 날짜</th>
85 + <th>파일 크기</th>
86 + </tr>
87 + </thead>
88 + <tbody>
89 + <tr>
90 + <td>1,001</td>
91 + <td>Lorem</td>
92 + <td>ipsum</td>
93 + <td>dolor</td>
94 + <td>sit</td>
95 + </tr>
96 + <tr>
97 + <td>1,002</td>
98 + <td>amet</td>
99 + <td>consectetur</td>
100 + <td>adipiscing</td>
101 + <td>elit</td>
102 + </tr>
103 + <tr>
104 + <td>1,003</td>
105 + <td>Integer</td>
106 + <td>nec</td>
107 + <td>odio</td>
108 + <td>Praesent</td>
109 + </tr>
110 + <tr>
111 + <td>1,003</td>
112 + <td>libero</td>
113 + <td>Sed</td>
114 + <td>cursus</td>
115 + <td>ante</td>
116 + </tr>
117 + <tr>
118 + <td>1,004</td>
119 + <td>dapibus</td>
120 + <td>diam</td>
121 + <td>Sed</td>
122 + <td>nisi</td>
123 + </tr>
124 + <tr>
125 + <td>1,005</td>
126 + <td>Nulla</td>
127 + <td>quis</td>
128 + <td>sem</td>
129 + <td>at</td>
130 + </tr>
131 +
132 + </tbody>
133 + </table>
134 + </div>
135 + </main>
136 + );
137 +}
138 +
73 const RightSideBar = () => { 139 const RightSideBar = () => {
74 return ( 140 return (
75 <nav class="col-md-2 d-none d-md-block bg-light sidebar"> 141 <nav class="col-md-2 d-none d-md-block bg-light sidebar">
...@@ -110,8 +176,10 @@ function App() { ...@@ -110,8 +176,10 @@ function App() {
110 return ( 176 return (
111 <div className="App"> 177 <div className="App">
112 <NavBar /> 178 <NavBar />
179 + {/* padding top required */}
113 <div class="row"> 180 <div class="row">
114 <LeftSideBar /> 181 <LeftSideBar />
182 + <MainContent />
115 <RightSideBar /> 183 <RightSideBar />
116 </div> 184 </div>
117 </div> 185 </div>
......