feat: listed versioning for beta builds (#192)

This commit is contained in:
Razboy20
2024-03-22 12:15:44 -05:00
committed by GitHub
parent 36ac8607a9
commit 0c42979423
13 changed files with 65 additions and 55 deletions

View File

@@ -17,10 +17,10 @@ export default function CalendarFooter(): JSX.Element {
<Link className='linkanimate' href='#'>
<InstagramIcon className='h-6 w-6' />
</Link>
<Link className='linkanimate' href='#'>
<Link className='linkanimate' href='https://discord.gg/bVh9g6VFwB'>
<DiscordIcon className='h-6 w-6' />
</Link>
<Link className='linkanimate' href='#'>
<Link className='linkanimate' href='https://github.com/Longhorn-Developers/UT-Registration-Plus'>
<GithubIcon className='h-6 w-6' />
</Link>
</div>

View File

@@ -24,7 +24,7 @@ const links: LinkItem[] = [
},
{
text: 'Become a Beta Tester',
url: '#',
url: 'https://discord.gg/bVh9g6VFwB',
},
];

View File

@@ -30,7 +30,12 @@ export function SmallLogo({ className }: { className?: string }): JSX.Element {
<LogoIcon />
<div className='flex flex-col text-lg font-medium leading-[1em]'>
<p className='text-nowrap text-ut-burntorange'>UT Registration</p>
<p className='text-ut-orange'>Plus</p>
<p className='text-ut-orange'>
Plus{' '}
<span className='text-xs'>
{import.meta.env.VITE_BETA_BUILD ? `(${import.meta.env.VITE_PACKAGE_VERSION})` : ''}
</span>
</p>
</div>
</div>
);
@@ -48,7 +53,12 @@ export function LargeLogo({ className }: { className?: string }): JSX.Element {
<LogoIcon className='h-12 w-12' />
<div className='hidden flex-col text-[1.35rem] font-medium leading-[1em] md:flex screenshot:flex'>
<p className='text-nowrap text-ut-burntorange'>UT Registration</p>
<p className='text-ut-orange'>Plus</p>
<p className='text-ut-orange'>
Plus{' '}
<span className='text-sm'>
{import.meta.env.VITE_BETA_BUILD ? `(${import.meta.env.VITE_PACKAGE_VERSION})` : ''}
</span>
</p>
</div>
</div>
);