diff --git a/components/links-list-item.tsx b/components/links-list-item.tsx index 9fa6fda63..0a210a42e 100644 --- a/components/links-list-item.tsx +++ b/components/links-list-item.tsx @@ -5,15 +5,16 @@ type LinksListItemProps = { title: string; subtitle: string; badgeText?: string; - icon?: React.ReactChild + icon?: React.ReactChild; + hideSubtitleOnMobile?: boolean; }; export function LinksListItem(props: LinksListItemProps) { - const { title, subtitle, badgeText, icon } = props; + const { title, subtitle, badgeText, icon, hideSubtitleOnMobile = false } = props; return ( {badgeText}} - {subtitle} + {subtitle} ); } diff --git a/pages/index.tsx b/pages/index.tsx index 76c524f50..86e8933e9 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -15,18 +15,19 @@ export default function Home() { - - Hey there! 👋 - + + Hey there! 👋 + roadmap.sh is a community effort to create roadmaps, guides and other educational content to help guide the developers in picking up the path and guide their learnings. - We also have a YouTube + We also have a YouTube channel which we hope you are going to love. - + - - Visual Guides + + Visual Guides @@ -73,25 +74,29 @@ export default function Home() { - } /> - } /> - } /> + } /> - } /> + } /> - } /> - } /> - } /> - } /> - } /> diff --git a/pages/roadmaps/components/home-roadmap-item.tsx b/pages/roadmaps/components/home-roadmap-item.tsx index 4b948551d..847dfc2a7 100644 --- a/pages/roadmaps/components/home-roadmap-item.tsx +++ b/pages/roadmaps/components/home-roadmap-item.tsx @@ -39,8 +39,8 @@ export function HomeRoadmapItem(props: RoadmapGridItemProps) { )} - {title} - {subtitle} + {title} + {subtitle} ); }