Skip to content

Commit

Permalink
updated home page
Browse files Browse the repository at this point in the history
  • Loading branch information
sandygudie committed Dec 23, 2023
1 parent c847609 commit b627b07
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/page/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ export default function Index() {
{ title: "Contact", link: "connect" },
];
return (
<div className=" h-screen overflow-auto relative w-full">
<img
src="./background.svg"
className="object-cover h-full left-0 bottom-0 block fixed right-0 top-0 w-full"
alt="background"
loading="eager"
/>

<div
style={{
background: "url(./background.svg)",
backgroundRepeat: "no-repeat",
backgroundSize: "cover",
}}
className="home-container h-screen overflow-y-auto relative w-full"
>
<div ref={hero} className="h-full w-full relative z-20 text-black">
<header className="header flex items-center justify-between px-4 lg:px-16 py-8">
<Link to="/">
Expand Down
5 changes: 5 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@
-webkit-box-shadow: inset 0 0 6px rgba(173, 168, 168, 0.5);
}


.home-container::-webkit-scrollbar {
display: none;
}
@keyframes spinner {
0% {
transform: rotate(0deg);
Expand All @@ -150,3 +154,4 @@
border-radius: 50%;
animation: spinner 1.5s linear infinite;
}

0 comments on commit b627b07

Please sign in to comment.