This repository has been archived on 2025-03-08. You can view files and clone it, but cannot push or open issues or pull requests.
aidxnCC/components/pages/Domains.tsx

39 lines
1.3 KiB
TypeScript
Raw Normal View History

import { Link } from "lucide-react"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
import { faBan } from "@fortawesome/free-solid-svg-icons"
import domains from "@/public/data/domains.json"
2025-01-05 14:33:52 -05:00
export default function About() {
2025-01-08 15:05:24 -05:00
return (
<div className="max-w-2xl mx-auto flex flex-col items-center text-center">
<div className="mb-6 flex justify-center">
<Link size={60} />
</div>
<h1
className="text-4xl font-bold my-2 text-gray-200"
style={{ textShadow: "0 0 10px rgba(255, 255, 255, 0.5)" }}
>
2025-01-08 15:05:24 -05:00
My Domains
</h1>
<div className="mb-4 p-4 pt-8 flex flex-col items-center space-y-2">
<FontAwesomeIcon icon={faBan} className="text-red-500 text-xl" />
<span className="text-red-500 font-medium text-center mt-1 mb-0">
These domains are not for sale.
</span>
<span className="text-red-500 font-medium text-center">
All requests to buy them will be declined.
</span>
</div>
<div className="p-6 pt-0 w-full">
2025-01-08 15:05:24 -05:00
{domains.map(domain => (
<div key={domain.id} className="mb-4">
<h2 className="text-2xl font-semibold text-gray-200">
{domain.domain}
</h2>
2025-01-08 15:05:24 -05:00
<p className="text-gray-300">{domain.usage}</p>
</div>
))}
</div>
</div>
)
2025-01-05 14:33:52 -05:00
}