diff --git a/next.config.mjs b/next.config.mjs index 5803941..8fdc194 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -30,19 +30,13 @@ const config = { }, { protocol: 'https', - hostname: '*.ytimg.com', + hostname: 'tailwindui.com', port: '', pathname: '/**', }, { protocol: 'https', - hostname: '*.imgur.com', - port: '', - pathname: '/**', - }, - { - protocol: 'https', - hostname: '*.githubusercontent.com', + hostname: '*.producthunt.com', port: '', pathname: '/**', }, diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 471961c..5cb5337 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -10,12 +10,7 @@ import { CheckIcon } from "@heroicons/react/20/solid"; import { CheckCircleIcon } from "@heroicons/react/24/outline"; import Footer from "~/components/Footer"; import Header from "~/components/Header"; - -const navigation = [ - { name: "Features", href: "#features" }, - { name: "Pricing", href: "/pricing" }, - { name: "Discord", href: "https://discord.com/invite/invalid" }, -]; +import Image from "next/image"; const Home: NextPage = () => { const [, setRecordOpen] = useAtom(recordVideoModalOpen); @@ -115,7 +110,7 @@ const Home: NextPage = () => { className="mr-8 h-[54px] min-w-[250px] overflow-hidden" > - {title} {
- step description
@@ -210,6 +207,8 @@ const Home: NextPage = () => { "To centralize team knowledge", "To collaborate asynchronously", ], + image: + "https://f003.backblazeb2.com/file/test-cloudflares/engineering+usecase.png", }, { title: "Bug Reporting", @@ -220,6 +219,8 @@ const Home: NextPage = () => { "Request a quick demo when the bug is fixed", "Keep it in your issue tracking system", ], + image: + "https://f003.backblazeb2.com/file/test-cloudflares/bug+report+usecase.webp", }, { title: "Education", @@ -229,6 +230,8 @@ const Home: NextPage = () => { "To complement a curriculum", "To add context to assignments", ], + image: + "https://f003.backblazeb2.com/file/test-cloudflares/education+usecase.webp", }, { title: "Support", @@ -239,13 +242,15 @@ const Home: NextPage = () => { "To improve self-serve content", "To accelerate team onboarding", ], + image: + "https://f003.backblazeb2.com/file/test-cloudflares/support+usecase.webp", }, - ].map(({ title, description, features }) => ( + ].map(({ title, description, features, image }) => (
-
+
{title} @@ -261,9 +266,12 @@ const Home: NextPage = () => { ))}
- usecase cover
))} @@ -280,7 +288,7 @@ const Home: NextPage = () => { ].map(({ stat, value }) => (
{value} diff --git a/src/pages/videos.tsx b/src/pages/videos.tsx index 4b49649..3cc0e9f 100644 --- a/src/pages/videos.tsx +++ b/src/pages/videos.tsx @@ -162,7 +162,7 @@ interface VideoCardProps { const VideoCardSkeleton = () => { return ( -
+
@@ -177,7 +177,7 @@ const VideoCard = ({ title, id, createdAt, thumbnailUrl }: VideoCardProps) => {
-