Skip to content

Commit

Permalink
more update
Browse files Browse the repository at this point in the history
  • Loading branch information
No0ne003 committed May 13, 2024
1 parent 3819ec7 commit a84da08
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@
@apply focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring;
}

.bg-gradient {
background: radial-gradient(circle,
theme(colors.primary.DEFAULT) 0%,
rgba(0, 0, 0, 0) 40%);
}

/* loading*/
.loader {
width: 80px;
Expand Down
4 changes: 3 additions & 1 deletion src/pages/Home.jsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import { projects } from "@/data/projects";
import { FaReact } from "react-icons/fa";
import { FaReact, FaRegStar } from "react-icons/fa";
import { Link } from "react-router-dom";

function Home({ setCursorVariant }) {
return (
<main className="flex min-h-screen flex-col">
<div className="landing relative mb-24 py-12 sm:py-16 lg:pt-20 xl:pb-0">
<div className="bg-gradient absolute -top-72 bottom-0 w-full opacity-5 h-[800px] scale-x-150 inset-x-0 lg:-top-36 lg:-bottom-14 overflow-hidden bg-background" />
<div className="relative mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
<div className="relative mx-auto hidden max-w-screen-lg bg-red-300 lg:block">
<FaReact className="absolute right-0 text-[9rem] fill-primary -rotate-45 -translate-x-0 translate-y-[-19.5px]" />
<FaRegStar className="absolute left-0 text-[7rem] fill-primary translate-x-[200px] translate-y-[-19.5]" />
</div>
<div className="mx-auto max-w-3xl text-center">
<h1 className="mt-5 text-3xl font-light leading-snug text-white sm:text-5xl sm:leading-snug lg:text-6xl lg:leading-snug">
Expand Down

0 comments on commit a84da08

Please sign in to comment.