diff --git a/apps/engine/public/img/discord.svg b/apps/engine/public/img/discord.svg new file mode 100644 index 00000000..7f9a31f0 --- /dev/null +++ b/apps/engine/public/img/discord.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/engine/src/app/(home)/layout.tsx b/apps/engine/src/app/(home)/layout.tsx index e16d24a3..5d77bdaa 100644 --- a/apps/engine/src/app/(home)/layout.tsx +++ b/apps/engine/src/app/(home)/layout.tsx @@ -13,7 +13,7 @@ export default function Layout({ return ( <>
-
+
diff --git a/apps/engine/src/components/banners/community-banner/community-banner.tsx b/apps/engine/src/components/banners/community-banner/community-banner.tsx index 5447340f..435dbd67 100644 --- a/apps/engine/src/components/banners/community-banner/community-banner.tsx +++ b/apps/engine/src/components/banners/community-banner/community-banner.tsx @@ -1,7 +1,6 @@ import { Icons, Text } from '@ds-project/components'; import Link from 'next/link'; import Image from 'next/image'; -import discordIcon from './discord-icon.png'; import { Button } from '@/components/button'; import { config } from '@/config'; @@ -9,7 +8,7 @@ export function CommunityBanner() { return (
@@ -29,9 +28,11 @@ export function CommunityBanner() {
); diff --git a/apps/engine/src/components/banners/community-banner/discord-icon.png b/apps/engine/src/components/banners/community-banner/discord-icon.png deleted file mode 100644 index b5e59902..00000000 Binary files a/apps/engine/src/components/banners/community-banner/discord-icon.png and /dev/null differ diff --git a/apps/engine/src/components/banners/vision-banner/_assets/community.png b/apps/engine/src/components/banners/vision-banner/_assets/community.png new file mode 100644 index 00000000..4d197929 Binary files /dev/null and b/apps/engine/src/components/banners/vision-banner/_assets/community.png differ diff --git a/apps/engine/src/components/banners/vision-banner/_assets/design-tokens.png b/apps/engine/src/components/banners/vision-banner/_assets/design-tokens.png new file mode 100644 index 00000000..531fe8c4 Binary files /dev/null and b/apps/engine/src/components/banners/vision-banner/_assets/design-tokens.png differ diff --git a/apps/engine/src/components/banners/vision-banner/_assets/integrations.png b/apps/engine/src/components/banners/vision-banner/_assets/integrations.png new file mode 100644 index 00000000..faf56451 Binary files /dev/null and b/apps/engine/src/components/banners/vision-banner/_assets/integrations.png differ diff --git a/apps/engine/src/components/banners/vision-banner/_components/card.tsx b/apps/engine/src/components/banners/vision-banner/_components/card.tsx index d5f3ebac..cb000727 100644 --- a/apps/engine/src/components/banners/vision-banner/_components/card.tsx +++ b/apps/engine/src/components/banners/vision-banner/_components/card.tsx @@ -1,13 +1,26 @@ -import { Text } from '@ds-project/components'; +import { AspectRatio, Text } from '@ds-project/components'; +import Image from 'next/image'; +import type { StaticImport } from 'next/dist/shared/lib/get-img-props'; interface CardProps { title: string; description: string; + coverImage: StaticImport; } -export function Card({ description, title }: CardProps) { +export function Card({ description, title, coverImage }: CardProps) { return (
-
+ + json file representing the design tokens + +

{title}

diff --git a/apps/engine/src/components/banners/vision-banner/vision-banner.tsx b/apps/engine/src/components/banners/vision-banner/vision-banner.tsx index ce5802fc..d5d48cbd 100644 --- a/apps/engine/src/components/banners/vision-banner/vision-banner.tsx +++ b/apps/engine/src/components/banners/vision-banner/vision-banner.tsx @@ -2,21 +2,28 @@ import { Text } from '@ds-project/components'; import { Card } from './_components/card'; import { Pill } from '@/components/pill'; +import designTokensCover from './_assets/design-tokens.png'; +import integrationsCover from './_assets/integrations.png'; +import communityCover from './_assets/community.png'; + const cards = [ { title: 'Design Tokens', description: 'Synchronise, store and release design tokens directly from your design tool to your repositories.', + coverImage: designTokensCover, }, { title: 'Integrations', description: 'Seamlessly integrate your design system ecosystem so the tools work for you. And not the other way around.', + coverImage: integrationsCover, }, { title: 'Community Driven', description: 'Open-source solution, fostering collaboration and shared value.\nJoin our community.', + coverImage: communityCover, }, ]; diff --git a/apps/engine/src/components/footer/_components/link.tsx b/apps/engine/src/components/footer/_components/link.tsx new file mode 100644 index 00000000..fea838d7 --- /dev/null +++ b/apps/engine/src/components/footer/_components/link.tsx @@ -0,0 +1,15 @@ +import type NextLink from 'next/link'; +import { Link as StyledLink } from '../../link'; +import type { ComponentProps } from 'react'; + +type LinkProps = ComponentProps; +export function Link({ children, ...props }: LinkProps) { + return ( + + {children} + + ); +} diff --git a/apps/engine/src/components/footer/footer.tsx b/apps/engine/src/components/footer/footer.tsx index 70694b02..327c827c 100644 --- a/apps/engine/src/components/footer/footer.tsx +++ b/apps/engine/src/components/footer/footer.tsx @@ -1,37 +1,46 @@ -import { Icons, Text } from '@ds-project/components'; -import Link from 'next/link'; +import { DSProIcon, Icons, Text } from '@ds-project/components'; import { Button } from '../button'; import { CommunityBanner } from '../banners/community-banner'; import { config } from '@/config'; +import { Link } from './_components/link'; export function Footer() { return (