11import Head from "next/head"
2- import Hero from "../components/Hero"
3- import { withDefaultStaticProps } from "../utils/defaultStaticProps"
4- import Layout from "../components/Layout"
5- import { FormattedMessage , useIntl } from "react-intl"
6- import { readdir , readFile } from "node:fs/promises"
72import { resolve } from "node:path"
3+ import { readdir , readFile } from "node:fs/promises"
4+ import { FormattedMessage , useIntl } from "react-intl"
85import matter from "gray-matter"
96import { InferGetStaticPropsType } from "next"
107import z from "zod"
11- import { RoadmapStatus } from "../components/RoadmapStatus"
128import Markdown from "react-markdown"
139
10+ import Hero from "../components/Hero"
11+ import Layout from "../components/Layout"
12+ import { RoadmapStatus } from "../components/RoadmapStatus"
13+ import { withDefaultStaticProps } from "../utils/defaultStaticProps"
14+
15+ import AppsHeroDesktop from "../public/illustrations/apps_hero_desktop.png"
16+ import AppsHeroMobile from "../public/illustrations/apps_hero_mobile.png"
17+
1418const Roadmap = ( {
1519 features,
1620} : InferGetStaticPropsType < typeof getStaticProps > ) => {
@@ -19,30 +23,36 @@ const Roadmap = ({
1923 return (
2024 < Layout >
2125 < div dir = "ltr" className = "[unicode-bidi:plaintext]" >
22- < Hero homepage safeTextShadow = { false } noHeight >
26+ < Hero
27+ homepage
28+ safeTextShadow = { false }
29+ noHeight
30+ desktopImage = { AppsHeroDesktop }
31+ mobileImage = { AppsHeroMobile }
32+ >
2333 < div className = "grid gap-x-gutter gap-y-16 lg:grid-cols-12" >
2434 < div className = "full-width-bg__inner lg:col-span-5 lg:text-end" >
25- < h1 className = "h1 mb-8 pt-16" >
35+ < h1 className = "h1 mb-8 lg: pt-16" >
2636 < FormattedMessage id = "roadmap.title" defaultMessage = "Roadmap" />
2737 </ h1 >
28- < p className = "sh1 mb-11 text-balance" >
38+ < p className = "sh1 lg: mb-11 text-balance" >
2939 < FormattedMessage
3040 id = "roadmap.lead"
3141 defaultMessage = "Here's a glimpse of what we're working on"
3242 />
3343 </ p >
3444 </ div >
3545
36- < div className = "max-w-[100vw] text-start lg:col-span-7 grid grid-cols-[min-content,auto] gap-4" >
46+ < div className = "max-w-[100vw] text-start lg:col-span-7 grid grid-cols-1 md:grid-cols- [min-content,auto] gap-4" >
3747 { features . map ( ( { data, content } , index ) => (
3848 < section
3949 key = { index }
40- className = "px-3 py-5 bg-white rounded-xl text-black grid grid-cols-subgrid col-span-2 border border-gray-3"
50+ className = "px-3 py-5 bg-white rounded-xl text-black grid grid-cols-subgrid gap-y-2 md: col-span-2 border border-gray-3"
4151 >
4252 < div className = "mt-1" >
4353 < RoadmapStatus status = { data . status } />
4454 </ div >
45- < h2 className = "font-bold text-b1 mb-2 col-start-2" >
55+ < h2 className = "font-bold text-b1 col-start-2" >
4656 { data . title }
4757 </ h2 >
4858 < div className = "col-start-2 flex flex-col gap-1" >
0 commit comments