File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed
components/learn-aggregator Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 11import { Button } from ' @/app/conf/_design-system/button' ;
22
3+ import { NavbarFixed } from ' ../../components/navbar/navbar-fixed'
34import { TocHero , TocHeroContents } from ' ../../components/toc-hero' ;
45import { TeaserSection , LearnHeroStripes } from ' ../../components/learn-aggregator'
56import { pagesBySection } from ' ../../components/learn-aggregator/learn-pages'
67import { CommonQuestionsSection } from ' ../../components/learn-aggregator/common-questions'
78import { 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 />
You can’t perform that action at this time.
0 commit comments