cleanup some of the html to make it less bulky
All checks were successful
Publish Docker Image / docker (push) Successful in 2m0s

This commit is contained in:
Lee 2023-07-10 04:12:09 +01:00
parent 9c5741ec96
commit d604ab441c

@ -44,9 +44,9 @@ export default function Home() {
className={`flex flex-col items-center justify-center w-screen h-screen bg-neutral-900 ${selectedTheme.textColor}`} className={`flex flex-col items-center justify-center w-screen h-screen bg-neutral-900 ${selectedTheme.textColor}`}
> >
<div <div
className={`absolute inset-0 filter ${ className={`absolute inset-0 filter w-screen h-screen ${
background.blur && "blur-sm" background.blur && "blur-sm"
} w-screen h-screen`} }`}
style={ style={
background.showBackground background.showBackground
? { ? {
@ -85,7 +85,7 @@ export default function Home() {
<div className="flex flex-col items-center"> <div className="flex flex-col items-center">
{links.map((link, index) => { {links.map((link, index) => {
const icons: any = link.icon?.split(" "); const icons: any = link.icon?.split(" ") ?? [];
return ( return (
<a <a
@ -93,19 +93,16 @@ export default function Home() {
href={link.url} href={link.url}
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
className={`flex flex-row items-center justify-center mt-4 px-4 w-60 py-2 rounded
text-white ${link.color.normal} hover:brightness-75 transition`}
> >
<div {link.icon && (
key={index} <>
className={`flex flex-row items-center justify-center mt-4 px-4 w-60 py-2 rounded text-white ${link.color.normal} hover:brightness-75 transition`} <FontAwesomeIcon icon={icons} />
> <div className="ml-2"></div>
{link.icon && ( </>
<> )}
<FontAwesomeIcon icon={icons} /> <p>{link.title}</p>
<div className="ml-2"></div>
</>
)}
<p>{link.title}</p>
</div>
</a> </a>
); );
})} })}