From fb708a36d9293060fd88d11e5314486379c1fcb5 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sun, 28 Sep 2025 14:42:49 +0000 Subject: [PATCH] Add footer with links --- src/App.tsx | 38 ++++--- src/components/layout/Footer.tsx | 35 +++++++ src/pages/Privacy.tsx | 86 +++++++++++++++ src/pages/SubmissionGuidelines.tsx | 161 +++++++++++++++++++++++++++++ src/pages/Terms.tsx | 68 ++++++++++++ 5 files changed, 375 insertions(+), 13 deletions(-) create mode 100644 src/components/layout/Footer.tsx create mode 100644 src/pages/Privacy.tsx create mode 100644 src/pages/SubmissionGuidelines.tsx create mode 100644 src/pages/Terms.tsx diff --git a/src/App.tsx b/src/App.tsx index 41bf44be..f1f9fab8 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -4,6 +4,7 @@ import { TooltipProvider } from "@/components/ui/tooltip"; import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import { BrowserRouter, Routes, Route } from "react-router-dom"; import { AuthProvider } from "@/hooks/useAuth"; +import { Footer } from "@/components/layout/Footer"; import Index from "./pages/Index"; import Parks from "./pages/Parks"; import ParkDetail from "./pages/ParkDetail"; @@ -13,6 +14,9 @@ import Manufacturers from "./pages/Manufacturers"; import Auth from "./pages/Auth"; import Profile from "./pages/Profile"; import NotFound from "./pages/NotFound"; +import Terms from "./pages/Terms"; +import Privacy from "./pages/Privacy"; +import SubmissionGuidelines from "./pages/SubmissionGuidelines"; const queryClient = new QueryClient(); @@ -23,19 +27,27 @@ const App = () => ( - - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - {/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */} - } /> - +
+
+ + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + {/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */} + } /> + +
+
+
diff --git a/src/components/layout/Footer.tsx b/src/components/layout/Footer.tsx new file mode 100644 index 00000000..d2ed83ea --- /dev/null +++ b/src/components/layout/Footer.tsx @@ -0,0 +1,35 @@ +import { Link } from 'react-router-dom'; + +export function Footer() { + return ( +
+
+
+
+ © 2024 ThrillWiki. All rights reserved. +
+
+ + Terms of Service + + + Privacy Policy + + + Submission Guidelines + +
+
+
+
+ ); +} \ No newline at end of file diff --git a/src/pages/Privacy.tsx b/src/pages/Privacy.tsx new file mode 100644 index 00000000..a5da07ec --- /dev/null +++ b/src/pages/Privacy.tsx @@ -0,0 +1,86 @@ +import { Header } from '@/components/layout/Header'; + +export default function Privacy() { + return ( +
+
+
+
+

Privacy Policy

+ +
+

Information We Collect

+

+ We collect information you provide directly to us, such as when you create an account, submit reviews, or contact us. +

+
    +
  • Account information (email, username, display name)
  • +
  • Profile information and photos
  • +
  • Reviews, ratings, and comments
  • +
  • Photos and media uploads
  • +
+
+ +
+

How We Use Your Information

+

+ We use the information we collect to: +

+
    +
  • Provide and maintain ThrillWiki services
  • +
  • Process and display your reviews and content
  • +
  • Communicate with you about your account
  • +
  • Improve our services and user experience
  • +
  • Prevent fraud and maintain security
  • +
+
+ +
+

Information Sharing

+

+ We do not sell, trade, or share your personal information with third parties except as described in this policy: +

+
    +
  • Public content (reviews, ratings) is visible to all users
  • +
  • We may share information if required by law
  • +
  • We may share aggregated, non-personal data for research
  • +
+
+ +
+

Data Security

+

+ We implement appropriate security measures to protect your personal information against unauthorized access, alteration, disclosure, or destruction. +

+
+ +
+

Your Rights

+

+ You have the right to: +

+
    +
  • Access and update your account information
  • +
  • Delete your account and associated data
  • +
  • Export your data
  • +
  • Opt out of communications
  • +
+
+ +
+

Cookies and Analytics

+

+ We use cookies and similar technologies to improve your experience and analyze usage patterns. You can control cookie settings in your browser. +

+
+ +
+

+ Last updated: January 2024 +

+
+
+
+
+ ); +} \ No newline at end of file diff --git a/src/pages/SubmissionGuidelines.tsx b/src/pages/SubmissionGuidelines.tsx new file mode 100644 index 00000000..96516c82 --- /dev/null +++ b/src/pages/SubmissionGuidelines.tsx @@ -0,0 +1,161 @@ +import { Header } from '@/components/layout/Header'; +import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'; +import { Badge } from '@/components/ui/badge'; +import { CheckCircle, AlertTriangle, Camera, Star } from 'lucide-react'; + +export default function SubmissionGuidelines() { + return ( +
+
+
+
+

