mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
UI added toggle theme
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
***********************************************************************************************************************************************************************/
|
||||
import { Link } from 'react-router-dom'
|
||||
import { RegisterForm } from '../components/RegisterForm'
|
||||
import { AuthThemeToggle } from '../components/AuthThemeToggle'
|
||||
import { MetadataProvider } from '@/contexts/MetadataContext'
|
||||
|
||||
// TODO: flip to true once the hero banner asset is ready; grid auto-centers the
|
||||
@@ -31,7 +32,8 @@ export default function Register() {
|
||||
ogDescription: 'Create an account to access our online course platform.',
|
||||
}}
|
||||
>
|
||||
<div className={`grid min-h-svh ${SHOW_BANNER ? 'lg:grid-cols-2' : ''}`}>
|
||||
<div className={`relative grid min-h-svh ${SHOW_BANNER ? 'lg:grid-cols-2' : ''}`}>
|
||||
<AuthThemeToggle className="absolute top-4 right-4 z-10" />
|
||||
{/* ── Left panel ── */}
|
||||
<div className="flex flex-col gap-4 p-6 md:p-10">
|
||||
<div className="flex justify-center">
|
||||
|
||||
Reference in New Issue
Block a user