changed modal bg color added favicon to demo, fixed demo navbar bg

This commit is contained in:
Zai Shi 2024-02-29 10:40:47 +01:00
parent 0c6c43cddb
commit 5a772ee6c9
3 changed files with 8 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -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>

View File

@ -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>