From 8d05031e510d38e0afd2573520c7b1341683f3e0 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sat, 28 Aug 2021 13:50:44 +0200 Subject: [PATCH] Make roadmaps page responsive --- components/page-header.tsx | 14 +++++++++++--- pages/roadmaps/index.tsx | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/components/page-header.tsx b/components/page-header.tsx index b3ee21662..e307bd521 100644 --- a/components/page-header.tsx +++ b/components/page-header.tsx @@ -11,10 +11,18 @@ export function PageHeader(props: PageHeaderProps) { const { title, subtitle, children } = props; return ( - + - {title} - {subtitle} + + {title} + + {subtitle} {children && ( diff --git a/pages/roadmaps/index.tsx b/pages/roadmaps/index.tsx index df45adde5..4dfa8d901 100644 --- a/pages/roadmaps/index.tsx +++ b/pages/roadmaps/index.tsx @@ -16,7 +16,7 @@ export default function Roadmaps() { subtitle={'Step by step guides and paths to learn different tools or technologies'} /> - +