mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-19 03:01:53 +10:00
- attempt at responsiveness fix
- bring back scrollbars - update dependencies
This commit is contained in:
@ -9,6 +9,7 @@ import LoadingScreen from '../../components/router/LoadingScreen';
|
||||
import DatabaseContext from '../../contexts/DatabaseContext';
|
||||
import { useDispatch } from '../../contexts/ResumeContext';
|
||||
import Button from '../../components/shared/Button';
|
||||
import styles from './builder.module.css';
|
||||
|
||||
const Builder = ({ id }) => {
|
||||
const dispatch = useDispatch();
|
||||
@ -53,14 +54,14 @@ const Builder = ({ id }) => {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="h-screen grid grid-cols-11">
|
||||
<div className="col-span-3">
|
||||
<div className={styles.container}>
|
||||
<div className={styles.left}>
|
||||
<LeftSidebar />
|
||||
</div>
|
||||
<div className="col-span-5 h-screen overflow-hidden bg-primary-100 grid items-center justify-center">
|
||||
<div className={styles.center}>
|
||||
<Artboard />
|
||||
</div>
|
||||
<div className="col-span-3">
|
||||
<div className={styles.right}>
|
||||
<RightSidebar />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
33
src/pages/app/builder.module.css
Normal file
33
src/pages/app/builder.module.css
Normal file
@ -0,0 +1,33 @@
|
||||
.container {
|
||||
@apply w-screen h-screen grid grid-cols-10;
|
||||
}
|
||||
|
||||
.left {
|
||||
@apply col-span-3;
|
||||
}
|
||||
|
||||
.center {
|
||||
@apply col-span-4 h-screen overflow-scroll bg-primary-100 grid justify-center items-center;
|
||||
}
|
||||
|
||||
.right {
|
||||
@apply col-span-3;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1440px) {
|
||||
.container {
|
||||
@apply grid-cols-11;
|
||||
}
|
||||
|
||||
.left {
|
||||
@apply col-span-3;
|
||||
}
|
||||
|
||||
.center {
|
||||
@apply col-span-5;
|
||||
}
|
||||
|
||||
.right {
|
||||
@apply col-span-3;
|
||||
}
|
||||
}
|
||||
@ -74,8 +74,8 @@ const Dashboard = ({ user }) => {
|
||||
|
||||
<TopNavbar />
|
||||
|
||||
<div className="container mt-12">
|
||||
<div className="grid grid-cols-6 gap-8">
|
||||
<div className="container mt-12 px-12 xl:px-0">
|
||||
<div className="grid grid-cols-1 md:grid-cols-4 lg:grid-cols-6 gap-8">
|
||||
<CreateResume />
|
||||
|
||||
{resumes.map((x) => (
|
||||
|
||||
@ -16,7 +16,7 @@ const Home = () => {
|
||||
<link rel="canonical" href="https://rxresume-staging.web.app/" />
|
||||
</Helmet>
|
||||
|
||||
<div className="container mt-24">
|
||||
<div className="container px-8 xl:px-0 text-center md:text-left mt-24">
|
||||
<Hero />
|
||||
|
||||
<p className="leading-loose text-lg mt-16">
|
||||
@ -71,7 +71,7 @@ const Home = () => {
|
||||
<h4 className="text-xl uppercase font-bold mb-8">
|
||||
Links of Interest
|
||||
</h4>
|
||||
<div className="grid grid-cols-4 gap-8">
|
||||
<div className="grid grid-cols-3 md:grid-cols-4 gap-8">
|
||||
<Link to="/faq">Frequently Asked Questions</Link>
|
||||
<a
|
||||
href="https://github.com/AmruthPillai/Reactive-Resume"
|
||||
@ -100,7 +100,7 @@ const Home = () => {
|
||||
</div>
|
||||
|
||||
<footer className="my-24">
|
||||
<p className="text-primary-500 opacity-75">
|
||||
<p className="text-primary-500">
|
||||
Licensed under <a href="/">MIT</a>
|
||||
<br />
|
||||
Made with love by{' '}
|
||||
|
||||
Reference in New Issue
Block a user