This commit is contained in:
Cooper 2024-07-13 11:50:35 +00:00
parent 1a4369dfd8
commit 27ccd7d846
2 changed files with 44 additions and 8 deletions

View file

@ -68,15 +68,33 @@ export default function DiscordRedirect() {
textAlign: 'center', textAlign: 'center',
}} }}
> >
<h1 style={{ fontSize: '1.65em', color: '#A6A4AE', display: 'flex', flexDirection: 'column', alignItems: 'center' }}> <h1
style={{
fontSize: '1.65em',
color: '#A6A4AE',
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
}}
>
Redirecting you to our Discord in: Redirecting you to our Discord in:
{countdown <= 0 ? ( {countdown <= 0 ? (
<div style={{ display: 'flex', flexDirection: 'column', alignItems: 'center' }}> <div
style={{
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
}}
>
<a <a
href={redirectUrl} href={redirectUrl}
style={{ color: '#8C899A', fontSize: '0.62em' }} style={{ color: '#8C899A', fontSize: '0.62em' }}
onMouseEnter={(e) => (e.currentTarget.style.textDecoration = 'underline')} onMouseEnter={(e) =>
onMouseLeave={(e) => (e.currentTarget.style.textDecoration = 'none')} (e.currentTarget.style.textDecoration = 'underline')
}
onMouseLeave={(e) =>
(e.currentTarget.style.textDecoration = 'none')
}
> >
*Click here if you are not redirected *Click here if you are not redirected
</a> </a>

View file

@ -68,15 +68,33 @@ export default function WeblateRedirect() {
textAlign: 'center', textAlign: 'center',
}} }}
> >
<h1 style={{ fontSize: '1.65em', color: '#A6A4AE', display: 'flex', flexDirection: 'column', alignItems: 'center' }}> <h1
style={{
fontSize: '1.65em',
color: '#A6A4AE',
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
}}
>
Redirecting you to our Weblate in: Redirecting you to our Weblate in:
{countdown <= 0 ? ( {countdown <= 0 ? (
<div style={{ display: 'flex', flexDirection: 'column', alignItems: 'center' }}> <div
style={{
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
}}
>
<a <a
href={redirectUrl} href={redirectUrl}
style={{ color: '#8C899A', fontSize: '0.62em' }} style={{ color: '#8C899A', fontSize: '0.62em' }}
onMouseEnter={(e) => (e.currentTarget.style.textDecoration = 'underline')} onMouseEnter={(e) =>
onMouseLeave={(e) => (e.currentTarget.style.textDecoration = 'none')} (e.currentTarget.style.textDecoration = 'underline')
}
onMouseLeave={(e) =>
(e.currentTarget.style.textDecoration = 'none')
}
> >
*Click here if you are not redirected *Click here if you are not redirected
</a> </a>