Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👈 Updated Backing for Hero Component #919

Merged
merged 4 commits into from
Jul 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions next/src/components/landing/Backing.tsx
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
const Backing = () => {
return (
<div className="font-white relative flex flex-col items-center gap-x-2 text-xs sm:flex-row md:text-sm">
<div className="font-thin">Backed by</div>
<div className="flex flex-row items-center gap-2">
<div className="font-white relative flex flex-col items-center text-xs md:text-sm">
<div className="flex flex-row items-center gap-1 font-thin text-gray-400">
<div className="mr-1 font-thin">Backed By:</div>
<a
className="flex cursor-pointer flex-row items-center gap-1 font-bold transition-transform duration-300 hover:scale-105"
className="flex cursor-pointer flex-row items-center gap-1 transition-transform duration-300 hover:scale-105"
href="https://www.ycombinator.com/companies/reworkd"
target="_blank"
>
<div className="relative p-[1px]">
<div className="absolute inset-0 rotate-180 rounded-lg bg-gradient-to-br from-orange-100 via-orange-400 to-orange-700"></div>
<div className="relative flex items-center justify-center rounded-lg bg-gradient-to-br from-orange-400 via-orange-500 to-orange-700 px-1.5 py-0.5">
<div className="absolute inset-0 bg-gray-400"></div>
<div className="relative flex items-center justify-center px-2 font-sans text-lg text-black">
Y
</div>
</div>
<div>Combinator</div>
</a>
<div className="font-thin">&</div>
<div>&</div>
<a
className="cursor-pointer font-bold transition-transform duration-300 hover:scale-105"
className="cursor-pointer transition-transform duration-300 hover:scale-105"
href="https://www.panache.vc/"
target="_blank"
>
Panache ventures
Panache Ventures
</a>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions next/src/components/landing/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ const Hero = () => {

<FadeIn
initialY={50}
duration={2}
duration={1.5}
className="absolute bottom-10 right-0 z-10 flex w-screen justify-center"
>
<Backing />
</FadeIn>

<FadeIn duration={5} delay={0.5} initialX={100} className="absolute inset-0 z-0">
<FadeIn duration={1.5} initialX={50} initialY={0} className="absolute inset-0 z-0">
<Image
src="/hero-background.png"
alt="Background Image"
Expand Down