Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Commit

Permalink
feat: add file capacity text
Browse files Browse the repository at this point in the history
  • Loading branch information
betich committed Jul 11, 2023
1 parent 5e34667 commit f49a4ee
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 25 deletions.
48 changes: 23 additions & 25 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,37 +62,35 @@ function MetaData() {

export default function App({ Component, pageProps }: AppProps) {
return (
<AuthProvider>
<main className={`${ibmPlexSansThai.variable} font-ibm text-white`}>
<ToastProvider>
<MetaData />
<AuthProvider>
<MetaData />

<main
className={`${ibmPlexSansThai.variable} font-ibm text-white`}
>
<Navbar />
<Component {...pageProps} />
<Background />
<Footer />
</main>

<Analytics />
<Script
async
src="https://www.googletagmanager.com/gtag/js?id=G-0ZFDD1EKVW"
/>
<Script
id="google-analytics"
dangerouslySetInnerHTML={{
__html: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-0ZFDD1EKVW');
`,
}}
/>
</AuthProvider>
</ToastProvider>
</AuthProvider>

<Analytics />
<Script
async
src="https://www.googletagmanager.com/gtag/js?id=G-0ZFDD1EKVW"
/>
<Script
id="google-analytics"
dangerouslySetInnerHTML={{
__html: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-0ZFDD1EKVW');
`,
}}
/>
</main>
);
}
3 changes: 3 additions & 0 deletions src/pages/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ const Register = () => {
<span className="text-xs">แก้ไข</span>
</div>
</div>
<span className="text-center text-sm font-extralight text-purple/50">
รูปภาพจะต้องมีขนาดไม่เกิน 10MB
</span>
<input
id="image"
name="image"
Expand Down

0 comments on commit f49a4ee

Please sign in to comment.