Skip to content

Commit

Permalink
removed hacky z-indexing, using defualt html order instead
Browse files Browse the repository at this point in the history
  • Loading branch information
ryqndev committed Mar 31, 2024
1 parent e5bb67c commit 3af1b66
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@
.bl {
position: absolute;
max-width: 200px;
z-index: -1;

bottom: 0px;
left: 0px;

Expand All @@ -76,8 +74,6 @@
.tr {
position: absolute;
max-width: 200px;
z-index: -1;

top: 0px;
right: 0px;

Expand Down
20 changes: 10 additions & 10 deletions src/app/pages/Designathons/Designathon24/components/About/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ import Notecard from "../Notecard/Notecard";
const About = () => {
return (
<div className={cn.container} id="s-about">
<img
src={tr_gradient}
alt="tr_gradient"
className={clsx(cn.tr, cn.gradient)}
/>
<img src={bl_gradient} alt="" className={cn.bl} />
<img src={tr_stars} alt="" className={cn.tr} />
<img src={bl_stars} alt="" className={cn.bl} />

<h2 className={cn.aboutHeading}>About</h2>
<Notecard lineAdjustment={1}>
<div style={{ maxWidth: "95%" }}>
Expand Down Expand Up @@ -41,21 +50,12 @@ const About = () => {
</p>
</div>
</Notecard>

<img src={paperclip} alt="" className={cn.paperclip} />
<img
src={airplane}
alt=""
className={clsx(cn.airplane, "wait flopR")}
/>
<img src={paperclip} alt="" className={cn.paperclip} />
<img
src={tr_gradient}
alt="tr_gradient"
className={clsx(cn.tr, cn.gradient)}
/>
<img src={bl_gradient} alt="" className={cn.bl} />
<img src={tr_stars} alt="" className={cn.tr} />
<img src={bl_stars} alt="" className={cn.bl} />
</div>
);
};
Expand Down

0 comments on commit 3af1b66

Please sign in to comment.