Connect, collaborate, and grow with a community of TypeScript developers
doge (#542)
PickleNikebd2c0cdeb9c
diff --git a/apps/web/global.d.ts b/apps/web/global.d.tsindex cf607717..cc16e8df 100644--- a/apps/web/global.d.ts+++ b/apps/web/global.d.ts@@ -3,6 +3,7 @@ declare module '*.md' {export default text;}declare module '*.png';+declare module '*.webp';declare namespace NodeJS {interface ProcessEnv {diff --git a/apps/web/src/assets/images/doge.webp b/apps/web/src/assets/images/doge.webpnew file mode 100644index 00000000..a086b3a1Binary files /dev/null and b/apps/web/src/assets/images/doge.webp differdiff --git a/apps/web/src/components/landing/features.tsx b/apps/web/src/components/landing/features.tsxindex 4f29d75b..2434d7d5 100644--- a/apps/web/src/components/landing/features.tsx+++ b/apps/web/src/components/landing/features.tsx@@ -1,11 +1,13 @@import { Balancer } from 'react-wrap-balancer';import clsx from 'clsx';+import Image from 'next/image';import {ImageCard,CollaborativeEnvironmentCard,ChallengeCreationCard,CuratedTracksCard,} from '~/components/landing/feature-card';+import DogeSmile from '~/assets/images/doge.webp';import FeatureCardChallengeDark1 from '~/assets/images/feature_card_challenge_dark1.png';import FeatureCardChallengeDark2 from '~/assets/images/feature_card_challenge_dark2.png';import FeatureCardChallengeLight1 from '~/assets/images/feature_card_challenge_light1.png';@@ -31,7 +33,7 @@ function Features() {className="mx-auto hidden rounded-full bg-gradient-to-r from-[#31bdc6] to-[#3178c6] p-[1px] brightness-90 contrast-150 focus:outline-none focus:ring-blue-600 focus-visible:ring-2 dark:brightness-125 dark:contrast-100 sm:block"href="#features">- <div className="rounded-full bg-white/80 px-3 py-1 dark:bg-black/80">+ <div className="group relative overflow-hidden rounded-full bg-white/80 px-3 py-1 duration-300 hover:pr-9 dark:bg-black/80"><span className="bg-gradient-to-r from-[#31bdc6] to-[#3178c6] bg-clip-text text-transparent"><svgclassName="mr-1 inline-block h-4 w-4 fill-[#31bdc6]"@@ -40,7 +42,14 @@ function Features() {><path d="m19.2 36.4-4.75-10.45L4 21.2l10.45-4.75L19.2 6l4.75 10.45L34.4 21.2l-10.45 4.75ZM36.4 42l-2.35-5.25-5.25-2.35 5.25-2.4 2.35-5.2 2.4 5.2 5.2 2.4-5.2 2.35Z" /></svg>- many features, wow+ many features, wow{' '}+ <Image+ className="absolute -bottom-1 right-1 translate-y-7 duration-300 group-hover:translate-y-0"+ alt="doge smile"+ height="28"+ width="28"+ src={DogeSmile}+ /></span></div></a>