fix: Replace hardcoded badge with PartnerBadge component in public homepage
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import { usePageContent } from "@/hooks/usePageContent";
|
import { usePageContent } from "@/hooks/usePageContent";
|
||||||
|
import { PartnerBadge } from "@/components/PartnerBadge";
|
||||||
|
|
||||||
type PortfolioProject = {
|
type PortfolioProject = {
|
||||||
id: string;
|
id: string;
|
||||||
@@ -164,9 +165,8 @@ export default function Home() {
|
|||||||
|
|
||||||
<div className="container mx-auto px-4 relative z-20">
|
<div className="container mx-auto px-4 relative z-20">
|
||||||
<div className="max-w-3xl">
|
<div className="max-w-3xl">
|
||||||
<div className="inline-flex items-center gap-3 bg-white/10 backdrop-blur-md border border-white/20 rounded-full px-5 py-2 mb-8 hover:bg-white/20 transition-colors cursor-default">
|
<div className="mb-8">
|
||||||
<i className="ri-verified-badge-fill text-primary text-xl"></i>
|
<PartnerBadge />
|
||||||
<span className="text-sm font-bold tracking-wider uppercase text-white">Prestador de Serviço Oficial <span className="text-primary">Coca-Cola</span></span>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h1 className="text-5xl md:text-6xl font-bold font-headline mb-6 leading-tight">
|
<h1 className="text-5xl md:text-6xl font-bold font-headline mb-6 leading-tight">
|
||||||
|
|||||||
Reference in New Issue
Block a user