Petit changement cosmétique
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
/* App.css ou index.css */
|
/* App.css ou index.css */
|
||||||
@import "tailwindcss";
|
@import "tailwindcss";
|
||||||
|
|
||||||
@tailwind base;
|
/* @tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities; */
|
||||||
|
|
||||||
/* Styles custom */
|
/* Styles custom */
|
||||||
.log-container {
|
.log-container {
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ export default function App() {
|
|||||||
return (
|
return (
|
||||||
<div className={theme}>
|
<div className={theme}>
|
||||||
<header className="flex items-center justify-between p-4 bg-neutral-800">
|
<header className="flex items-center justify-between p-4 bg-neutral-800">
|
||||||
<h1 className="text-xl font-bold">Mon Logger</h1>
|
<h1 className="text-xl font-bold">PMO-Music logs</h1>
|
||||||
<button
|
<button
|
||||||
className="px-4 py-2 bg-blue-600 rounded hover:bg-blue-500"
|
className="px-4 py-2 bg-blue-600 rounded hover:bg-blue-500"
|
||||||
onClick={toggleTheme}
|
onClick={toggleTheme}
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ type LogsProps = {
|
|||||||
theme: "light" | "dark";
|
theme: "light" | "dark";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export function Logs({ logs, theme }: LogsProps) {
|
export function Logs({ logs, theme }: LogsProps) {
|
||||||
const levelClass = (level: LogEntry["level"]) => {
|
const levelClass = (level: LogEntry["level"]) => {
|
||||||
switch (level) {
|
switch (level) {
|
||||||
|
|||||||
Reference in New Issue
Block a user