import React, { useEffect, useState } from 'react'; import type { ReactElement } from 'react'; import Head from 'next/head'; import Link from 'next/link'; import { useAppSelector } from '../../stores/hooks'; import LayoutGuest from '../../layouts/Guest'; import WebSiteHeader from '../../components/WebPageComponents/Header'; import WebSiteFooter from '../../components/WebPageComponents/Footer'; import { HeroDesigns, FaqDesigns, } from '../../components/WebPageComponents/designs'; import HeroSection from '../../components/WebPageComponents/HeroComponent'; import FaqSection from '../../components/WebPageComponents/FaqComponent'; export default function WebSite() { const cardsStyle = useAppSelector((state) => state.style.cardsStyle); const bgColor = useAppSelector((state) => state.style.bgLayoutColor); const projectName = 'Ellingson Mineral Company of New York, New York'; useEffect(() => { const darkElement = document.querySelector('body .dark'); if (darkElement) { darkElement.classList.remove('dark'); } }, []); const faqs = [ { question: 'What is the warranty on your telescopes?', answer: 'All our telescopes come with a one-year warranty covering manufacturing defects. If you encounter any issues, please contact our support team for assistance.', }, { question: 'How do I choose the right telescope?', answer: 'Consider your experience level and what you want to observe. Beginners might start with a refractor, while advanced users may prefer a reflector for deep-sky viewing.', }, { question: 'Can I upgrade my telescope later?', answer: 'Yes, many of our telescopes are compatible with additional lenses and accessories, allowing you to enhance your stargazing experience as you grow more experienced.', }, { question: 'Do you offer assembly instructions?', answer: 'Yes, each telescope comes with a detailed manual. Additionally, you can find video tutorials on our website to guide you through the setup process.', }, { question: 'What payment methods do you accept?', answer: 'We accept major credit cards, PayPal, and other secure payment options. You can choose your preferred method during checkout.', }, { question: 'How can I track my order?', answer: "Once your order is shipped, you will receive a tracking number via email. Use this number to monitor your shipment's progress on our website or the carrier's site.", }, ]; return (
{`Frequently Asked Questions - ${projectName}`}
); } WebSite.getLayout = function getLayout(page: ReactElement) { return {page}; };