* feat: setup settings page boilerplate * feat: split view into halves * feat: add preview for Customization Options section * feat: add OptionStore logic and LD icon * feat: add courseStatusChips functionality * feat: migrate experimental settings to proper settings * feat: center Preview children and add className override * feat: add GitHub stats * feat: open GitHub user profile onclick * feat: get user GitHub stats * feat: refactor into useGitHubStats hook * feat: toggle GitHub stats when the user presses the 'S' key * chore: update title * fix: remove extra file * feat: refactor and add DialogProvider * fix: import * test: this commit has issues * fix: no schedule bug * fix: longhorn developers icon not rendering in prod builds * feat(pr-review): fix UI and comment out experimental code * chore: run lint and prettier * feat: add responsive design * feat: use @octokit/rest and fix GitHub stats
38 lines
1.3 KiB
TypeScript
38 lines
1.3 KiB
TypeScript
import ExtensionRoot from '@views/components/common/ExtensionRoot/ExtensionRoot';
|
|
import Link from '@views/components/common/Link';
|
|
import React from 'react';
|
|
|
|
/**
|
|
* Renders the DevMode component.
|
|
*
|
|
* @returns The rendered DevMode component.
|
|
*/
|
|
export default function DevMode() {
|
|
return (
|
|
<ExtensionRoot>
|
|
<div className='text-base'>
|
|
<div className='font-serif'>
|
|
<i>“Real powerusers modify the sourcecode instead of using settings”</i> - doprz
|
|
</div>
|
|
<div className='font-serif'>
|
|
<i>
|
|
“become hackerman, go to{' '}
|
|
<Link
|
|
href='https://github.com/Longhorn-Developers/UT-Registration-Plus'
|
|
className='link font-serif! italic!'
|
|
>
|
|
github
|
|
</Link>{' '}
|
|
yay”
|
|
</i>{' '}
|
|
- razboy20
|
|
</div>
|
|
<p className='mt-2.5 text-sm text-ut-gray'>
|
|
{import.meta.env.VITE_PACKAGE_VERSION} - {import.meta.env.MODE}{' '}
|
|
{import.meta.env.VITE_BETA_BUILD ? 'beta' : ''}
|
|
</p>
|
|
</div>
|
|
</ExtensionRoot>
|
|
);
|
|
}
|