fix(frontend): add privacy/terms pages and conditional analytics
This commit is contained in:
parent
1818479499
commit
dd18c526e3
3 changed files with 49 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ export default function RootLayout({
|
||||||
/>
|
/>
|
||||||
</NotificationProvider>
|
</NotificationProvider>
|
||||||
</I18nProvider>
|
</I18nProvider>
|
||||||
<Analytics />
|
{process.env.NODE_ENV === "production" && <Analytics />}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
24
frontend/src/app/privacidade/page.tsx
Normal file
24
frontend/src/app/privacidade/page.tsx
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
"use client"
|
||||||
|
|
||||||
|
import { Navbar } from "@/components/navbar"
|
||||||
|
import { Footer } from "@/components/footer"
|
||||||
|
|
||||||
|
export default function PrivacyPage() {
|
||||||
|
return (
|
||||||
|
<main className="min-h-screen flex flex-col">
|
||||||
|
<Navbar />
|
||||||
|
<div className="container mx-auto px-4 py-12 flex-1">
|
||||||
|
<h1 className="text-3xl font-bold mb-6">Política de Privacidade</h1>
|
||||||
|
<div className="prose max-w-none">
|
||||||
|
<p>
|
||||||
|
Esta Política de Privacidade descreve como coletamos, usamos e protegemos suas informações pessoais.
|
||||||
|
</p>
|
||||||
|
<p className="mt-4">
|
||||||
|
Em construção...
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<Footer />
|
||||||
|
</main>
|
||||||
|
)
|
||||||
|
}
|
||||||
24
frontend/src/app/termos/page.tsx
Normal file
24
frontend/src/app/termos/page.tsx
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
"use client"
|
||||||
|
|
||||||
|
import { Navbar } from "@/components/navbar"
|
||||||
|
import { Footer } from "@/components/footer"
|
||||||
|
|
||||||
|
export default function TermsPage() {
|
||||||
|
return (
|
||||||
|
<main className="min-h-screen flex flex-col">
|
||||||
|
<Navbar />
|
||||||
|
<div className="container mx-auto px-4 py-12 flex-1">
|
||||||
|
<h1 className="text-3xl font-bold mb-6">Termos de Uso</h1>
|
||||||
|
<div className="prose max-w-none">
|
||||||
|
<p>
|
||||||
|
Ao utilizar nosso serviço, você concorda com estes termos.
|
||||||
|
</p>
|
||||||
|
<p className="mt-4">
|
||||||
|
Em construção...
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<Footer />
|
||||||
|
</main>
|
||||||
|
)
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue