← All changes
|
backend/views/components/Docs/components/resources/ResourceCard.jsx
+10
-10
1.4.4
→
1.4.20
View file →
| @@ -10,35 +10,35 @@ | ||
| 10 | 10 | <a |
| 11 | 11 | href={link} |
| 12 | 12 | target="_blank" |
| 13 | 13 | rel="noopener noreferrer" |
| 14 | - className="disco-bg-white disco-rounded-2xl disco-overflow-hidden disco-shadow-sm disco-border-2 disco-border-gray-100 hover:disco-shadow-md disco-cursor-pointer disco-flex disco-flex-col disco-no-underline hover:disco-border-primary hover:-disco-translate-y-1 disco-transition-all focus:disco-shadow-none" | |
| 14 | + className="disco:bg-white disco:rounded-2xl disco:overflow-hidden disco:shadow-sm disco:border-2 disco:border-gray-100 disco:hover:shadow-md disco:cursor-pointer disco:flex disco:flex-col disco:no-underline disco:hover:border-primary disco:hover:-translate-y-1 disco:transition-all! disco:focus:shadow-none" | |
| 15 | 15 | > |
| 16 | - <div className="disco-relative disco-h-44 disco-overflow-hidden"> | |
| 16 | + <div className="disco:relative disco:h-44 disco:overflow-hidden"> | |
| 17 | 17 | {imageUrl ? ( |
| 18 | 18 | <img |
| 19 | 19 | src={imageUrl} |
| 20 | 20 | alt="" |
| 21 | - className="disco-w-full disco-h-full" | |
| 21 | + className="disco:w-full disco:h-full" | |
| 22 | 22 | /> |
| 23 | 23 | ) : ( |
| 24 | - <div className="disco-w-full disco-h-full disco-bg-gray-100 disco-flex disco-items-center disco-justify-center disco-text-gray-300 disco-text-4xl"> | |
| 24 | + <div className="disco:w-full disco:h-full disco:bg-gray-100 disco:flex disco:items-center disco:justify-center disco:text-gray-300 disco:text-4xl"> | |
| 25 | 25 | 📄 |
| 26 | 26 | </div> |
| 27 | 27 | )} |
| 28 | 28 | </div> |
| 29 | - <div className="disco-p-5 disco-flex disco-flex-col disco-flex-1"> | |
| 30 | - <span className="disco-text-xs disco-font-semibold disco-text-gray-400 disco-uppercase disco-tracking-wide disco-mb-2"> | |
| 29 | + <div className="disco:p-5 disco:flex disco:flex-col disco:flex-1"> | |
| 30 | + <span className="disco:text-xs disco:font-semibold disco:text-gray-400 disco:uppercase disco:tracking-wide disco:mb-2"> | |
| 31 | 31 | {tag} |
| 32 | 32 | </span> |
| 33 | - <h3 className="disco-text-base disco-font-bold disco-text-gray-800 disco-m-0 disco-mb-auto disco-leading-snug"> | |
| 33 | + <h3 className="disco:text-base disco:font-bold disco:text-gray-800 disco:m-0 disco:mb-auto disco:leading-snug"> | |
| 34 | 34 | {title} |
| 35 | 35 | </h3> |
| 36 | - <div className="disco-flex disco-items-center disco-justify-between disco-mt-4 disco-pt-3 disco-border-t disco-border-gray-100"> | |
| 37 | - <span className="disco-text-xs disco-text-gray-400"> | |
| 36 | + <div className="disco:flex disco:items-center disco:justify-between disco:mt-4 disco:pt-3 disco:border-t disco:border-gray-100"> | |
| 37 | + <span className="disco:text-xs disco:text-gray-400"> | |
| 38 | 38 | {date} |
| 39 | 39 | </span> |
| 40 | - <span className="disco-text-xs disco-text-gray-400"> | |
| 40 | + <span className="disco:text-xs disco:text-gray-400"> | |
| 41 | 41 | {read} |
| 42 | 42 | </span> |
| 43 | 43 | </div> |
| 44 | 44 | </div> |