1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-03-07 07:19:06 +00:00

Mainpage: Fix "Scripts by TTeck": Typo & Mobile View (#1533)

This commit is contained in:
CanbiZ 2025-01-16 15:01:22 +01:00 committed by GitHub
parent 1f8f593116
commit b57689ec50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,6 @@ function CustomArrowRightIcon() {
export default function Page() { export default function Page() {
const { theme } = useTheme(); const { theme } = useTheme();
const [color, setColor] = useState("#000000"); const [color, setColor] = useState("#000000");
useEffect(() => { useEffect(() => {
@ -51,17 +50,17 @@ export default function Page() {
<div <div
className={cn( className={cn(
`absolute inset-0 block size-full animate-gradient bg-gradient-to-r from-[#ffaa40]/50 via-[#9c40ff]/50 to-[#ffaa40]/50 bg-[length:var(--bg-size)_100%] [border-radius:inherit] [mask:linear-gradient(#fff_0_0)_content-box,linear-gradient(#fff_0_0)]`, `absolute inset-0 block size-full animate-gradient bg-gradient-to-r from-[#ffaa40]/50 via-[#9c40ff]/50 to-[#ffaa40]/50 bg-[length:var(--bg-size)_100%] [border-radius:inherit] [mask:linear-gradient(#fff_0_0)_content-box,linear-gradient(#fff_0_0)]`,
`p-px ![mask-composite:subtract]`, `p-px ![mask-composite:subtract]`
)} )}
/> />
<Separator className="mx-2 h-4" orientation="vertical" /> <Separator className="mx-2 h-4" orientation="vertical" />
<span <span
className={cn( className={cn(
`animate-gradient bg-gradient-to-r from-[#ffaa40] via-[#9c40ff] to-[#ffaa40] bg-[length:var(--bg-size)_100%] bg-clip-text text-transparent`, `animate-gradient bg-gradient-to-r from-[#ffaa40] via-[#9c40ff] to-[#ffaa40] bg-[length:var(--bg-size)_100%] bg-clip-text text-transparent`,
`inline`, `inline`
)} )}
> >
Scripts by Tteck Scripts by tteck
</span> </span>
</AnimatedGradientText> </AnimatedGradientText>
</div> </div>
@ -70,7 +69,7 @@ export default function Page() {
<DialogHeader> <DialogHeader>
<DialogTitle>Thank You!</DialogTitle> <DialogTitle>Thank You!</DialogTitle>
<DialogDescription> <DialogDescription>
A big thank you to Tteck and the many contributors who have A big thank you to tteck and the many contributors who have
made this project possible. Your hard work is truly made this project possible. Your hard work is truly
appreciated by the entire Proxmox community! appreciated by the entire Proxmox community!
</DialogDescription> </DialogDescription>
@ -133,7 +132,6 @@ export default function Page() {
variant="expandIcon" variant="expandIcon"
Icon={CustomArrowRightIcon} Icon={CustomArrowRightIcon}
iconPlacement="right" iconPlacement="right"
className="hover:"
> >
View Scripts View Scripts
</Button> </Button>