-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into docs-updates
- Loading branch information
Showing
4 changed files
with
19 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
import { FileTextIcon } from "lucide-react" | ||
import { FileTextIcon } from "lucide-react"; | ||
|
||
export const CardComponent = ({ title, description, url }) => { | ||
return ( | ||
<a href={url} style={{ textDecoration: 'none' }}> | ||
<a href={url} style={{ textDecoration: "none" }}> | ||
<div className="bg-gray-100/50 dark:bg-slate-900 p-6 rounded-lg group hover:bg-indigo-500 dark:hover:bg-indigo-600 hover:cursor-pointer transition-all duration-300"> | ||
<div className="flex justify-start items-center gap-2 mb-2"> | ||
<FileTextIcon className="size-5 group-hover:text-white transition-all duration-300"/> | ||
<div className="text-xl font-semibold group-hover:text-white transition-all duration-300">{title}</div> | ||
<FileTextIcon className="size-5 group-hover:text-white transition-all duration-300" /> | ||
<div className="text-xl font-semibold group-hover:text-white transition-all duration-300"> | ||
{title} | ||
</div> | ||
</div> | ||
<div className="text-muted-foreground text-sm group-hover:text-white transition-all duration-300"> | ||
{description} | ||
</div> | ||
<div className="text-muted-foreground text-sm group-hover:text-white transition-all duration-300">{description}</div> | ||
</div> | ||
</a> | ||
) | ||
} | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
|
||
export const CardList = ({ children }) => { | ||
return ( | ||
<div className="grid grid-cols-2 gap-6"> | ||
{children} | ||
</div> | ||
) | ||
} | ||
return <div className="grid grid-cols-2 gap-6">{children}</div>; | ||
}; |