generated from Fascinated/nextjs-13-template-with-tailwindcss
add slight transparency to buttons when no info background is visible
All checks were successful
Publish Docker Image / docker (push) Successful in 41s
All checks were successful
Publish Docker Image / docker (push) Successful in 41s
This commit is contained in:
parent
ec3ecd8c84
commit
9e9a4885dc
@ -113,6 +113,12 @@ export default function Home() {
|
|||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className={`flex flex-row items-center justify-center mt-4 px-4 w-60 py-2 rounded
|
className={`flex flex-row items-center justify-center mt-4 px-4 w-60 py-2 rounded
|
||||||
${selectedTheme.buttonTextColor} ${color} hover:brightness-75 transition gap-2`}
|
${selectedTheme.buttonTextColor} ${color} hover:brightness-75 transition gap-2`}
|
||||||
|
style={{
|
||||||
|
opacity:
|
||||||
|
infoCard.transparency != 0
|
||||||
|
? infoCard.transparency
|
||||||
|
: 0.8,
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{link.icon && <FontAwesomeIcon icon={icons} />}
|
{link.icon && <FontAwesomeIcon icon={icons} />}
|
||||||
<p>{link.title}</p>
|
<p>{link.title}</p>
|
||||||
@ -134,6 +140,12 @@ export default function Home() {
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="hover:brightness-75 transition"
|
className="hover:brightness-75 transition"
|
||||||
|
style={{
|
||||||
|
opacity:
|
||||||
|
infoCard.transparency != 0
|
||||||
|
? infoCard.transparency
|
||||||
|
: 0.8,
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{link.icon && (
|
{link.icon && (
|
||||||
<FontAwesomeIcon
|
<FontAwesomeIcon
|
||||||
|
Loading…
Reference in New Issue
Block a user