diff --git a/src/App.module.css b/src/App.module.css index a362df4..5c11418 100644 --- a/src/App.module.css +++ b/src/App.module.css @@ -14,5 +14,17 @@ } .currentLocation:active { - background-color: #eeeeee; + background-color: #606060; +} + +.slide { + position: fixed; + bottom: -45%; + width: 100%; + height: 45%; + transition: bottom 0.25s; +} + +.slideAnim { + bottom: 0; } \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index 6700bfc..e357b62 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -63,62 +63,54 @@ function App() { > - {building && ( + +
-
-

- {building?.name} -

- {building?.children.map((child) => ( -
-

{child.name}

- {/*

{child.description}

*/} -
- ))} - -
+

{child.name}

+ {/*

{child.description}

*/} +
+ ))} +
- )} + ); }