From d3895959f6e30eb459332ecb5cf424b1ae3f3aad Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sun, 5 Dec 2021 02:38:42 +0100 Subject: [PATCH] Styling for badge links --- components/md-renderer/mdx-components/badge-link.tsx | 6 +++--- .../md-renderer/mdx-components/resource-group-title.tsx | 2 +- .../roadmaps/100-frontend/content/100-internet/readme.md | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/components/md-renderer/mdx-components/badge-link.tsx b/components/md-renderer/mdx-components/badge-link.tsx index 3c30aae3e..b4a6cb200 100644 --- a/components/md-renderer/mdx-components/badge-link.tsx +++ b/components/md-renderer/mdx-components/badge-link.tsx @@ -13,9 +13,9 @@ export function BadgeLink(props: BadgeLinkType) { const { target = '_blank', colorScheme='purple', badgeText, href, children } = props; return ( - - - {badgeText} + + + {badgeText} {children} diff --git a/components/md-renderer/mdx-components/resource-group-title.tsx b/components/md-renderer/mdx-components/resource-group-title.tsx index 95eca8111..c66635e46 100644 --- a/components/md-renderer/mdx-components/resource-group-title.tsx +++ b/components/md-renderer/mdx-components/resource-group-title.tsx @@ -8,5 +8,5 @@ type ResourceGroupTitleProps = { export function ResourceGroupTitle(props: ResourceGroupTitleProps) { const { children } = props; - return {children}; + return {children}; } diff --git a/content/roadmaps/100-frontend/content/100-internet/readme.md b/content/roadmaps/100-frontend/content/100-internet/readme.md index d0c9f207f..1aec73622 100644 --- a/content/roadmaps/100-frontend/content/100-internet/readme.md +++ b/content/roadmaps/100-frontend/content/100-internet/readme.md @@ -7,3 +7,4 @@ The Internet is a global network of computers connected to each other which comm How does the Internet work? The Internet Explained How Does the Internet Work? +How the Internet Works in 5 Minutes