Submission Guidelines

+

+ Help us maintain the quality and accuracy of ThrillWiki by following these guidelines when contributing content. +

+
+ +
+ + + + + Writing Quality Reviews + + + Great reviews help other enthusiasts make informed decisions + + + +
+ +
+

Be Specific and Detailed

+

+ Describe the ride experience, intensity, theming, and what makes it unique +

+
+
+
+ +
+

Consider Different Perspectives

+

+ Think about families, thrill seekers, and first-time visitors +

+
+
+
+ +
+

Include Practical Information

+

+ Mention wait times, best times to visit, height requirements, etc. +

+
+
+
+
+ + + + + + Photo Submission Guidelines + + + High-quality photos enhance the ThrillWiki experience + + + +
+

Photo Requirements

+
    +
  • • High resolution and good lighting
  • +
  • • Clear subject focus (rides, parks, attractions)
  • +
  • • No watermarks or heavy editing
  • +
  • • Must be your original photos or properly licensed
  • +
+
+
+ Landscape preferred + Max 10MB per image + JPG/PNG formats +
+
+
+ + + + + + Content Standards + + + What to avoid when contributing to ThrillWiki + + + +
+
+

Not Allowed

+
    +
  • • Offensive or inappropriate content
  • +
  • • False or misleading information
  • +
  • • Spam or promotional content
  • +
  • • Copyrighted material without permission
  • +
  • • Personal attacks or harassment
  • +
+
+
+

Encouraged

+
    +
  • • Honest, balanced reviews
  • +
  • • Constructive feedback
  • +
  • • Helpful tips and insights
  • +
  • • Accurate park information
  • +
  • • Respectful community interaction
  • +
+
+
+
+
+ + + + Moderation Process + + How we maintain content quality on ThrillWiki + + + +

+ All submissions are reviewed by our community moderation team. Content that doesn't meet our guidelines may be: +

+
+
+
Pending Review
+
Awaiting approval
+
+
+
Approved
+
Published to site
+
+
+
Rejected
+
Needs revision
+
+
+
+
+ +
+

+ Questions about these guidelines? Contact our moderation team for clarification. +

+
+
+
+
+ ); +} \ No newline at end of file diff --git a/src/pages/Terms.tsx b/src/pages/Terms.tsx new file mode 100644 index 00000000..dbdd902e --- /dev/null +++ b/src/pages/Terms.tsx @@ -0,0 +1,68 @@ +import { Header } from '@/components/layout/Header'; + +export default function Terms() { + return ( +
+
+
+
+

Terms of Service

+ +
+

1. Acceptance of Terms

+

+ By accessing and using ThrillWiki, you accept and agree to be bound by the terms and provision of this agreement. +

+
+ +
+

2. User Content

+

+ Users are responsible for all content they submit, including reviews, photos, and park information. Content must be accurate, respectful, and relevant to theme parks and rides. +

+
    +
  • No false or misleading information
  • +
  • No offensive, harmful, or inappropriate content
  • +
  • No spam or promotional content
  • +
  • Respect intellectual property rights
  • +
+
+ +
+

3. Community Guidelines

+

+ ThrillWiki is a community-driven platform. We expect all users to contribute positively and help maintain the quality of information. +

+
+ +
+

4. Moderation

+

+ We reserve the right to moderate, edit, or remove any content that violates these terms or our community guidelines. +

+
+ +
+

5. Account Termination

+

+ We may suspend or terminate accounts that repeatedly violate these terms or engage in harmful behavior. +

+
+ +
+

6. Changes to Terms

+

+ We may update these terms from time to time. Continued use of ThrillWiki constitutes acceptance of any changes. +

+
+ +
+

+ Last updated: January 2024 +

+
+
+
+
+ ); +} \ No newline at end of file