Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@
"rows": {
"design": {
"left": "Generic design",
"right": "Agent-branded page"
"right": "Agent-branded"
},
"leadCapture": {
"left": "No lead capture",
Expand All @@ -523,7 +523,7 @@
},
"analytics": {
"left": "Basic analytics",
"right": "Conversion analytics"
"right": "Better analytics"
},
"look": {
"left": "Looks cheap",
Expand Down
Binary file added public/images/phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions src/app/[locale]/(main)/home/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const Hero: React.FC = () => {
</motion.h1>

<motion.p
className="text-sm xl:text-base max-w-md lg:max-w-none"
className="text-sm xl:text-base text-justify lg:text-left max-w-md lg:max-w-none"
{...fadeUpView(0.4)}
>
{t("description")}
Expand Down Expand Up @@ -115,7 +115,7 @@ const Hero: React.FC = () => {

<div className="flex relative w-full lg:w-3/5 h-[540px] sm:h-[620px] lg:h-full items-center justify-center">
<motion.div
className="mockup-phone border-neutral rounded-[60px] w-52 xl:w-72 max-h-[85%] aspect-9/18"
className="mockup-phone border-neutral rounded-[62px] w-56 xl:w-72 max-h-[85%] aspect-9/18 relative z-10"
{...fadeUpView(0.3)}
>
<div className="mockup-phone-camera" />
Expand All @@ -132,7 +132,7 @@ const Hero: React.FC = () => {
</motion.div>

<motion.div
className="absolute top-[8%] right-4 sm:right-8 xl:right-16 w-44 bg-base-100 rounded-2xl shadow-xl border border-base-300 p-3.5"
className="absolute top-[8%] right-4 sm:right-8 xl:right-16 w-44 bg-base-100 rounded-2xl shadow-xl border border-base-300 p-3.5 z-0"
style={{ rotate: "3deg" }}
{...fadeUpView(0.5)}
>
Expand Down Expand Up @@ -163,7 +163,7 @@ const Hero: React.FC = () => {
</motion.div>

<motion.div
className="absolute top-[22%] left-4 sm:left-8 xl:left-16 w-40 bg-base-100 rounded-2xl shadow-xl border border-base-300 p-3"
className="absolute top-[22%] left-4 sm:left-8 xl:left-16 w-40 bg-base-100 rounded-2xl shadow-xl border border-base-300 p-3 z-0"
style={{ rotate: "-2deg" }}
{...fadeUpView(0.7)}
>
Expand All @@ -182,7 +182,7 @@ const Hero: React.FC = () => {
</motion.div>

<motion.div
className="absolute bottom-[16%] left-4 sm:left-8 xl:left-16 w-52 bg-base-100 rounded-2xl shadow-xl border border-base-300 p-3.5"
className="absolute bottom-[16%] left-4 sm:left-8 xl:left-16 w-52 bg-base-100 rounded-2xl shadow-xl border border-base-300 p-3.5 z-0"
style={{ rotate: "-3deg" }}
{...fadeUpView(0.6)}
>
Expand All @@ -205,7 +205,7 @@ const Hero: React.FC = () => {
</motion.div>

<motion.div
className="absolute bottom-[14%] right-4 sm:right-8 xl:right-16 w-36 bg-base-100 rounded-2xl shadow-xl border border-base-300 p-3"
className="absolute bottom-[14%] right-4 sm:right-8 xl:right-16 w-36 bg-base-100 rounded-2xl shadow-xl border border-base-300 p-3 z-0"
style={{ rotate: "4deg" }}
{...fadeUpView(0.8)}
>
Expand Down
16 changes: 16 additions & 0 deletions src/app/providers.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
"use client";

import Script from "next/script";
import { ThemeProvider } from "next-themes";
import { Toaster } from "react-hot-toast";
import { IconCheck, IconX } from "@tabler/icons-react";

const Providers: React.FC<React.PropsWithChildren> = ({ children }) => {
return (
<>
<Script
id="gtm"
async
src="https://www.googletagmanager.com/gtag/js?id=AW-18032554707"
strategy="afterInteractive"
/>
<Script id="gtm-id" strategy="afterInteractive">
{`
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'AW-18032554707');
`}
</Script>
<Toaster
position="top-center"
toastOptions={{
Expand Down
Loading