mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-06 01:02:04 +00:00
Tags on thumbnails smaller
This commit is contained in:
parent
22e08ec5fd
commit
f60fa03d4a
@ -81,7 +81,7 @@ export function CourseTemplate({ course }) {
|
|||||||
<CardContent className={`${isMobile ? "px-3" : ""} pt-6 pb-2 w-full flex flex-row justify-between items-center`}>
|
<CardContent className={`${isMobile ? "px-3" : ""} pt-6 pb-2 w-full flex flex-row justify-between items-center`}>
|
||||||
<div className="flex flex-wrap gap-2 max-w-[50%]">
|
<div className="flex flex-wrap gap-2 max-w-[50%]">
|
||||||
{course && course.topics && course.topics.map((topic, index) => (
|
{course && course.topics && course.topics.map((topic, index) => (
|
||||||
<Tag key={index} className="px-3 py-1 text-sm text-[#f8f8ff]">
|
<Tag size="small" key={index} className="px-3 py-1 text-sm text-[#f8f8ff]">
|
||||||
{topic}
|
{topic}
|
||||||
</Tag>
|
</Tag>
|
||||||
))}
|
))}
|
||||||
|
@ -70,7 +70,7 @@ export function DocumentTemplate({ document }) {
|
|||||||
<CardContent className={`${isMobile ? "px-3" : ""} pt-6 pb-2 w-full flex flex-row justify-between items-center`}>
|
<CardContent className={`${isMobile ? "px-3" : ""} pt-6 pb-2 w-full flex flex-row justify-between items-center`}>
|
||||||
<div className="flex flex-wrap gap-2 max-w-[50%]">
|
<div className="flex flex-wrap gap-2 max-w-[50%]">
|
||||||
{document?.topics?.map((topic, index) => (
|
{document?.topics?.map((topic, index) => (
|
||||||
<Tag key={index} className="px-3 py-1 text-sm text-[#f8f8ff]">
|
<Tag size="small" key={index} className="px-3 py-1 text-sm text-[#f8f8ff]">
|
||||||
{topic}
|
{topic}
|
||||||
</Tag>
|
</Tag>
|
||||||
))}
|
))}
|
||||||
|
@ -72,7 +72,7 @@ export function VideoTemplate({ video }) {
|
|||||||
<CardContent className={`${isMobile ? "px-3" : ""} pt-6 pb-2 w-full flex flex-row justify-between items-center`}>
|
<CardContent className={`${isMobile ? "px-3" : ""} pt-6 pb-2 w-full flex flex-row justify-between items-center`}>
|
||||||
<div className="flex flex-wrap gap-2 max-w-[50%]">
|
<div className="flex flex-wrap gap-2 max-w-[50%]">
|
||||||
{video?.topics?.map((topic, index) => (
|
{video?.topics?.map((topic, index) => (
|
||||||
<Tag key={index} className="px-3 py-1 text-sm text-[#f8f8ff]">
|
<Tag size="small" key={index} className="px-3 py-1 text-sm text-[#f8f8ff]">
|
||||||
{topic}
|
{topic}
|
||||||
</Tag>
|
</Tag>
|
||||||
))}
|
))}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user