mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 04:30:06 +00:00
fix: footer year text (#88)
* fix: footer year text * fix: oauth2 list add space * chore: auto-fix linting and formatting issues --------- Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com>
This commit is contained in:
@@ -106,15 +106,18 @@ function Login() {
|
|||||||
{t("Login")}
|
{t("Login")}
|
||||||
</Button>
|
</Button>
|
||||||
</form>
|
</form>
|
||||||
<section className="flex items-center my-3 w-full">
|
{settingData?.config?.oauth2_providers &&
|
||||||
<Separator className="flex-1" />
|
settingData?.config?.oauth2_providers.length > 0 && (
|
||||||
<div className="flex justify-center text-xs text-muted-foreground w-full max-w-[100px]">
|
<section className="flex items-center my-3 w-full">
|
||||||
OAuth2
|
<Separator className="flex-1" />
|
||||||
</div>
|
<div className="flex justify-center text-xs text-muted-foreground w-full max-w-[100px]">
|
||||||
<Separator className="flex-1" />
|
OAuth2
|
||||||
</section>
|
</div>
|
||||||
|
<Separator className="flex-1" />
|
||||||
|
</section>
|
||||||
|
)}
|
||||||
</Form>
|
</Form>
|
||||||
<div className="mt-3">
|
<div className="mt-3 flex flex-col space-y-2">
|
||||||
{settingData?.config?.oauth2_providers?.map((p: string) => (
|
{settingData?.config?.oauth2_providers?.map((p: string) => (
|
||||||
<Button
|
<Button
|
||||||
className="w-full rounded-lg shadow-[inset_0_1px_0_rgba(255,255,255,0.2)] bg-muted text-primary hover:bg-muted/80 hover:text-primary/80"
|
className="w-full rounded-lg shadow-[inset_0_1px_0_rgba(255,255,255,0.2)] bg-muted text-primary hover:bg-muted/80 hover:text-primary/80"
|
||||||
|
|||||||
@@ -43,8 +43,8 @@ export default function Root() {
|
|||||||
<Outlet />
|
<Outlet />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<footer className="mx-5 pb-5 text-foreground/50 font-light text-xs text-center">
|
<footer className="mx-5 py-5 text-foreground/50 font-light text-xs text-center">
|
||||||
© 2019-2024 {t("nezha")} {settingData?.version}
|
© 2019-{new Date().getFullYear()} {t("nezha")} {settingData?.version}
|
||||||
</footer>
|
</footer>
|
||||||
</section>
|
</section>
|
||||||
<Toaster />
|
<Toaster />
|
||||||
|
|||||||
Reference in New Issue
Block a user