diff options
| author | Maze <167211895+mazeincoding@users.noreply.github.com> | 2026-01-31 00:20:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-31 00:20:04 +0100 |
| commit | 7bf0984698e43b9aa2dd879f65951318ed410390 (patch) | |
| tree | ccf2cd590a47d550152afc07129cb55c71a9ec35 /apps/web/src/components/ui/sponsor-button.tsx | |
| parent | 0173db99448d1c4c6415dcf15272e17551b48b04 (diff) | |
| download | opencut-7bf0984698e43b9aa2dd879f65951318ed410390.tar.gz | |
codebase overhaul (#697)
Diffstat (limited to 'apps/web/src/components/ui/sponsor-button.tsx')
| -rw-r--r-- | apps/web/src/components/ui/sponsor-button.tsx | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/apps/web/src/components/ui/sponsor-button.tsx b/apps/web/src/components/ui/sponsor-button.tsx deleted file mode 100644 index 146566a6..00000000 --- a/apps/web/src/components/ui/sponsor-button.tsx +++ /dev/null @@ -1,39 +0,0 @@ -import { motion } from "motion/react"; -import { ComponentType } from "react"; - -interface SponsorButtonProps { - href: string; - logo: ComponentType<{ className?: string }>; - companyName: string; - className?: string; -} - -export function SponsorButton({ - href, - logo: Logo, - companyName, - className = "", -}: SponsorButtonProps) { - return ( - <motion.a - href={href} - target="_blank" - rel="noopener noreferrer" - className={`inline-flex items-center gap-2 px-3 py-2 rounded-md border border-border bg-background/5 backdrop-blur-xs hover:bg-background/10 transition-all duration-200 group shadow-lg ${className}`} - > - <span className="text-xs font-medium text-muted-foreground group-hover:text-foreground transition-colors"> - Sponsored by - </span> - - <div className="flex items-center gap-1.5"> - <div className="text-foreground/90 group-hover:text-foreground transition-colors"> - <Logo className="w-4 h-4" /> - </div> - - <span className="text-xs font-medium text-foreground/90 group-hover:text-foreground transition-colors"> - {companyName} - </span> - </div> - </motion.a> - ); -} |
