Files
developer-roadmap/src/components/RoadmapHint.astro
T
Kamran Ahmed 1087e1a935 feat: redesign roadmap page header and add upcoming projects functionality (#6347)
* Redesign the header

* Responsiveness of the roadmap header

* Fix spacing

* Redesign roadmap header

* Add projects badge

* Update badge

* Add screen for projects

* UI flicker fix

* Add question for system design

* Code formatting
2024-08-03 01:34:59 +01:00

23 lines
522 B
Plaintext

---
import AstroIcon from './AstroIcon.astro';
import Icon from './AstroIcon.astro';
import ResourceProgressStats from './ResourceProgressStats.astro';
export interface Props {
roadmapId: string;
tnsBannerLink?: string;
titleQuestion?: string;
titleAnswer?: string;
}
const { roadmapId, tnsBannerLink } = Astro.props;
const hasTnsBanner = !!tnsBannerLink;
---
<div class:list={['mb-0 rounded-md border mt-2 bg-white']}>
<ResourceProgressStats
resourceId={roadmapId}
resourceType='roadmap'
/>
</div>