feat: Hero Button Animation, Portfolio Section, Footer Section
This commit is contained in:
commit
ea37f92b5b
17 changed files with 746 additions and 134 deletions
|
|
@ -11,35 +11,36 @@ import {
|
|||
LinkedInLogoIcon,
|
||||
} from "@radix-ui/react-icons"
|
||||
|
||||
|
||||
const LOGOS = [
|
||||
<FigmaLogoIcon width={50} height={50} className="text-slate-400" />,
|
||||
<FramerLogoIcon width={50} height={50} className="text-slate-400" />,
|
||||
<SketchLogoIcon width={50} height={50} className=" text-slate-400" />,
|
||||
<TwitterLogoIcon width={50} height={50} className="text-slate-400" />,
|
||||
<GitHubLogoIcon width={50} height={50} className="text-slate-400" />,
|
||||
<VercelLogoIcon width={50} height={50} className="text-slate-400" />,
|
||||
<NotionLogoIcon width={50} height={50} className="text-slate-400" />,
|
||||
<DiscordLogoIcon width={50} height={50} className="text-slate-400" />,
|
||||
<InstagramLogoIcon width={50} height={50} className="text-slate-400" />,
|
||||
<LinkedInLogoIcon width={50} height={50} className="text-slate-400" />,
|
||||
|
||||
"/images/Amazon_Web_Services-Logo.wine.svg",
|
||||
"/images/Cisco_Systems-Logo.wine.svg",
|
||||
"/images/Oracle_Database-Logo.wine.svg",
|
||||
"/images/ids.svg",
|
||||
"/images/yanolja-icon.svg",
|
||||
]
|
||||
|
||||
export const InfiniteSlider = () => {
|
||||
return (
|
||||
// bg-gradient-to-r from-black to-transparent
|
||||
// <div className="relative m-auto w-full overflow-hidden bg-transparent before:absolute before:left-0 before:top-0 before:z-[2] before:h-full before:w-[100px] before:bg-[linear-gradient(to_right,homeBg_0%,homeBg_100%)] before:content-[''] after:absolute after:right-0 after:top-0 after:z-[2] after:h-full after:w-[100px] after:-scale-x-100 after:bg-[linear-gradient(to_right,homeBg_0%,transparent)] after:content-['']">
|
||||
<div className="before:opacity relative m-auto w-full overflow-hidden bg-homeBg bg-blend-screen before:absolute before:left-0 before:top-0 before:z-[2] before:h-full before:w-[100px] relative before:bg-gradient-to-r from-homeBg to-transparent before:content-[''] after:absolute after:right-0 after:top-0 after:z-[2] after:h-full after:w-[100px] after:-scale-x-100 after:bg-gradient-to-r from-homeBg to-transparent after:content-['']">
|
||||
<div className="before:opacity relative m-auto w-full overflow-hidden bg-homeBg bg-blend-screen before:absolute before:left-0 before:top-0 before:z-[2] before:h-full before:w-[100px] before:bg-[linear-gradient(to_right,#0f172a,transparent)] before:content-[''] after:absolute after:right-0 after:top-0 after:z-[2] after:h-full after:w-[100px] after:-scale-x-100 after:bg-[linear-gradient(to_right,#0f172a,transparent)] after:content-['']">
|
||||
<div className="flex w-[calc(250px*10)] animate-infinite-slider">
|
||||
{LOGOS.map((logo, index) => (
|
||||
<div className="slide flex w-[125px] items-center justify-center" key={index}>
|
||||
{logo}
|
||||
<div className="slide flex w-[125px] items-center justify-center px-4" key={index}>
|
||||
<img src={logo} />
|
||||
</div>
|
||||
))}
|
||||
{LOGOS.map((logo, index) => (
|
||||
<div className="slide flex w-[125px] items-center justify-center" key={index}>
|
||||
{logo}
|
||||
<div className="slide flex w-[125px] items-center justify-center px-4" key={index}>
|
||||
<img src={logo} />
|
||||
</div>
|
||||
))}
|
||||
{LOGOS.map((logo, index) => (
|
||||
<div className="slide flex w-[125px] items-center justify-center px-4" key={index}>
|
||||
<img src={logo} />
|
||||
</div>
|
||||
))}
|
||||
{LOGOS.map((logo, index) => (
|
||||
<div className="slide flex w-[125px] items-center justify-center px-4" key={index}>
|
||||
<img src={logo} />
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue