Skip to content

Commit

Permalink
lfg
Browse files Browse the repository at this point in the history
  • Loading branch information
irsyadadl committed Nov 23, 2024
1 parent cfcc268 commit db103e2
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 7 deletions.
2 changes: 1 addition & 1 deletion components/cta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function Cta() {
<Link
target="_blank"
href={siteConfig.repo}
className={buttonStyles({ size: "large", intent: "secondary" })}
className={buttonStyles({ size: "large", appearance: "outline" })}
>
<IconBrandGithub />
GitHub
Expand Down
81 changes: 77 additions & 4 deletions components/resources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import {
IconBrandJustd,
IconBrandLaravel,
IconBrandNextjs,
IconBrandRemix
IconBrandRemix,
IconHeartFill,
IconWindowVisitFill
} from "justd-icons"
import { Badge, Card, Grid, Heading, Link } from "ui"

Expand Down Expand Up @@ -88,7 +90,8 @@ export function Resources() {
</Grid.Collection>
</Grid>
</section>
<section id="icons" className="mb-12">

<section id="library" className="mb-12">
<Heading level={2} className="mb-6">
Icons
</Heading>
Expand All @@ -98,10 +101,10 @@ export function Resources() {
sm: 2
}}
gap={2}
aria-label="Icons"
aria-label="Support"
>
<Grid.Item
aria-label="Paranoid icons"
aria-label="Justd icons"
id="justd-icons"
className="relative focus:outline-none p-4 lg:p-6 h-full flex flex-col w-full focus-visible:outline-none focus-visible:outline-primary rounded-xl bg-tertiary shadow-[0px_0px_0px_1px_rgba(9,9,11,0.07),0px_2px_2px_0px_rgba(9,9,11,0.05)] dark:shadow-[0px_0px_0px_1px_rgba(255,255,255,0.1)] dark:before:pointer-events-none dark:before:absolute dark:before:-inset-px dark:before:rounded-xl dark:before:shadow-[0px_2px_8px_0px_rgba(0,_0,_0,_0.20),_0px_1px_0px_0px_rgba(255,_255,_255,_0.06)_inset] forced-colors:outline"
>
Expand Down Expand Up @@ -129,6 +132,76 @@ export function Resources() {
</Grid.Item>
</Grid>
</section>
<section id="support" className="mb-12">
<Heading level={2} className="mb-6">
Support
</Heading>
<Grid
columns={{
initial: 1,
sm: 2
}}
gap={2}
aria-label="Support"
>
<Grid.Item
aria-label="Support"
id="support"
className="relative focus:outline-none p-4 lg:p-6 h-full flex flex-col w-full focus-visible:outline-none focus-visible:outline-primary rounded-xl bg-tertiary shadow-[0px_0px_0px_1px_rgba(9,9,11,0.07),0px_2px_2px_0px_rgba(9,9,11,0.05)] dark:shadow-[0px_0px_0px_1px_rgba(255,255,255,0.1)] dark:before:pointer-events-none dark:before:absolute dark:before:-inset-px dark:before:rounded-xl dark:before:shadow-[0px_2px_8px_0px_rgba(0,_0,_0,_0.20),_0px_1px_0px_0px_rgba(255,_255,_255,_0.06)_inset] forced-colors:outline"
>
<Link
target="_blank"
aria-label={`Justd icons`}
rel="noopener noreferrer"
href="https://github.com/sponsors/irsyadadl"
className="absolute inset-0 size-full"
/>
<div className="flex-1">
<div className="px-6 pt-6">
<IconHeartFill className="size-7 text-pink-500" />
</div>
<Card.Header>
<Card.Title level={3}>Support This Project</Card.Title>
<Card.Description className="line-clamp-2">
Join us in building something impactful. Your contributions, whether sharing,
coding, or spreading the word, help us grow and make a difference.
</Card.Description>
</Card.Header>
</div>
<Card.Footer>
<Badge>support</Badge>
</Card.Footer>
</Grid.Item>
<Grid.Item
aria-label="Templates"
id="templates"
className="relative focus:outline-none p-4 lg:p-6 h-full flex flex-col w-full focus-visible:outline-none focus-visible:outline-primary rounded-xl bg-tertiary shadow-[0px_0px_0px_1px_rgba(9,9,11,0.07),0px_2px_2px_0px_rgba(9,9,11,0.05)] dark:shadow-[0px_0px_0px_1px_rgba(255,255,255,0.1)] dark:before:pointer-events-none dark:before:absolute dark:before:-inset-px dark:before:rounded-xl dark:before:shadow-[0px_2px_8px_0px_rgba(0,_0,_0,_0.20),_0px_1px_0px_0px_rgba(255,_255,_255,_0.06)_inset] forced-colors:outline"
>
<Link
target="_blank"
aria-label={`Justd icons`}
rel="noopener noreferrer"
href="https://irsyad.co/templates"
className="absolute inset-0 size-full"
/>
<div className="flex-1">
<div className="px-6 pt-6">
<IconWindowVisitFill className="size-7" />
</div>
<Card.Header>
<Card.Title level={3}>Templates</Card.Title>
<Card.Description className="line-clamp-2">
Looking for beautifully crafted templates to elevate your project? Browse through
a collection of designs tailored to meet your needs.
</Card.Description>
</Card.Header>
</div>
<Card.Footer>
<Badge>support</Badge>
</Card.Footer>
</Grid.Item>
</Grid>
</section>
</>
)
}
4 changes: 2 additions & 2 deletions components/ui/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,15 @@ const MenuHeader = ({ className, separator = false, ...props }: MenuHeaderProps)
<Header
className={cn(
"p-2 text-base font-semibold sm:text-sm",
separator && "-mx-1 border-b border-b-border px-3 pb-[0.625rem]",
separator && "-mx-1 border-b px-3 pb-[0.625rem]",
className
)}
{...props}
/>
)

const MenuSeparator = ({ className, ...props }: SeparatorProps) => (
<Separator className={cn("-mx-1 my-1 h-px border-b border-b-muted", className)} {...props} />
<Separator className={cn("-mx-1 my-1 h-px border-b", className)} {...props} />
)

const Checkbox = ({ className, children, ...props }: MenuItemProps) => (
Expand Down

0 comments on commit db103e2

Please sign in to comment.