mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-10 11:14:09 +02:00
Refactor sharer icons
This commit is contained in:
@@ -3,7 +3,7 @@ jsonUrl: "/jsons/best-practices/frontend-performance.json"
|
|||||||
pdfUrl: "/pdfs/best-practices/frontend-performance.pdf"
|
pdfUrl: "/pdfs/best-practices/frontend-performance.pdf"
|
||||||
order: 1
|
order: 1
|
||||||
featuredTitle: "Frontend Performance"
|
featuredTitle: "Frontend Performance"
|
||||||
featuredDescription: "Detailed list of best practices to improve your frontend performance"
|
featuredDescription: "Frontend Performance Best Practices"
|
||||||
isNew: true
|
isNew: true
|
||||||
isUpcoming: false
|
isUpcoming: false
|
||||||
title: "Frontend Performance"
|
title: "Frontend Performance"
|
||||||
|
@@ -70,7 +70,7 @@ if (roadmapFAQs.length) {
|
|||||||
{
|
{
|
||||||
!roadmapData.isUpcoming && roadmapData.jsonUrl && (
|
!roadmapData.isUpcoming && roadmapData.jsonUrl && (
|
||||||
<div class='max-w-[1000px] container relative'>
|
<div class='max-w-[1000px] container relative'>
|
||||||
<ShareIcons description={roadmapData.description} pageUrl={`https://roadmap.sh/${roadmapId}`} />
|
<ShareIcons description={roadmapData.featuredDescription} pageUrl={`https://roadmap.sh/${roadmapId}`} />
|
||||||
|
|
||||||
<FrameRenderer
|
<FrameRenderer
|
||||||
roadmapId={roadmapId}
|
roadmapId={roadmapId}
|
||||||
|
@@ -63,7 +63,7 @@ if (bestPracticeData.schema) {
|
|||||||
!bestPracticeData.isUpcoming && bestPracticeData.jsonUrl && (
|
!bestPracticeData.isUpcoming && bestPracticeData.jsonUrl && (
|
||||||
<div class='max-w-[1000px] container relative'>
|
<div class='max-w-[1000px] container relative'>
|
||||||
<ShareIcons
|
<ShareIcons
|
||||||
description={bestPracticeData.description}
|
description={bestPracticeData.featuredDescription}
|
||||||
pageUrl={`https://roadmap.sh/best-practices/${bestPracticeId}`}
|
pageUrl={`https://roadmap.sh/best-practices/${bestPracticeId}`}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user