Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
sebald committed Sep 23, 2024
1 parent 826bc34 commit 1a54825
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 27 deletions.
16 changes: 9 additions & 7 deletions docs/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Center, Inline, Link, Stack } from '@/ui';
import { Center, Inline, Link } from '@/ui';
import type { PropsWithChildren } from 'react';
import { AccessibiltySection } from './_components/landingpage/AccessibiltySection';
import { CollaborationSection } from './_components/landingpage/CollaborationSection';
Expand Down Expand Up @@ -46,20 +46,19 @@ export const Page = () => (

<div className="grid max-w-screen-lg gap-[40vh] pt-[5vw]">
<div className="grid grid-cols-2 items-center gap-16">
<Stack space={4} alignX="left">
<div className="grid gap-4">
<SectionHeadline>Built to be accessible</SectionHeadline>
<SectionContent>
Marigold is designed with accessibility in mind from the ground up.
It leverages React Aria for screen reader and keyboard navigation
support, ensuring your applications are ready for every user.
</SectionContent>
<Link href="/foundations/overview">Learn more about Marigold</Link>
</Stack>
</div>
<AccessibiltySection />
</div>
<div className="grid grid-cols-5 items-center gap-16">
<CollaborationSection />
<div className="col-span-2">
<div className="col-span-2 grid gap-4">
<SectionHeadline>Made for collaboration</SectionHeadline>
<SectionContent>
Designers and developers iterate together using shared tools like
Expand All @@ -70,20 +69,23 @@ export const Page = () => (
</div>
</div>
<div className="grid grid-cols-8 items-center gap-16">
<div className="col-span-5">
<div className="col-span-5 grid gap-4">
<SectionHeadline>Complex layouts, simplified.</SectionHeadline>
<SectionContent>
Ready-to-use layout components make it easy to build pages of any
complexity. These flexible tools help teams quickly create
responsive, structured designs, streamlining the process without the
need for complex CSS.
</SectionContent>
<Link href="/foundations/layouts">
<span className="text-sm">▶︎</span> Learn more about layouts
</Link>
</div>
<LayoutSection />
</div>
<div className="grid grid-cols-8 items-center gap-16">
<SystemSection />
<div className="col-span-5">
<div className="col-span-5 grid gap-4">
<SectionHeadline>One system, flexible styles.</SectionHeadline>
<SectionContent>
All components are built to adapt seamlessly to different brands and
Expand Down
4 changes: 2 additions & 2 deletions docs/ui/BlurFade.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ export const BlurFade = ({
const inViewResult = useInView(ref, { once: true, margin: inViewMargin });
const isInView = !inView || inViewResult;
const defaultVariants: Variants = {
hidden: { y: yOffset, opacity: 0, filter: `blur(${blur})` },
visible: { y: -yOffset, opacity: 1, filter: `blur(0px)` },
hidden: { y: -yOffset, opacity: 0, filter: `blur(${blur})` },
visible: { y: 0, opacity: 1, filter: `blur(0px)` },
};
const combinedVariants = variant || defaultVariants;
return (
Expand Down
18 changes: 0 additions & 18 deletions docs/ui/icons/BigArrowRight.tsx

This file was deleted.

0 comments on commit 1a54825

Please sign in to comment.