forked from emre/www_projectmycelium_com
refactor: standardize Tailwind class syntax and component usage
- Replaced arbitrary CSS values with standard Tailwind utilities (e.g., `bottom-[-18rem]` → `-bottom-72`, `mt-[-2rem]` → `-mt-8`) - Fixed invalid gradient syntax by removing `bg-` prefix from gradient utilities - Consolidated text styling by replacing inline elements with CT/CP text components - Adjusted CT component typography from semibold to medium for better visual hierarchy
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { Link } from "react-router-dom";
|
||||
import { Eyebrow, H3, P } from "@/components/Texts";
|
||||
import { CP, CT, Eyebrow, H3, P } from "@/components/Texts";
|
||||
|
||||
const bentoCards = [
|
||||
{
|
||||
@@ -107,10 +107,10 @@ export function HomeTab() {
|
||||
/>
|
||||
<div className="px-8 pt-4 pb-6">
|
||||
<h3 className="text-sm/4 font-semibold text-cyan-500">{card.eyebrow}</h3>
|
||||
<p className="mt-2 text-lg font-medium lg:text-xl tracking-tight text-gray-950">{card.title}</p>
|
||||
<p className="mt-1 max-w-lg text-sm/6 text-gray-600">
|
||||
<CT className="mt-2 text-lg lg:text-xl tracking-tight text-gray-950">{card.title}</CT>
|
||||
<CP className="mt-1 max-w-lg text-gray-600">
|
||||
{card.description}
|
||||
</p>
|
||||
</CP>
|
||||
</div>
|
||||
</div>
|
||||
<div className={`pointer-events-none absolute inset-0 rounded-lg shadow-sm outline outline-black/5 ${card.rounded}`} />
|
||||
|
||||
Reference in New Issue
Block a user