mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-14 16:51:33 +10:00
- implement tips on loading screen
- implement centralized sections - removed react-spinner package
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import React from "react";
|
||||
import Profile from "../sections/Profile";
|
||||
import React, { Fragment } from "react";
|
||||
import sections from "../../../data/leftSections";
|
||||
import LeftNavbar from "./LeftNavbar";
|
||||
import styles from "./LeftSidebar.module.css";
|
||||
|
||||
@ -9,7 +9,12 @@ const LeftSidebar = () => {
|
||||
<LeftNavbar />
|
||||
|
||||
<div className={styles.container}>
|
||||
<Profile />
|
||||
{sections.map(({ id, component: Component }) => (
|
||||
<Fragment key={id}>
|
||||
<Component />
|
||||
<hr />
|
||||
</Fragment>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user