Add "new" to new roadmaps on homepage

pull/5388/head
Kamran Ahmed 8 months ago
parent 77d67e29eb
commit 0d43103323
  1. 3
      src/components/FeaturedItems/FeaturedItem.astro
  2. 2
      src/data/roadmaps/datastructures-and-algorithms/datastructures-and-algorithms.md

@ -48,10 +48,11 @@ const {
{
isNew && (
<span class='absolute bottom-1.5 right-2 flex items-center rounded-br rounded-tl text-xs font-medium text-purple-300'>
<span class='flex h-2 w-2'>
<span class='mr-1.5 flex h-2 w-2'>
<span class='absolute inline-flex h-2 w-2 animate-ping rounded-full bg-purple-400 opacity-75' />
<span class='relative inline-flex h-2 w-2 rounded-full bg-purple-500' />
</span>
New
</span>
)
}

@ -7,7 +7,7 @@ briefDescription: 'Step by step guide to learn Data Structures and Algorithms in
title: 'Data Structures & Algorithms Roadmap'
description: 'Step by step guide to learn Data Structures and Algorithms in 2024'
hasTopics: true
isNew: true
isNew: false
dimensions:
width: 968
height: 1814.72

Loading…
Cancel
Save