mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-19 03:01:53 +10:00
- creating the right sidebar
- designing the artboard - optimizing dark mode performance - optimizing input onChange handler
This commit is contained in:
18
src/components/builder/right/RightNavbar.js
Normal file
18
src/components/builder/right/RightNavbar.js
Normal file
@ -0,0 +1,18 @@
|
||||
import React from "react";
|
||||
import { MdPerson } from "react-icons/md";
|
||||
import styles from "./RightNavbar.module.css";
|
||||
|
||||
const RightNavbar = () => {
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
<div className="grid grid-cols-1 gap-6">
|
||||
<MdPerson
|
||||
className="text-secondary-dark hover:text-primary"
|
||||
size="20px"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default RightNavbar;
|
||||
6
src/components/builder/right/RightNavbar.module.css
Normal file
6
src/components/builder/right/RightNavbar.module.css
Normal file
@ -0,0 +1,6 @@
|
||||
.container {
|
||||
width: 75px;
|
||||
z-index: 20;
|
||||
box-shadow: var(--right-shadow);
|
||||
@apply px-4 py-6 h-screen flex flex-col items-center;
|
||||
}
|
||||
18
src/components/builder/right/RightSidebar.js
Normal file
18
src/components/builder/right/RightSidebar.js
Normal file
@ -0,0 +1,18 @@
|
||||
import React from "react";
|
||||
import Profile from "../sections/Profile";
|
||||
import RightNavbar from "./RightNavbar";
|
||||
import styles from "./RightSidebar.module.css";
|
||||
|
||||
const RightSidebar = () => {
|
||||
return (
|
||||
<div className="flex">
|
||||
<div className={styles.container}>
|
||||
<Profile />
|
||||
</div>
|
||||
|
||||
<RightNavbar />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default RightSidebar;
|
||||
5
src/components/builder/right/RightSidebar.module.css
Normal file
5
src/components/builder/right/RightSidebar.module.css
Normal file
@ -0,0 +1,5 @@
|
||||
.container {
|
||||
z-index: 10;
|
||||
box-shadow: var(--right-shadow);
|
||||
@apply w-full h-screen p-8;
|
||||
}
|
||||
Reference in New Issue
Block a user