Update
This commit is contained in:
35
resources/js/pages/FrontPages/Privacy.tsx
Normal file
35
resources/js/pages/FrontPages/Privacy.tsx
Normal file
@@ -0,0 +1,35 @@
|
||||
import React from 'react';
|
||||
import { Head } from '@inertiajs/react';
|
||||
import AuthUser from '@/modules/auth/auth-user';
|
||||
import FlashMessages from '@/modules/flash/flash-messages';
|
||||
import Footer from '@/pages/home/partials/Footer.jsx';
|
||||
|
||||
interface PrivacyProps {
|
||||
content: string;
|
||||
title: string;
|
||||
}
|
||||
|
||||
const Privacy: React.FC<PrivacyProps> = ({ content, title }) => {
|
||||
return (
|
||||
<div className="min-h-[100vh] bg-neutral-50 dark:bg-black">
|
||||
<Head title={title} />
|
||||
|
||||
<div className="container mx-auto px-4 py-8">
|
||||
<div className="max-w-4xl mx-auto">
|
||||
<div className="bg-white dark:bg-neutral-900 rounded-lg shadow-lg p-8">
|
||||
<div
|
||||
className="max-w-none"
|
||||
dangerouslySetInnerHTML={{ __html: content }}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Footer />
|
||||
<FlashMessages />
|
||||
<AuthUser />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Privacy;
|
||||
35
resources/js/pages/FrontPages/Terms.tsx
Normal file
35
resources/js/pages/FrontPages/Terms.tsx
Normal file
@@ -0,0 +1,35 @@
|
||||
import React from 'react';
|
||||
import { Head } from '@inertiajs/react';
|
||||
import AuthUser from '@/modules/auth/auth-user';
|
||||
import FlashMessages from '@/modules/flash/flash-messages';
|
||||
import Footer from '@/pages/home/partials/Footer.jsx';
|
||||
|
||||
interface TermsProps {
|
||||
content: string;
|
||||
title: string;
|
||||
}
|
||||
|
||||
const Terms: React.FC<TermsProps> = ({ content, title }) => {
|
||||
return (
|
||||
<div className="min-h-[100vh] bg-neutral-50 dark:bg-black">
|
||||
<Head title={title} />
|
||||
|
||||
<div className="container mx-auto px-4 py-8">
|
||||
<div className="max-w-4xl mx-auto">
|
||||
<div className="bg-white dark:bg-neutral-900 rounded-lg shadow-lg p-8">
|
||||
<div
|
||||
className="max-w-none"
|
||||
dangerouslySetInnerHTML={{ __html: content }}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Footer />
|
||||
<FlashMessages />
|
||||
<AuthUser />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Terms;
|
||||
@@ -3,6 +3,7 @@ import Editor from '@/modules/editor/editor.jsx';
|
||||
import FlashMessages from '@/modules/flash/flash-messages';
|
||||
import FAQ from './partials/FAQ.jsx';
|
||||
import Features from './partials/Features.jsx';
|
||||
import Footer from './partials/Footer.jsx';
|
||||
import Hero from './partials/Hero.jsx';
|
||||
import JoinDiscordGroup from './partials/JoinDiscordGroup.jsx';
|
||||
|
||||
@@ -18,6 +19,7 @@ const Home = () => {
|
||||
<FAQ />
|
||||
<JoinDiscordGroup />
|
||||
</div>
|
||||
<Footer />
|
||||
<FlashMessages />
|
||||
<AuthUser />
|
||||
</div>
|
||||
|
||||
47
resources/js/pages/home/partials/Footer.jsx
Normal file
47
resources/js/pages/home/partials/Footer.jsx
Normal file
@@ -0,0 +1,47 @@
|
||||
const Footer = () => {
|
||||
const currentYear = new Date().getFullYear();
|
||||
|
||||
return (
|
||||
<section className="">
|
||||
<div className="mx-auto max-w-6xl px-4 sm:px-6 lg:px-8">
|
||||
<div className="border-t pt-8">
|
||||
<div className="flex flex-col items-center justify-between space-y-4 sm:flex-row sm:space-y-0">
|
||||
<div className="text-sm text-muted-foreground">
|
||||
© {currentYear} MEMEAIGEN. All rights reserved.
|
||||
</div>
|
||||
<div className="flex space-x-6">
|
||||
<a
|
||||
href="/"
|
||||
className="text-sm text-muted-foreground hover:text-foreground transition-colors"
|
||||
>
|
||||
Home
|
||||
</a>
|
||||
<a
|
||||
href="/terms"
|
||||
className="text-sm text-muted-foreground hover:text-foreground transition-colors"
|
||||
>
|
||||
Terms
|
||||
</a>
|
||||
<a
|
||||
href="/privacy"
|
||||
className="text-sm text-muted-foreground hover:text-foreground transition-colors"
|
||||
>
|
||||
Privacy
|
||||
</a>
|
||||
<a
|
||||
href="https://discord.gg/memeaigen"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-sm text-muted-foreground hover:text-foreground transition-colors"
|
||||
>
|
||||
Discord
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default Footer;
|
||||
Reference in New Issue
Block a user