Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 70291673a0 | |||
| 25a9884bcf | |||
| c91c5ae9b0 | |||
| c4b1610f7f | |||
| e0176866a9 | |||
| ab36471b80 | |||
| 9458b3ac40 | |||
| e7272ced23 | |||
| b265e968c4 | |||
| 999684ae8a | |||
| 9809f33409 | |||
| 799c671fb4 | |||
| 6af842a231 | |||
| 671b900c90 |
68
src/app/make/page.tsx
Normal file
68
src/app/make/page.tsx
Normal file
@@ -0,0 +1,68 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import { useState } from "react";
|
||||
import Input from '@/components/form/Input';
|
||||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
||||
import FooterBase from '@/components/sections/footer/FooterBase';
|
||||
|
||||
export default function MakePage() {
|
||||
const [url, setUrl] = useState("");
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="shift-hover"
|
||||
defaultTextAnimation="background-highlight"
|
||||
borderRadius="soft"
|
||||
contentWidth="mediumSmall"
|
||||
sizing="large"
|
||||
background="grid"
|
||||
cardStyle="layered-gradient"
|
||||
primaryButtonStyle="radial-glow"
|
||||
secondaryButtonStyle="layered"
|
||||
headingFontWeight="semibold"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "How it Works", id: "/#how-it-works" },
|
||||
{ name: "Pricing", id: "/#pricing" },
|
||||
{ name: "FAQ", id: "/#faq" },
|
||||
]}
|
||||
brandName="Place2Page"
|
||||
button={{ text: "Get Started", href: "/payment" }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="pt-32 pb-20 px-4 max-w-4xl mx-auto">
|
||||
<div id="make" data-section="make" className="bg-card p-8 rounded-2xl shadow-lg border">
|
||||
<h2 className="text-3xl font-bold mb-4">Create Your Website</h2>
|
||||
<Input value={url} onChange={setUrl} placeholder="Paste your Google Maps URL here..." />
|
||||
|
||||
<div className="mt-8">
|
||||
<button
|
||||
onClick={() => console.log("Generating page for:", url)}
|
||||
className="w-full py-4 px-6 bg-[var(--primary-cta)] text-[var(--primary-cta-text)] rounded-xl font-semibold hover:opacity-90 transition">
|
||||
Generate the page
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBase
|
||||
columns={[
|
||||
{ title: "Product", items: [{ label: "Pricing", href: "/#pricing" }, { label: "FAQ", href: "/#faq" }] },
|
||||
{ title: "Company", items: [{ label: "Contact", href: "/#contact" }] },
|
||||
{ title: "Legal", items: [{ label: "Privacy Policy", href: "/#" }, { label: "Terms of Service", href: "/#" }] },
|
||||
]}
|
||||
logoText="Place2Page"
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
@@ -30,6 +30,7 @@ export default function LandingPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{ name: "Make", id: "/make" },
|
||||
{ name: "How it Works", id: "#how-it-works" },
|
||||
{ name: "Pricing", id: "#pricing" },
|
||||
{ name: "FAQ", id: "#faq" },
|
||||
@@ -65,7 +66,7 @@ export default function LandingPage() {
|
||||
title="Launch Your Site Today"
|
||||
description="Stop struggling with web development and join the future of local business."
|
||||
buttons={[
|
||||
{ text: "Start with a Maps URL", href: "/payment" },
|
||||
{ text: "Start with a Maps URL", href: "/make" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -28,6 +28,7 @@ export default function PaymentPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{ name: "Make", id: "/make" },
|
||||
{ name: "How it Works", id: "/#how-it-works" },
|
||||
{ name: "Pricing", id: "/#pricing" },
|
||||
{ name: "FAQ", id: "/#faq" },
|
||||
|
||||
Reference in New Issue
Block a user