mirror of
https://github.com/Radiquum/radiquum.github.io.git
synced 2025-09-08 15:33:54 +05:00
feat: add projects previews
This commit is contained in:
parent
bd2388aaa5
commit
d8bc89e1c6
10 changed files with 146 additions and 9 deletions
|
@ -4,6 +4,7 @@ type IconWithTextProps = {
|
|||
desc: string;
|
||||
backgroundColor?: string | null;
|
||||
backgroundOpacity?: string | null;
|
||||
isGroup?: boolean;
|
||||
};
|
||||
|
||||
export const IconWithText = ({
|
||||
|
@ -12,10 +13,15 @@ export const IconWithText = ({
|
|||
desc,
|
||||
backgroundColor,
|
||||
backgroundOpacity,
|
||||
isGroup,
|
||||
}: IconWithTextProps) => {
|
||||
return (
|
||||
<div
|
||||
className={`flex items-start gap-1 border-1 px-3 py-1.5 rounded-xl border-white/5 bg-[var(--bg-color)]/[var(--bg-opacity)] transition-[scale] hover:scale-105 duration-100 ease-in-out`}
|
||||
className={`flex items-start gap-1 border-1 px-3 py-1.5 rounded-xl border-white/5 bg-[var(--bg-color)]/[var(--bg-opacity)] transition-[scale] ${
|
||||
!isGroup
|
||||
? "hover:scale-105"
|
||||
: "group-hover:scale-105"
|
||||
} duration-100 ease-in-out`}
|
||||
style={
|
||||
{
|
||||
"--bg-color": backgroundColor || "#161213",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue