Skip to content

Commit 89784b4

Browse files
committed
Merge branch 'develop'
2 parents 8d11075 + 11aca56 commit 89784b4

File tree

8 files changed

+30
-23
lines changed

8 files changed

+30
-23
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.env.local
2-
postgresql.sql
2+
postgresql.sql
3+
aods_dev_v2.sql
-119 KB
Loading
4.19 KB
Binary file not shown.

client/my-app/src/app/(plain)/login/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ export default function LoginPage() {
176176
</Button>
177177

178178
{/* credit */}
179-
<p className="mt-3 w-full text-center text-[11px] sm:text-xs text-slate-500/80 dark:text-slate-400/80">
179+
{/* <p className="mt-3 w-full text-center text-[11px] sm:text-xs text-slate-500/80 dark:text-slate-400/80">
180180
SynTech-T5 x TTT Brother
181-
</p>
181+
</p> */}
182182
</div>
183183
</CardFooter>
184184
</form>

client/my-app/src/app/components/Layouts/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default function Header({ userName = "Admin" }: { userName?: string }) {
5959
{/* โลโก้/ชื่อระบบ */}
6060
<div className="flex items-center gap-2 min-w-0">
6161
{/* ไอคอน (ตัวอย่าง) */}
62-
<div className="flex h-9 w-9 items-center justify-center rounded-xl bg-[color:var(--color-primary-bg)]">
62+
<div className="flex h-9 w-9 items-center justify-center">
6363
{/* ถ้ามีโลโก้จริงใช้ <Image src="/logo.svg" .../> */}
6464
<Image
6565
src="/automate-object-detection-system-icon.png"

client/my-app/src/app/layout.tsx

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,27 @@
11
import type { Metadata } from "next";
2-
import { Geist, Geist_Mono } from "next/font/google";
2+
import { Poppins } from "next/font/google";
33
import "../styles/globals.css";
4-
import Sidebar from "./components/Layouts/SideBar";
5-
import Header from "./components/Layouts/Header";
6-
import { UIProvider } from "./components/Layouts/UI-Provider";
7-
import UserGreeting from "./components/Utilities/UserGreeting";
84

9-
const geistSans = Geist({
10-
variable: "--font-geist-sans",
11-
subsets: ["latin"],
12-
});
13-
14-
const geistMono = Geist_Mono({
15-
variable: "--font-geist-mono",
5+
const poppins = Poppins({
166
subsets: ["latin"],
7+
weight: ["100","200","300","400","500","600","700","800","900"],
8+
variable: "--font-poppins",
179
});
1810

1911
export const metadata: Metadata = {
20-
title: "Create Next App",
21-
description: "Generated by create next app",
12+
title: "Automate Object Detection System",
13+
description: "AI Camera Monitoring Platform",
14+
icons: {
15+
icon: "/automate-object-detection-system.ico",
16+
},
2217
};
23-
2418
export default function RootLayout({ children }: { children: React.ReactNode }) {
2519
return (
20+
// <html lang="th" className={`${poppins.variable}`}>
21+
// <body className="bg-[color:var(--color-bg,#ECF8FF)] font-sans">
22+
// <main>{children}</main>
23+
// </body>
24+
// </html>
2625
<html lang="th">
2726
<body className="bg-[color:var(--color-bg,#ECF8FF)]">
2827
<main>{children}</main>

client/my-app/src/app/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ export default function Home() {
2525
alt="App logo"
2626
width={28}
2727
height={28}
28-
className="rounded object-contain mix-blend-multiply dark:mix-blend-darken"
28+
className="rounded"
2929
priority
3030
/>
31-
<span className="text-sm font-semibold tracking-tight text-slate-900 dark:text-slate-100">
32-
Automate <span className="text-[var(--color-primary,_#0B63FF)]">ODS</span>
31+
<span className="text-sm font-semibold tracking-tight text-[var(--color-secondary)]">
32+
Automate <span className="text-[var(--color-primary,_#0B63FF)]">Object Detection System</span>
3333
</span>
3434
</div>
3535

@@ -104,7 +104,7 @@ export default function Home() {
104104
<footer className="mx-auto w-full max-w-6xl px-6 pb-10">
105105
<div className="flex flex-col items-center justify-between gap-2 sm:flex-row">
106106
<p className="text-xs text-slate-500/80 dark:text-slate-400/80">
107-
© {new Date().getFullYear()} Automate ODS
107+
© {new Date().getFullYear()} Automate Object Detection System
108108
</p>
109109
<p className="text-[11px] sm:text-xs text-slate-500/80 dark:text-slate-400/80">
110110
SynTech-T5 x TTT Brother

client/my-app/src/styles/globals.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
@custom-variant dark (&:is(.dark *));
55

66
:root {
7+
--font-sans: var(--font-poppins);
8+
79
--color-bg: #ECF8FF;
810
--color-white: #ffffff;
911
--color-black: #000000;
@@ -97,6 +99,11 @@
9799
--color-sidebar-ring: var(--sidebar-ring);
98100
}
99101

102+
body {
103+
font-family: var(--font-poppins), sans-serif;
104+
}
105+
106+
100107
.dark {
101108
--background: oklch(0.145 0 0);
102109
--foreground: oklch(0.985 0 0);

0 commit comments

Comments
 (0)