Skip to content

Commit 6f8d177

Browse files
committed
Add LookingForMore
1 parent 1d4e140 commit 6f8d177

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
import { clsx } from "clsx"
2+
import ArrowDownIcon from "@/app/conf/_design-system/pixelarticons/arrow-down.svg?svgr"
3+
4+
export function LookingForMore(props: React.HTMLAttributes<HTMLElement>) {
5+
return (
6+
<section
7+
{...props}
8+
className={clsx("gql-container gql-section", props.className)}
9+
>
10+
<div className="mx-auto grid max-w-[1504px] gap-0 bg-pri-dark lg:grid-cols-[752px_1fr]">
11+
<div className="flex flex-col justify-between gap-8 border-pri-light p-8 lg:border-r lg:p-16">
12+
<h2 className="typography-h2">Looking for more?</h2>
13+
<p className="typography-body-lg max-w-[624px]">
14+
Learning is just the beginning. Discover tools and other resources —
15+
or connect with the GraphQL community around the world.
16+
</p>
17+
</div>
18+
<div className="flex flex-col">
19+
<a
20+
href="/resources"
21+
className="flex items-center justify-between border-b border-pri-light px-8 py-16 hover:bg-white/10 lg:px-8 lg:py-16"
22+
>
23+
<span className="typography-body-lg">Resources</span>
24+
<ArrowDownIcon className="size-10 shrink-0 -rotate-90 text-pri-light" />
25+
</a>
26+
<a
27+
href="/community"
28+
className="flex items-center justify-between px-8 py-16 hover:bg-white/10 lg:px-8 lg:py-16"
29+
>
30+
<span className="typography-body-lg">Community</span>
31+
<ArrowDownIcon className="size-10 shrink-0 -rotate-90 text-pri-light" />
32+
</a>
33+
</div>
34+
</div>
35+
</section>
36+
)
37+
}

src/pages/learn/index.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import { Button } from '@/app/conf/_design-system/button';
22

3+
import { NavbarFixed } from '../../components/navbar/navbar-fixed'
34
import { TocHero, TocHeroContents } from '../../components/toc-hero';
45
import { TeaserSection, LearnHeroStripes } from '../../components/learn-aggregator'
56
import { pagesBySection } from '../../components/learn-aggregator/learn-pages'
67
import { CommonQuestionsSection } from '../../components/learn-aggregator/common-questions'
78
import { TrainingCoursesSection } from '../../components/learn-aggregator/training-courses'
8-
import { NavbarFixed } from '../../components/navbar/navbar-fixed'
9+
import { LookingForMore } from "../../components/learn-aggregator/looking-for-more"
910

1011
<NavbarFixed />
1112
<TocHero
@@ -61,3 +62,5 @@ import { NavbarFixed } from '../../components/navbar/navbar-fixed'
6162
<TrainingCoursesSection id="tutorials" />
6263

6364
<CommonQuestionsSection id="faq" />
65+
66+
<LookingForMore />

0 commit comments

Comments
 (0)