mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
changed modal bg color added favicon to demo, fixed demo navbar bg
This commit is contained in:
parent
0c6c43cddb
commit
5a772ee6c9
BIN
apps/demo/src/app/favicon.ico
Normal file
BIN
apps/demo/src/app/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
@ -1,10 +1,15 @@
|
||||
import Link from "next/link";
|
||||
import { Metadata } from "next";
|
||||
import { StackProvider } from "stack";
|
||||
import { stackServerApp } from "src/stack";
|
||||
import Provider from "src/components/Provider";
|
||||
import ColorMode from "src/components/ColorMode";
|
||||
import './global.css';
|
||||
import Link from "next/link";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Stack Demo',
|
||||
description: 'Example of using Stack as your authentication system.',
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
@ -19,7 +24,7 @@ export default function RootLayout({
|
||||
app={stackServerApp}
|
||||
>
|
||||
<Provider>
|
||||
<div className="sticky top-0 z-50 p-4 h-12 flex justify-between items-center py-4 border-b border-base-300">
|
||||
<div className="sticky top-0 z-50 p-4 h-12 flex justify-between items-center py-4 border-b border-base-300 bg-base-100">
|
||||
<Link href="/" className="font-bold">
|
||||
Stack Demo
|
||||
</Link>
|
||||
|
||||
@ -9,7 +9,7 @@ export default function CardFrame({
|
||||
}) {
|
||||
const inner = (
|
||||
<div className="stack-scope wl_container wl_mx-auto wl_max-w-md wl_font-sans">
|
||||
<div className={`wl_py-8 wl_px-4 wl_bg-transparent wl_rounded-xl sm:wl_px-10 sm:wl_bg-base-100 sm:wl_shadow-xl`}>
|
||||
<div className={`wl_py-8 wl_px-4 wl_bg-transparent wl_rounded-xl sm:wl_px-10 sm:wl_bg-base-200 sm:wl_shadow-xl`}>
|
||||
{children}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user