Skip to content

Commit

Permalink
remove-wave
Browse files Browse the repository at this point in the history
  • Loading branch information
Weile-Zheng committed Sep 15, 2024
1 parent 3a6b5aa commit 458f22a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ export default function Home({
</Layout>
);
}

function ProjectCard({ json, basePath }) {
return (
<Link
Expand Down Expand Up @@ -228,8 +229,7 @@ function Carousel({ projects, basePath }) {
}
return (
<div className="bg-grey">
<Wave180 className="rotate-180"></Wave180>
<div className="container mx-auto py-4 relative overflow-hidden">
<div className="container mx-auto mt-16 mb-16 py-4 p-4 relative overflow-hidden">
<h2 className="text-3xl text-center font-bold">Recent Projects</h2>
<div
className="flex gap-4 flex-row p-4 justify-center transition"
Expand Down Expand Up @@ -264,7 +264,6 @@ function Carousel({ projects, basePath }) {
<Icon className="" name="arrow-right" />
</button>
</div>
<Wave></Wave>
</div>
);
}
Expand Down
8 changes: 8 additions & 0 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
}
}

.project-card-home {
background: linear-gradient(90deg, #c0abfe, #90f7df);
}
.markdown h1 {
@apply text-4xl;
@apply mb-4;
Expand Down Expand Up @@ -250,6 +253,11 @@ html {
scroll-behavior: smooth;
}

footer {
border-top: 0.5px solid;
border-top-color: #cabbf6;
background-color: rgb(21, 21, 21);
}
/* Scroll to top when button is clicked */
.scroll-up-button:target {
scroll-behavior: auto;
Expand Down

0 comments on commit 458f22a

Please sign in to comment.