@nextworks/blocks-templates 0.1.0-alpha.8 → 0.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -11
- package/package.json +3 -3
- package/dist/index.d.ts +0 -5
- package/dist/index.js +0 -4
- package/dist/templates/digitalagency/Page.d.ts +0 -3
- package/dist/templates/digitalagency/Page.js +0 -18
- package/dist/templates/digitalagency/Page.jsx +0 -33
- package/dist/templates/digitalagency/PresetThemeVars.d.ts +0 -11
- package/dist/templates/digitalagency/PresetThemeVars.js +0 -29
- package/dist/templates/digitalagency/PresetThemeVars.jsx +0 -31
- package/dist/templates/digitalagency/components/About.d.ts +0 -3
- package/dist/templates/digitalagency/components/About.js +0 -45
- package/dist/templates/digitalagency/components/About.jsx +0 -43
- package/dist/templates/digitalagency/components/CTA.d.ts +0 -3
- package/dist/templates/digitalagency/components/CTA.js +0 -33
- package/dist/templates/digitalagency/components/CTA.jsx +0 -31
- package/dist/templates/digitalagency/components/Contact.d.ts +0 -3
- package/dist/templates/digitalagency/components/Contact.js +0 -91
- package/dist/templates/digitalagency/components/Contact.jsx +0 -90
- package/dist/templates/digitalagency/components/Footer.d.ts +0 -8
- package/dist/templates/digitalagency/components/Footer.js +0 -58
- package/dist/templates/digitalagency/components/Footer.jsx +0 -58
- package/dist/templates/digitalagency/components/Hero.d.ts +0 -7
- package/dist/templates/digitalagency/components/Hero.js +0 -69
- package/dist/templates/digitalagency/components/Hero.jsx +0 -71
- package/dist/templates/digitalagency/components/Navbar.d.ts +0 -21
- package/dist/templates/digitalagency/components/Navbar.js +0 -86
- package/dist/templates/digitalagency/components/Navbar.jsx +0 -85
- package/dist/templates/digitalagency/components/NetworkPattern.d.ts +0 -8
- package/dist/templates/digitalagency/components/NetworkPattern.d.ts.map +0 -1
- package/dist/templates/digitalagency/components/NetworkPattern.js +0 -38
- package/dist/templates/digitalagency/components/NetworkPattern.jsx +0 -128
- package/dist/templates/digitalagency/components/Portfolio.d.ts +0 -3
- package/dist/templates/digitalagency/components/Portfolio.js +0 -108
- package/dist/templates/digitalagency/components/Portfolio.jsx +0 -104
- package/dist/templates/digitalagency/components/Pricing.d.ts +0 -3
- package/dist/templates/digitalagency/components/Pricing.js +0 -82
- package/dist/templates/digitalagency/components/Pricing.jsx +0 -84
- package/dist/templates/digitalagency/components/Process.d.ts +0 -3
- package/dist/templates/digitalagency/components/Process.js +0 -38
- package/dist/templates/digitalagency/components/Process.jsx +0 -40
- package/dist/templates/digitalagency/components/Services.d.ts +0 -3
- package/dist/templates/digitalagency/components/Services.js +0 -34
- package/dist/templates/digitalagency/components/Services.jsx +0 -36
- package/dist/templates/digitalagency/components/Team.d.ts +0 -3
- package/dist/templates/digitalagency/components/Team.js +0 -14
- package/dist/templates/digitalagency/components/Team.jsx +0 -14
- package/dist/templates/digitalagency/components/Testimonials.d.ts +0 -3
- package/dist/templates/digitalagency/components/Testimonials.js +0 -38
- package/dist/templates/digitalagency/components/Testimonials.jsx +0 -40
- package/dist/templates/gallery/PresetThemeVars.d.ts +0 -15
- package/dist/templates/gallery/PresetThemeVars.js +0 -31
- package/dist/templates/gallery/PresetThemeVars.jsx +0 -33
- package/dist/templates/gallery/page.d.ts +0 -2
- package/dist/templates/gallery/page.js +0 -151
- package/dist/templates/gallery/page.jsx +0 -216
- package/dist/templates/productlaunch/Page.d.ts +0 -2
- package/dist/templates/productlaunch/Page.js +0 -20
- package/dist/templates/productlaunch/Page.jsx +0 -42
- package/dist/templates/productlaunch/PresetThemeVars.d.ts +0 -16
- package/dist/templates/productlaunch/PresetThemeVars.js +0 -28
- package/dist/templates/productlaunch/PresetThemeVars.jsx +0 -30
- package/dist/templates/productlaunch/components/About.d.ts +0 -15
- package/dist/templates/productlaunch/components/About.js +0 -59
- package/dist/templates/productlaunch/components/About.jsx +0 -57
- package/dist/templates/productlaunch/components/CTA.d.ts +0 -3
- package/dist/templates/productlaunch/components/CTA.js +0 -39
- package/dist/templates/productlaunch/components/CTA.jsx +0 -37
- package/dist/templates/productlaunch/components/Contact.d.ts +0 -3
- package/dist/templates/productlaunch/components/Contact.js +0 -93
- package/dist/templates/productlaunch/components/Contact.jsx +0 -92
- package/dist/templates/productlaunch/components/FAQ.d.ts +0 -7
- package/dist/templates/productlaunch/components/FAQ.js +0 -64
- package/dist/templates/productlaunch/components/FAQ.jsx +0 -63
- package/dist/templates/productlaunch/components/Features.d.ts +0 -6
- package/dist/templates/productlaunch/components/Features.js +0 -52
- package/dist/templates/productlaunch/components/Features.jsx +0 -51
- package/dist/templates/productlaunch/components/Footer.d.ts +0 -5
- package/dist/templates/productlaunch/components/Footer.js +0 -103
- package/dist/templates/productlaunch/components/Footer.jsx +0 -102
- package/dist/templates/productlaunch/components/Hero.d.ts +0 -6
- package/dist/templates/productlaunch/components/Hero.js +0 -70
- package/dist/templates/productlaunch/components/Hero.jsx +0 -69
- package/dist/templates/productlaunch/components/Navbar.d.ts +0 -25
- package/dist/templates/productlaunch/components/Navbar.js +0 -82
- package/dist/templates/productlaunch/components/Navbar.jsx +0 -81
- package/dist/templates/productlaunch/components/Pricing.d.ts +0 -5
- package/dist/templates/productlaunch/components/Pricing.js +0 -77
- package/dist/templates/productlaunch/components/Pricing.jsx +0 -76
- package/dist/templates/productlaunch/components/ProcessTimeline.d.ts +0 -5
- package/dist/templates/productlaunch/components/ProcessTimeline.js +0 -63
- package/dist/templates/productlaunch/components/ProcessTimeline.jsx +0 -62
- package/dist/templates/productlaunch/components/ServicesGrid.d.ts +0 -5
- package/dist/templates/productlaunch/components/ServicesGrid.js +0 -41
- package/dist/templates/productlaunch/components/ServicesGrid.jsx +0 -40
- package/dist/templates/productlaunch/components/Team.d.ts +0 -5
- package/dist/templates/productlaunch/components/Team.js +0 -72
- package/dist/templates/productlaunch/components/Team.jsx +0 -71
- package/dist/templates/productlaunch/components/Testimonials.d.ts +0 -5
- package/dist/templates/productlaunch/components/Testimonials.js +0 -55
- package/dist/templates/productlaunch/components/Testimonials.jsx +0 -54
- package/dist/templates/productlaunch/components/TrustBadges.d.ts +0 -5
- package/dist/templates/productlaunch/components/TrustBadges.js +0 -50
- package/dist/templates/productlaunch/components/TrustBadges.jsx +0 -49
- package/dist/templates/saasdashboard/Page.d.ts +0 -2
- package/dist/templates/saasdashboard/Page.js +0 -15
- package/dist/templates/saasdashboard/Page.jsx +0 -35
- package/dist/templates/saasdashboard/PresetThemeVars.d.ts +0 -11
- package/dist/templates/saasdashboard/PresetThemeVars.js +0 -27
- package/dist/templates/saasdashboard/PresetThemeVars.jsx +0 -29
- package/dist/templates/saasdashboard/components/Contact.d.ts +0 -3
- package/dist/templates/saasdashboard/components/Contact.js +0 -83
- package/dist/templates/saasdashboard/components/Contact.jsx +0 -89
- package/dist/templates/saasdashboard/components/Dashboard.d.ts +0 -21
- package/dist/templates/saasdashboard/components/Dashboard.d.ts.map +0 -1
- package/dist/templates/saasdashboard/components/Dashboard.js +0 -120
- package/dist/templates/saasdashboard/components/Dashboard.jsx +0 -168
- package/dist/templates/saasdashboard/components/FAQ.d.ts +0 -2
- package/dist/templates/saasdashboard/components/FAQ.js +0 -35
- package/dist/templates/saasdashboard/components/FAQ.jsx +0 -34
- package/dist/templates/saasdashboard/components/Features.d.ts +0 -2
- package/dist/templates/saasdashboard/components/Features.js +0 -55
- package/dist/templates/saasdashboard/components/Features.jsx +0 -54
- package/dist/templates/saasdashboard/components/Footer.d.ts +0 -2
- package/dist/templates/saasdashboard/components/Footer.js +0 -52
- package/dist/templates/saasdashboard/components/Footer.jsx +0 -51
- package/dist/templates/saasdashboard/components/Hero.d.ts +0 -2
- package/dist/templates/saasdashboard/components/Hero.js +0 -65
- package/dist/templates/saasdashboard/components/Hero.jsx +0 -70
- package/dist/templates/saasdashboard/components/Hero_mask.d.ts +0 -3
- package/dist/templates/saasdashboard/components/Hero_mask.js +0 -73
- package/dist/templates/saasdashboard/components/Hero_mask.jsx +0 -85
- package/dist/templates/saasdashboard/components/Navbar.d.ts +0 -25
- package/dist/templates/saasdashboard/components/Navbar.js +0 -83
- package/dist/templates/saasdashboard/components/Navbar.jsx +0 -84
- package/dist/templates/saasdashboard/components/Pricing.d.ts +0 -2
- package/dist/templates/saasdashboard/components/Pricing.js +0 -65
- package/dist/templates/saasdashboard/components/Pricing.jsx +0 -64
- package/dist/templates/saasdashboard/components/SmoothScroll.d.ts +0 -2
- package/dist/templates/saasdashboard/components/SmoothScroll.d.ts.map +0 -1
- package/dist/templates/saasdashboard/components/SmoothScroll.js +0 -87
- package/dist/templates/saasdashboard/components/SmoothScroll.jsx +0 -87
- package/dist/templates/saasdashboard/components/Testimonials.d.ts +0 -2
- package/dist/templates/saasdashboard/components/Testimonials.js +0 -35
- package/dist/templates/saasdashboard/components/Testimonials.jsx +0 -39
- package/dist/templates/saasdashboard/components/TrustBadges.d.ts +0 -2
- package/dist/templates/saasdashboard/components/TrustBadges.js +0 -37
- package/dist/templates/saasdashboard/components/TrustBadges.jsx +0 -36
package/README.md
CHANGED
|
@@ -9,14 +9,22 @@ Included templates (subject to change):
|
|
|
9
9
|
- Digital agency
|
|
10
10
|
- Gallery
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## Recommended: install via the nextworks CLI
|
|
13
|
+
|
|
14
|
+
Most developers should install Blocks via the **nextworks** CLI (copy-in / shadcn-style) rather than consuming this package directly.
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npx nextworks@latest add blocks --sections --templates
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
- npm (CLI): https://www.npmjs.com/package/nextworks
|
|
21
|
+
|
|
22
|
+
## Direct installation (advanced)
|
|
23
|
+
|
|
24
|
+
If you want to consume the compiled templates as a package:
|
|
13
25
|
|
|
14
26
|
```bash
|
|
15
27
|
npm install @nextworks/blocks-templates @nextworks/blocks-sections @nextworks/blocks-core
|
|
16
|
-
# or
|
|
17
|
-
pnpm add @nextworks/blocks-templates @nextworks/blocks-sections @nextworks/blocks-core
|
|
18
|
-
# or
|
|
19
|
-
yarn add @nextworks/blocks-templates @nextworks/blocks-sections @nextworks/blocks-core
|
|
20
28
|
```
|
|
21
29
|
|
|
22
30
|
## Usage
|
|
@@ -31,12 +39,16 @@ export default function Page() {
|
|
|
31
39
|
|
|
32
40
|
These templates assume:
|
|
33
41
|
|
|
34
|
-
- Next.js App Router
|
|
35
42
|
- Tailwind CSS
|
|
36
|
-
-
|
|
43
|
+
- Providers + global styles are set up
|
|
37
44
|
|
|
38
|
-
If you
|
|
45
|
+
If you installed via the `nextworks` CLI:
|
|
39
46
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
47
|
+
- Templates are copied into your app (router-native):
|
|
48
|
+
- App Router: `app/templates/...`
|
|
49
|
+
- Pages Router: `pages/templates/<template>/index.tsx`
|
|
50
|
+
- The CLI patches your router entrypoint to wire up providers, fonts, and CSS.
|
|
51
|
+
|
|
52
|
+
If you consume packages directly (advanced):
|
|
53
|
+
|
|
54
|
+
- These components are primarily authored for the Next.js App Router, and you must wrap your app with the appropriate provider(s) from `@nextworks/blocks-core` and ensure global CSS is loaded.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextworks/blocks-templates",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0-alpha.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"build": "npx tsc -p tsconfig.json"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@nextworks/blocks-core": "0.
|
|
20
|
-
"@nextworks/blocks-sections": "0.
|
|
19
|
+
"@nextworks/blocks-core": "0.2.0-alpha.2",
|
|
20
|
+
"@nextworks/blocks-sections": "0.2.0-alpha.2",
|
|
21
21
|
"lucide-react": "^0.542.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
package/dist/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * as ProductLaunch from "./templates/productlaunch/Page";
|
|
2
|
-
export * as SaaSDashboard from "./templates/saasdashboard/Page";
|
|
3
|
-
export * as DigitalAgency from "./templates/digitalagency/Page";
|
|
4
|
-
export * as GalleryTemplate from "./templates/gallery/page";
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Navbar } from "./components/Navbar";
|
|
4
|
-
import { Hero } from "./components/Hero";
|
|
5
|
-
import { Services } from "./components/Services";
|
|
6
|
-
import { Testimonials } from "./components/Testimonials";
|
|
7
|
-
import { Process } from "./components/Process";
|
|
8
|
-
import { Portfolio } from "./components/Portfolio";
|
|
9
|
-
import { About } from "./components/About";
|
|
10
|
-
import { Team } from "./components/Team";
|
|
11
|
-
import { Pricing } from "./components/Pricing";
|
|
12
|
-
import { CTA } from "./components/CTA";
|
|
13
|
-
import { Contact } from "./components/Contact";
|
|
14
|
-
import { Footer } from "./components/Footer";
|
|
15
|
-
import { PresetThemeVars } from "./PresetThemeVars";
|
|
16
|
-
export function DigitalAgency() {
|
|
17
|
-
return (_jsx(PresetThemeVars, { children: _jsxs("main", { children: [_jsx(Navbar, {}), _jsx(Hero, {}), _jsx(Services, {}), _jsx(Portfolio, {}), _jsx(Testimonials, {}), _jsx(Process, {}), _jsx(About, {}), _jsx(Team, {}), _jsx(Pricing, {}), _jsx(CTA, {}), _jsx(Contact, {}), _jsx(Footer, {})] }) }));
|
|
18
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { Navbar } from "./components/Navbar";
|
|
4
|
-
import { Hero } from "./components/Hero";
|
|
5
|
-
import { Services } from "./components/Services";
|
|
6
|
-
import { Testimonials } from "./components/Testimonials";
|
|
7
|
-
import { Process } from "./components/Process";
|
|
8
|
-
import { Portfolio } from "./components/Portfolio";
|
|
9
|
-
import { About } from "./components/About";
|
|
10
|
-
import { Team } from "./components/Team";
|
|
11
|
-
import { Pricing } from "./components/Pricing";
|
|
12
|
-
import { CTA } from "./components/CTA";
|
|
13
|
-
import { Contact } from "./components/Contact";
|
|
14
|
-
import { Footer } from "./components/Footer";
|
|
15
|
-
import { PresetThemeVars } from "./PresetThemeVars";
|
|
16
|
-
export function DigitalAgency() {
|
|
17
|
-
return (<PresetThemeVars>
|
|
18
|
-
<main>
|
|
19
|
-
<Navbar />
|
|
20
|
-
<Hero />
|
|
21
|
-
<Services />
|
|
22
|
-
<Portfolio />
|
|
23
|
-
<Testimonials />
|
|
24
|
-
<Process />
|
|
25
|
-
<About />
|
|
26
|
-
<Team />
|
|
27
|
-
<Pricing />
|
|
28
|
-
<CTA />
|
|
29
|
-
<Contact />
|
|
30
|
-
<Footer />
|
|
31
|
-
</main>
|
|
32
|
-
</PresetThemeVars>);
|
|
33
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type Props = React.PropsWithChildren<{
|
|
3
|
-
className?: string;
|
|
4
|
-
}>;
|
|
5
|
-
/**
|
|
6
|
-
* DigitalAgency template theme variables wrapper.
|
|
7
|
-
* Emerald-leaning palette; adjust to match your preset exactly.
|
|
8
|
-
*/
|
|
9
|
-
export declare function PresetThemeVars({ className, children }: Props): React.JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=PresetThemeVars.d.ts.map
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "@nextworks/blocks-core";
|
|
3
|
-
/**
|
|
4
|
-
* DigitalAgency template theme variables wrapper.
|
|
5
|
-
* Emerald-leaning palette; adjust to match your preset exactly.
|
|
6
|
-
*/
|
|
7
|
-
export function PresetThemeVars({ className, children }) {
|
|
8
|
-
return (_jsx("div", { className: cn(
|
|
9
|
-
// Shared button ring
|
|
10
|
-
"[--btn-ring:theme(colors.emerald.500)] dark:[--btn-ring:theme(colors.emerald.400)]",
|
|
11
|
-
// Inputs
|
|
12
|
-
"[--input-bg:theme(colors.white)] dark:[--input-bg:theme(colors.gray.900)]", "[--input-fg:theme(colors.gray.900)] dark:[--input-fg:theme(colors.gray.100)]", "[--input-placeholder:theme(colors.gray.400)] dark:[--input-placeholder:theme(colors.gray.500)]", "[--input-border:theme(colors.emerald.200)] dark:[--input-border:theme(colors.emerald.700)]", "[--input-focus-ring:theme(colors.emerald.500)] dark:[--input-focus-ring:theme(colors.emerald.400)]", "[--input-ring-offset:theme(colors.white)] dark:[--input-ring-offset:theme(colors.gray.900)]",
|
|
13
|
-
// Cards
|
|
14
|
-
"[--card-bg:theme(colors.white)] dark:[--card-bg:theme(colors.gray.900)]", "[--card-fg:theme(colors.gray.900)] dark:[--card-fg:theme(colors.gray.100)]", "[--card-title-fg:theme(colors.gray.900)] dark:[--card-title-fg:theme(colors.gray.100)]", "[--card-muted-fg:theme(colors.gray.500)] dark:[--card-muted-fg:theme(colors.gray.400)]", "[--card-border:theme(colors.gray.200)] dark:[--card-border:theme(colors.gray.800)]", "[--card-shadow:0_6px_20px_rgba(0,0,0,0.06)]",
|
|
15
|
-
// Badges/Chips
|
|
16
|
-
"[--badge-bg:theme(colors.emerald.50)] dark:[--badge-bg:theme(colors.emerald.950)]", "[--badge-fg:theme(colors.emerald.700)] dark:[--badge-fg:theme(colors.emerald.300)]", "[--badge-border:theme(colors.emerald.200)] dark:[--badge-border:theme(colors.emerald.800)]", "[--badge-active-bg:theme(colors.emerald.600)] dark:[--badge-active-bg:theme(colors.emerald.500)]", "[--badge-active-fg:theme(colors.white)] dark:[--badge-active-fg:theme(colors.white)]", "[--badge-active-border:theme(colors.emerald.700)] dark:[--badge-active-border:theme(colors.emerald.400)]",
|
|
17
|
-
// Headings/Subheadings
|
|
18
|
-
"[--heading-fg:theme(colors.gray.900)] dark:[--heading-fg:theme(colors.gray.100)]", "[--subheading-fg:theme(colors.gray.600)] dark:[--subheading-fg:theme(colors.gray.300)]", "[--description-fg:theme(colors.gray.700)] dark:[--description-fg:theme(colors.gray.200)]",
|
|
19
|
-
// Process timeline
|
|
20
|
-
"[--process-step-bg:theme(colors.fuchsia.600)] dark:[--process-step-bg:theme(colors.fuchsia.500)]", "[--process-step-fg:theme(colors.white)] dark:[--process-step-fg:theme(colors.white)]", "[--process-connector:theme(colors.gray.300)] dark:[--process-connector:theme(colors.gray.600)]",
|
|
21
|
-
// Portfolio metrics color
|
|
22
|
-
"[--metric-fg:theme(colors.fuchsia.600)] dark:[--metric-fg:theme(colors.fuchsia.400)]",
|
|
23
|
-
// Footer
|
|
24
|
-
"[--footer-bg:transparent] dark:[--footer-bg:transparent]", "[--footer-fg:theme(colors.gray.800)] dark:[--footer-fg:theme(colors.gray.100)]", "[--footer-heading-fg:theme(colors.gray.900)] dark:[--footer-heading-fg:theme(colors.gray.100)]", "[--footer-link-fg:theme(colors.gray.700)] dark:[--footer-link-fg:theme(colors.gray.300)]", "[--footer-link-hover-fg:theme(colors.emerald.700)] dark:[--footer-link-hover-fg:theme(colors.emerald.400)]", "[--footer-link-hover-bg:theme(colors.emerald.50)] dark:[--footer-link-hover-bg:color-mix(in_oklab,oklch(0.17_0.05_152)_20%,transparent)]", "[--footer-muted-fg:theme(colors.gray.500)] dark:[--footer-muted-fg:theme(colors.gray.400)]", "[--footer-border:theme(colors.gray.200)] dark:[--footer-border:theme(colors.gray.800)]",
|
|
25
|
-
// Table (optional)
|
|
26
|
-
"[--table-fg:inherit]", "[--table-muted-fg:theme(colors.gray.500)] dark:[--table-muted-fg:theme(colors.gray.400)]", "[--table-head-fg:theme(colors.gray.700)] dark:[--table-head-fg:theme(colors.gray.300)]", "[--table-border:theme(colors.gray.200)] dark:[--table-border:theme(colors.gray.800)]", "[--table-row-hover-bg:theme(colors.gray.50)] dark:[--table-row-hover-bg:theme(colors.gray.900)]",
|
|
27
|
-
// About section accent
|
|
28
|
-
"[--about-accent:theme(colors.fuchsia.600)] dark:[--about-accent:theme(colors.fuchsia.400)]", className), children: children }));
|
|
29
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { cn } from "@nextworks/blocks-core";
|
|
3
|
-
/**
|
|
4
|
-
* DigitalAgency template theme variables wrapper.
|
|
5
|
-
* Emerald-leaning palette; adjust to match your preset exactly.
|
|
6
|
-
*/
|
|
7
|
-
export function PresetThemeVars({ className, children }) {
|
|
8
|
-
return (<div className={cn(
|
|
9
|
-
// Shared button ring
|
|
10
|
-
"[--btn-ring:theme(colors.emerald.500)] dark:[--btn-ring:theme(colors.emerald.400)]",
|
|
11
|
-
// Inputs
|
|
12
|
-
"[--input-bg:theme(colors.white)] dark:[--input-bg:theme(colors.gray.900)]", "[--input-fg:theme(colors.gray.900)] dark:[--input-fg:theme(colors.gray.100)]", "[--input-placeholder:theme(colors.gray.400)] dark:[--input-placeholder:theme(colors.gray.500)]", "[--input-border:theme(colors.emerald.200)] dark:[--input-border:theme(colors.emerald.700)]", "[--input-focus-ring:theme(colors.emerald.500)] dark:[--input-focus-ring:theme(colors.emerald.400)]", "[--input-ring-offset:theme(colors.white)] dark:[--input-ring-offset:theme(colors.gray.900)]",
|
|
13
|
-
// Cards
|
|
14
|
-
"[--card-bg:theme(colors.white)] dark:[--card-bg:theme(colors.gray.900)]", "[--card-fg:theme(colors.gray.900)] dark:[--card-fg:theme(colors.gray.100)]", "[--card-title-fg:theme(colors.gray.900)] dark:[--card-title-fg:theme(colors.gray.100)]", "[--card-muted-fg:theme(colors.gray.500)] dark:[--card-muted-fg:theme(colors.gray.400)]", "[--card-border:theme(colors.gray.200)] dark:[--card-border:theme(colors.gray.800)]", "[--card-shadow:0_6px_20px_rgba(0,0,0,0.06)]",
|
|
15
|
-
// Badges/Chips
|
|
16
|
-
"[--badge-bg:theme(colors.emerald.50)] dark:[--badge-bg:theme(colors.emerald.950)]", "[--badge-fg:theme(colors.emerald.700)] dark:[--badge-fg:theme(colors.emerald.300)]", "[--badge-border:theme(colors.emerald.200)] dark:[--badge-border:theme(colors.emerald.800)]", "[--badge-active-bg:theme(colors.emerald.600)] dark:[--badge-active-bg:theme(colors.emerald.500)]", "[--badge-active-fg:theme(colors.white)] dark:[--badge-active-fg:theme(colors.white)]", "[--badge-active-border:theme(colors.emerald.700)] dark:[--badge-active-border:theme(colors.emerald.400)]",
|
|
17
|
-
// Headings/Subheadings
|
|
18
|
-
"[--heading-fg:theme(colors.gray.900)] dark:[--heading-fg:theme(colors.gray.100)]", "[--subheading-fg:theme(colors.gray.600)] dark:[--subheading-fg:theme(colors.gray.300)]", "[--description-fg:theme(colors.gray.700)] dark:[--description-fg:theme(colors.gray.200)]",
|
|
19
|
-
// Process timeline
|
|
20
|
-
"[--process-step-bg:theme(colors.fuchsia.600)] dark:[--process-step-bg:theme(colors.fuchsia.500)]", "[--process-step-fg:theme(colors.white)] dark:[--process-step-fg:theme(colors.white)]", "[--process-connector:theme(colors.gray.300)] dark:[--process-connector:theme(colors.gray.600)]",
|
|
21
|
-
// Portfolio metrics color
|
|
22
|
-
"[--metric-fg:theme(colors.fuchsia.600)] dark:[--metric-fg:theme(colors.fuchsia.400)]",
|
|
23
|
-
// Footer
|
|
24
|
-
"[--footer-bg:transparent] dark:[--footer-bg:transparent]", "[--footer-fg:theme(colors.gray.800)] dark:[--footer-fg:theme(colors.gray.100)]", "[--footer-heading-fg:theme(colors.gray.900)] dark:[--footer-heading-fg:theme(colors.gray.100)]", "[--footer-link-fg:theme(colors.gray.700)] dark:[--footer-link-fg:theme(colors.gray.300)]", "[--footer-link-hover-fg:theme(colors.emerald.700)] dark:[--footer-link-hover-fg:theme(colors.emerald.400)]", "[--footer-link-hover-bg:theme(colors.emerald.50)] dark:[--footer-link-hover-bg:color-mix(in_oklab,oklch(0.17_0.05_152)_20%,transparent)]", "[--footer-muted-fg:theme(colors.gray.500)] dark:[--footer-muted-fg:theme(colors.gray.400)]", "[--footer-border:theme(colors.gray.200)] dark:[--footer-border:theme(colors.gray.800)]",
|
|
25
|
-
// Table (optional)
|
|
26
|
-
"[--table-fg:inherit]", "[--table-muted-fg:theme(colors.gray.500)] dark:[--table-muted-fg:theme(colors.gray.400)]", "[--table-head-fg:theme(colors.gray.700)] dark:[--table-head-fg:theme(colors.gray.300)]", "[--table-border:theme(colors.gray.200)] dark:[--table-border:theme(colors.gray.800)]", "[--table-row-hover-bg:theme(colors.gray.50)] dark:[--table-row-hover-bg:theme(colors.gray.900)]",
|
|
27
|
-
// About section accent
|
|
28
|
-
"[--about-accent:theme(colors.fuchsia.600)] dark:[--about-accent:theme(colors.fuchsia.400)]", className)}>
|
|
29
|
-
{children}
|
|
30
|
-
</div>);
|
|
31
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { About as SharedAbout } from "@nextworks/blocks-sections";
|
|
4
|
-
export function About() {
|
|
5
|
-
return (_jsx(SharedAbout
|
|
6
|
-
// Content
|
|
7
|
-
, {
|
|
8
|
-
// Content
|
|
9
|
-
aboutSubheadingText: "About Us", aboutHeadingText: "Your Success Is Our Mission", aboutContentText: "With 50+ successful projects and 5 years of experience, we specialize in creating digital solutions that drive real business growth. Our team combines creative design with data-driven strategy.", aboutTextAlign: "center",
|
|
10
|
-
// Stats
|
|
11
|
-
showStats: true, animateStats: true, aboutStats: [
|
|
12
|
-
{ value: "2.5", suffix: "k+", label: "Leads Generated" },
|
|
13
|
-
{ value: "4.8", suffix: "%", label: "Avg. CTR" },
|
|
14
|
-
{ value: "92", suffix: "%", label: "Client Retention" },
|
|
15
|
-
{ value: "12", suffix: "M", label: "Ad Spend Managed" },
|
|
16
|
-
],
|
|
17
|
-
// Slots / styling
|
|
18
|
-
section: {
|
|
19
|
-
className: "py-16 md:py-20 lg:py-24 bg-white dark:bg-gray-800",
|
|
20
|
-
}, container: {
|
|
21
|
-
className: "max-w-7xl mx-auto px-6",
|
|
22
|
-
}, inner: {
|
|
23
|
-
className: "flex flex-col gap-12",
|
|
24
|
-
}, contentContainer: {
|
|
25
|
-
className: "max-w-4xl mx-auto",
|
|
26
|
-
}, contentStack: {
|
|
27
|
-
className: "flex flex-col gap-6",
|
|
28
|
-
}, subheading: {
|
|
29
|
-
className: "text-sm font-semibold font-poppins uppercase tracking-wider text-[var(--about-accent)]",
|
|
30
|
-
}, heading: {
|
|
31
|
-
className: "text-4xl md:text-5xl lg:text-6xl font-bold leading-tight text-[var(--heading-fg)]",
|
|
32
|
-
}, content: {
|
|
33
|
-
className: "text-xl md:text-2xl max-w-3xl mx-auto leading-relaxed text-[var(--subheading-fg)]",
|
|
34
|
-
}, statsSection: {
|
|
35
|
-
className: "bg-card p-8 rounded-xl shadow-lg mx-auto max-w-5xl w-full border border-border bg-[var(--card-bg)] text-[var(--card-fg)] border-[var(--card-border)]",
|
|
36
|
-
}, statsGrid: {
|
|
37
|
-
className: "grid grid-cols-2 md:grid-cols-4 gap-8 justify-items-center",
|
|
38
|
-
}, statItem: {
|
|
39
|
-
className: "flex flex-col items-center gap-2",
|
|
40
|
-
}, statNumber: {
|
|
41
|
-
className: "text-4xl md:text-5xl font-bold font-poppins leading-none text-[var(--about-accent)]",
|
|
42
|
-
}, statLabel: {
|
|
43
|
-
className: "text-sm font-medium font-inter text-center text-[var(--card-muted-fg)]",
|
|
44
|
-
} }));
|
|
45
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { About as SharedAbout } from "@nextworks/blocks-sections";
|
|
4
|
-
export function About() {
|
|
5
|
-
return (<SharedAbout
|
|
6
|
-
// Content
|
|
7
|
-
aboutSubheadingText="About Us" aboutHeadingText="Your Success Is Our Mission" aboutContentText="With 50+ successful projects and 5 years of experience, we specialize in creating digital solutions that drive real business growth. Our team combines creative design with data-driven strategy." aboutTextAlign="center"
|
|
8
|
-
// Stats
|
|
9
|
-
showStats={true} animateStats={true} aboutStats={[
|
|
10
|
-
{ value: "2.5", suffix: "k+", label: "Leads Generated" },
|
|
11
|
-
{ value: "4.8", suffix: "%", label: "Avg. CTR" },
|
|
12
|
-
{ value: "92", suffix: "%", label: "Client Retention" },
|
|
13
|
-
{ value: "12", suffix: "M", label: "Ad Spend Managed" },
|
|
14
|
-
]}
|
|
15
|
-
// Slots / styling
|
|
16
|
-
section={{
|
|
17
|
-
className: "py-16 md:py-20 lg:py-24 bg-white dark:bg-gray-800",
|
|
18
|
-
}} container={{
|
|
19
|
-
className: "max-w-7xl mx-auto px-6",
|
|
20
|
-
}} inner={{
|
|
21
|
-
className: "flex flex-col gap-12",
|
|
22
|
-
}} contentContainer={{
|
|
23
|
-
className: "max-w-4xl mx-auto",
|
|
24
|
-
}} contentStack={{
|
|
25
|
-
className: "flex flex-col gap-6",
|
|
26
|
-
}} subheading={{
|
|
27
|
-
className: "text-sm font-semibold font-poppins uppercase tracking-wider text-[var(--about-accent)]",
|
|
28
|
-
}} heading={{
|
|
29
|
-
className: "text-4xl md:text-5xl lg:text-6xl font-bold leading-tight text-[var(--heading-fg)]",
|
|
30
|
-
}} content={{
|
|
31
|
-
className: "text-xl md:text-2xl max-w-3xl mx-auto leading-relaxed text-[var(--subheading-fg)]",
|
|
32
|
-
}} statsSection={{
|
|
33
|
-
className: "bg-card p-8 rounded-xl shadow-lg mx-auto max-w-5xl w-full border border-border bg-[var(--card-bg)] text-[var(--card-fg)] border-[var(--card-border)]",
|
|
34
|
-
}} statsGrid={{
|
|
35
|
-
className: "grid grid-cols-2 md:grid-cols-4 gap-8 justify-items-center",
|
|
36
|
-
}} statItem={{
|
|
37
|
-
className: "flex flex-col items-center gap-2",
|
|
38
|
-
}} statNumber={{
|
|
39
|
-
className: "text-4xl md:text-5xl font-bold font-poppins leading-none text-[var(--about-accent)]",
|
|
40
|
-
}} statLabel={{
|
|
41
|
-
className: "text-sm font-medium font-inter text-center text-[var(--card-muted-fg)]",
|
|
42
|
-
}}/>);
|
|
43
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { CTA as SharedCTA } from "@nextworks/blocks-sections";
|
|
4
|
-
export function CTA() {
|
|
5
|
-
return (_jsx(SharedCTA
|
|
6
|
-
// Background colors moved to the section slot
|
|
7
|
-
, {
|
|
8
|
-
// Background colors moved to the section slot
|
|
9
|
-
section: {
|
|
10
|
-
className: "bg-sky-50 dark:bg-gray-900 text-foreground [--heading-fg:rgb(17,24,39)] dark:[--heading-fg:white] [--subheading-fg:rgba(17,24,39,0.8)] dark:[--subheading-fg:rgba(255,255,255,0.85)] [--description-fg:rgba(17,24,39,0.75)] dark:[--description-fg:rgba(255,255,255,0.75)]",
|
|
11
|
-
},
|
|
12
|
-
// Layout/height/centering handled by the container slot
|
|
13
|
-
container: {
|
|
14
|
-
className: "mx-auto flex h-[32vh] w-full max-w-6xl flex-col items-center justify-center overflow-hidden px-4 pb-8",
|
|
15
|
-
},
|
|
16
|
-
// Heading mapped to the new headingText slot
|
|
17
|
-
headingText: {
|
|
18
|
-
text: "Ready To Transform Your Business?",
|
|
19
|
-
className: "text-4xl md:text-5xl lg:text-6xl font-bold font-poppins leading-tight",
|
|
20
|
-
},
|
|
21
|
-
// Use actionsWrapper for spacing instead of margin on the button
|
|
22
|
-
actionsWrapper: {
|
|
23
|
-
className: "mt-6 flex flex-col items-center gap-3 sm:flex-row [--btn-ring:rgba(192,38,211,0.35)] dark:[--btn-ring:rgba(192,38,211,0.45)]",
|
|
24
|
-
},
|
|
25
|
-
// Primary CTA mapped to ctaButton + ctaButtonStyle
|
|
26
|
-
ctaButton: { label: "Get Your Free Quote", href: "#contact" }, ctaButtonStyle: {
|
|
27
|
-
variant: "default",
|
|
28
|
-
size: "lg",
|
|
29
|
-
className: "font-poppins shadow-lg hover:shadow-xl transition-all duration-200 hover:-translate-y-0.5 [--btn-bg:#c026d3] dark:[--btn-bg:#c026d3] [--btn-hover-bg:#a21caf] dark:[--btn-hover-bg:#a21caf] [--btn-fg:#ffffff] dark:[--btn-fg:#ffffff] hover:[--btn-hover-fg:#ffffff] dark:hover:[--btn-hover-fg:#ffffff] [--btn-border:transparent]",
|
|
30
|
-
},
|
|
31
|
-
// Preserve the previous top margin on the heading
|
|
32
|
-
spacing: { topMargin: "mt-[8vh]" } }));
|
|
33
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { CTA as SharedCTA } from "@nextworks/blocks-sections";
|
|
4
|
-
export function CTA() {
|
|
5
|
-
return (<SharedCTA
|
|
6
|
-
// Background colors moved to the section slot
|
|
7
|
-
section={{
|
|
8
|
-
className: "bg-sky-50 dark:bg-gray-900 text-foreground [--heading-fg:rgb(17,24,39)] dark:[--heading-fg:white] [--subheading-fg:rgba(17,24,39,0.8)] dark:[--subheading-fg:rgba(255,255,255,0.85)] [--description-fg:rgba(17,24,39,0.75)] dark:[--description-fg:rgba(255,255,255,0.75)]",
|
|
9
|
-
}}
|
|
10
|
-
// Layout/height/centering handled by the container slot
|
|
11
|
-
container={{
|
|
12
|
-
className: "mx-auto flex h-[32vh] w-full max-w-6xl flex-col items-center justify-center overflow-hidden px-4 pb-8",
|
|
13
|
-
}}
|
|
14
|
-
// Heading mapped to the new headingText slot
|
|
15
|
-
headingText={{
|
|
16
|
-
text: "Ready To Transform Your Business?",
|
|
17
|
-
className: "text-4xl md:text-5xl lg:text-6xl font-bold font-poppins leading-tight",
|
|
18
|
-
}}
|
|
19
|
-
// Use actionsWrapper for spacing instead of margin on the button
|
|
20
|
-
actionsWrapper={{
|
|
21
|
-
className: "mt-6 flex flex-col items-center gap-3 sm:flex-row [--btn-ring:rgba(192,38,211,0.35)] dark:[--btn-ring:rgba(192,38,211,0.45)]",
|
|
22
|
-
}}
|
|
23
|
-
// Primary CTA mapped to ctaButton + ctaButtonStyle
|
|
24
|
-
ctaButton={{ label: "Get Your Free Quote", href: "#contact" }} ctaButtonStyle={{
|
|
25
|
-
variant: "default",
|
|
26
|
-
size: "lg",
|
|
27
|
-
className: "font-poppins shadow-lg hover:shadow-xl transition-all duration-200 hover:-translate-y-0.5 [--btn-bg:#c026d3] dark:[--btn-bg:#c026d3] [--btn-hover-bg:#a21caf] dark:[--btn-hover-bg:#a21caf] [--btn-fg:#ffffff] dark:[--btn-fg:#ffffff] hover:[--btn-hover-fg:#ffffff] dark:hover:[--btn-hover-fg:#ffffff] [--btn-border:transparent]",
|
|
28
|
-
}}
|
|
29
|
-
// Preserve the previous top margin on the heading
|
|
30
|
-
spacing={{ topMargin: "mt-[8vh]" }}/>);
|
|
31
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
// app/templates/digitalagency/componets/Contact.tsx
|
|
2
|
-
"use client";
|
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
-
import { Contact as SharedContact, } from "@nextworks/blocks-sections";
|
|
5
|
-
const agencyContactFormData = [
|
|
6
|
-
{
|
|
7
|
-
id: "name",
|
|
8
|
-
label: "Your Full Name",
|
|
9
|
-
placeholder: "John Smith",
|
|
10
|
-
required: true,
|
|
11
|
-
type: "text",
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
id: "email",
|
|
15
|
-
label: "Email Address",
|
|
16
|
-
placeholder: "john@yourcompany.com",
|
|
17
|
-
required: true,
|
|
18
|
-
type: "email",
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
id: "phone",
|
|
22
|
-
label: "Phone Number",
|
|
23
|
-
placeholder: "+1 (555) 123-4567",
|
|
24
|
-
required: false,
|
|
25
|
-
type: "tel",
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
id: "company",
|
|
29
|
-
label: "Company Name",
|
|
30
|
-
placeholder: "Your Company LLC",
|
|
31
|
-
required: false,
|
|
32
|
-
type: "text",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
id: "projectType",
|
|
36
|
-
label: "Service Interested In",
|
|
37
|
-
placeholder: "e.g. Web Design, SEO, E-commerce, Branding",
|
|
38
|
-
required: false,
|
|
39
|
-
type: "text",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
id: "budget",
|
|
43
|
-
label: "Project Budget (Optional)",
|
|
44
|
-
placeholder: "e.g. $3,000 - $6,000",
|
|
45
|
-
required: false,
|
|
46
|
-
type: "text",
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
id: "message",
|
|
50
|
-
label: "Project Details",
|
|
51
|
-
placeholder: "Tell us about your project goals, timeline, and any specific requirements...",
|
|
52
|
-
required: true,
|
|
53
|
-
type: "textarea",
|
|
54
|
-
},
|
|
55
|
-
];
|
|
56
|
-
export function Contact() {
|
|
57
|
-
const handleFormSubmit = (e) => {
|
|
58
|
-
e.preventDefault();
|
|
59
|
-
const data = Object.fromEntries(new FormData(e.currentTarget).entries());
|
|
60
|
-
console.log("Contact form submitted:", data);
|
|
61
|
-
};
|
|
62
|
-
return (_jsx(SharedContact, { id: "contact", fields: agencyContactFormData, contactHeaderText: "Let\u2019s Talk Strategy", contactSubHeaderText: "We\u2019re here to help you grow \u2014 tell us how!",
|
|
63
|
-
// Root and layout
|
|
64
|
-
className: "w-full", section: { className: "py-16 px-4 bg-fuchsia-600 dark:bg-fuchsia-600" }, container: { className: "mx-auto max-w-4xl" },
|
|
65
|
-
// Header slots (new)
|
|
66
|
-
headerWrapper: { className: "mb-8 text-center" }, headerText: {
|
|
67
|
-
className: "text-4xl md:text-5xl font-bold font-poppins text-white tracking-tight",
|
|
68
|
-
}, subheaderText: {
|
|
69
|
-
className: "mt-3 text-lg md:text-xl font-inter text-white/90 px-4 md:px-14",
|
|
70
|
-
},
|
|
71
|
-
// Form container
|
|
72
|
-
form: {
|
|
73
|
-
className: "bg-card p-8 rounded-lg shadow-md border border-border bg-[var(--card-bg)] text-[var(--card-fg)] border-[var(--card-border)]",
|
|
74
|
-
},
|
|
75
|
-
// Fields wrapper and field item (new)
|
|
76
|
-
fieldsWrapper: { className: "space-y-4" }, field: { className: "space-y-2" },
|
|
77
|
-
// Label + inputs (new)
|
|
78
|
-
label: {
|
|
79
|
-
className: "text-card-foreground text-sm font-medium font-poppins block",
|
|
80
|
-
}, input: {
|
|
81
|
-
className: "w-full p-3 rounded-md font-inter border-[var(--input-border)] bg-[var(--input-bg)] text-[var(--input-fg)] placeholder:text-[var(--input-placeholder)] focus-visible:ring-2 focus-visible:ring-[var(--input-focus-ring)] focus-visible:ring-offset-[var(--input-ring-offset)]",
|
|
82
|
-
}, textarea: {
|
|
83
|
-
className: "w-full p-3 rounded-md resize-vertical min-h-[120px] font-inter border-[var(--input-border)] bg-[var(--input-bg)] text-[var(--input-fg)] placeholder:text-[var(--input-placeholder)] focus-visible:ring-2 focus-visible:ring-[var(--input-focus-ring)] focus-visible:ring-offset-[var(--input-ring-offset)]",
|
|
84
|
-
},
|
|
85
|
-
// Submit button (new split between wrapper/style/text)
|
|
86
|
-
submitButtonWrapper: { className: "pt-2" }, submitButtonStyle: {
|
|
87
|
-
variant: "default",
|
|
88
|
-
size: "lg",
|
|
89
|
-
className: "w-full bg-fuchsia-700 hover:bg-fuchsia-800 text-white font-poppins font-medium shadow-lg hover:shadow-xl transition-all duration-200 hover:-translate-y-0.5",
|
|
90
|
-
}, submitButtonText: "Schedule Free Consultation", onSubmit: handleFormSubmit, ariaLabel: "Agency contact section" }));
|
|
91
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
// app/templates/digitalagency/componets/Contact.tsx
|
|
2
|
-
"use client";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import { Contact as SharedContact, } from "@nextworks/blocks-sections";
|
|
5
|
-
const agencyContactFormData = [
|
|
6
|
-
{
|
|
7
|
-
id: "name",
|
|
8
|
-
label: "Your Full Name",
|
|
9
|
-
placeholder: "John Smith",
|
|
10
|
-
required: true,
|
|
11
|
-
type: "text",
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
id: "email",
|
|
15
|
-
label: "Email Address",
|
|
16
|
-
placeholder: "john@yourcompany.com",
|
|
17
|
-
required: true,
|
|
18
|
-
type: "email",
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
id: "phone",
|
|
22
|
-
label: "Phone Number",
|
|
23
|
-
placeholder: "+1 (555) 123-4567",
|
|
24
|
-
required: false,
|
|
25
|
-
type: "tel",
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
id: "company",
|
|
29
|
-
label: "Company Name",
|
|
30
|
-
placeholder: "Your Company LLC",
|
|
31
|
-
required: false,
|
|
32
|
-
type: "text",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
id: "projectType",
|
|
36
|
-
label: "Service Interested In",
|
|
37
|
-
placeholder: "e.g. Web Design, SEO, E-commerce, Branding",
|
|
38
|
-
required: false,
|
|
39
|
-
type: "text",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
id: "budget",
|
|
43
|
-
label: "Project Budget (Optional)",
|
|
44
|
-
placeholder: "e.g. $3,000 - $6,000",
|
|
45
|
-
required: false,
|
|
46
|
-
type: "text",
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
id: "message",
|
|
50
|
-
label: "Project Details",
|
|
51
|
-
placeholder: "Tell us about your project goals, timeline, and any specific requirements...",
|
|
52
|
-
required: true,
|
|
53
|
-
type: "textarea",
|
|
54
|
-
},
|
|
55
|
-
];
|
|
56
|
-
export function Contact() {
|
|
57
|
-
const handleFormSubmit = (e) => {
|
|
58
|
-
e.preventDefault();
|
|
59
|
-
const data = Object.fromEntries(new FormData(e.currentTarget).entries());
|
|
60
|
-
};
|
|
61
|
-
return (<SharedContact id="contact" fields={agencyContactFormData} contactHeaderText="Let’s Talk Strategy" contactSubHeaderText="We’re here to help you grow — tell us how!"
|
|
62
|
-
// Root and layout
|
|
63
|
-
className="w-full" section={{ className: "py-16 px-4 bg-fuchsia-600 dark:bg-fuchsia-600" }} container={{ className: "mx-auto max-w-4xl" }}
|
|
64
|
-
// Header slots (new)
|
|
65
|
-
headerWrapper={{ className: "mb-8 text-center" }} headerText={{
|
|
66
|
-
className: "text-4xl md:text-5xl font-bold font-poppins text-white tracking-tight",
|
|
67
|
-
}} subheaderText={{
|
|
68
|
-
className: "mt-3 text-lg md:text-xl font-inter text-white/90 px-4 md:px-14",
|
|
69
|
-
}}
|
|
70
|
-
// Form container
|
|
71
|
-
form={{
|
|
72
|
-
className: "bg-card p-8 rounded-lg shadow-md border border-border bg-[var(--card-bg)] text-[var(--card-fg)] border-[var(--card-border)]",
|
|
73
|
-
}}
|
|
74
|
-
// Fields wrapper and field item (new)
|
|
75
|
-
fieldsWrapper={{ className: "space-y-4" }} field={{ className: "space-y-2" }}
|
|
76
|
-
// Label + inputs (new)
|
|
77
|
-
label={{
|
|
78
|
-
className: "text-card-foreground text-sm font-medium font-poppins block",
|
|
79
|
-
}} input={{
|
|
80
|
-
className: "w-full p-3 rounded-md font-inter border-[var(--input-border)] bg-[var(--input-bg)] text-[var(--input-fg)] placeholder:text-[var(--input-placeholder)] focus-visible:ring-2 focus-visible:ring-[var(--input-focus-ring)] focus-visible:ring-offset-[var(--input-ring-offset)]",
|
|
81
|
-
}} textarea={{
|
|
82
|
-
className: "w-full p-3 rounded-md resize-vertical min-h-[120px] font-inter border-[var(--input-border)] bg-[var(--input-bg)] text-[var(--input-fg)] placeholder:text-[var(--input-placeholder)] focus-visible:ring-2 focus-visible:ring-[var(--input-focus-ring)] focus-visible:ring-offset-[var(--input-ring-offset)]",
|
|
83
|
-
}}
|
|
84
|
-
// Submit button (new split between wrapper/style/text)
|
|
85
|
-
submitButtonWrapper={{ className: "pt-2" }} submitButtonStyle={{
|
|
86
|
-
variant: "default",
|
|
87
|
-
size: "lg",
|
|
88
|
-
className: "w-full bg-fuchsia-700 hover:bg-fuchsia-800 text-white font-poppins font-medium shadow-lg hover:shadow-xl transition-all duration-200 hover:-translate-y-0.5",
|
|
89
|
-
}} submitButtonText="Schedule Free Consultation" onSubmit={handleFormSubmit} ariaLabel="Agency contact section"/>);
|
|
90
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
/**
|
|
3
|
-
* Upgraded preset Footer for the Digital Agency template
|
|
4
|
-
* - Uses the shared Footer slot API
|
|
5
|
-
* - Keeps brand distinct, flush-left; aligns top with nav headers
|
|
6
|
-
*/
|
|
7
|
-
export declare function Footer(): React.JSX.Element;
|
|
8
|
-
//# sourceMappingURL=Footer.d.ts.map
|