From aa73de873d6e666f81d01c1d92cd57470f4b42d1 Mon Sep 17 00:00:00 2001 From: Ryan Aulia Date: Thu, 31 Aug 2023 08:55:42 +0700 Subject: [PATCH] fix: mobile view --- src/app/layout.tsx | 12 ++++++------ src/common/components/PageWrapper.tsx | 1 + src/modules/homepage/components/ChitChat.tsx | 6 ++++-- src/modules/homepage/components/Contact.tsx | 8 ++++---- src/modules/homepage/components/Home.tsx | 2 +- src/modules/homepage/components/ServicesItem.tsx | 4 ++-- 6 files changed, 18 insertions(+), 15 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index bad0b87..7076a56 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -9,12 +9,12 @@ export const metadata: Metadata = { title: "Ryan Aulia - Aulianza Landing Page", description: "My Personal Landing Page", icons: "/images/aulianza.png", - openGraph: { - images: "/images/aulianza.png", - url: "https://aulianza.com", - siteName: "Ryan Aulia - Aulianza Landing Page", - type: "website", - }, + // openGraph: { + // images: "/images/aulianza.png", + // url: "https://aulianza.com", + // siteName: "Ryan Aulia - Aulianza Landing Page", + // type: "website", + // }, }; export default function RootLayout({ diff --git a/src/common/components/PageWrapper.tsx b/src/common/components/PageWrapper.tsx index aaefc08..034397e 100644 --- a/src/common/components/PageWrapper.tsx +++ b/src/common/components/PageWrapper.tsx @@ -10,6 +10,7 @@ const PageWrapper = ({ children }: { children: React.ReactNode }) => { AOS.init({ duration: 800, delay: 50, + disable: "mobile", }); }, []); diff --git a/src/modules/homepage/components/ChitChat.tsx b/src/modules/homepage/components/ChitChat.tsx index de2bace..2cdd24b 100644 --- a/src/modules/homepage/components/ChitChat.tsx +++ b/src/modules/homepage/components/ChitChat.tsx @@ -12,8 +12,10 @@ const ChitChat = () => { >
-
1 on 1 Chit-chat Session
-

+

+ 1 on 1 Chit-chat Session +
+

Let’s find some time to talk about anything!{" "}

diff --git a/src/modules/homepage/components/Contact.tsx b/src/modules/homepage/components/Contact.tsx index cae1afb..d7bc8d9 100644 --- a/src/modules/homepage/components/Contact.tsx +++ b/src/modules/homepage/components/Contact.tsx @@ -19,7 +19,7 @@ const Contact = () => { }; return ( -
+

Get in Touch

@@ -32,15 +32,15 @@ const Contact = () => { >
-
Drop Me an Email
+
Drop Me an Email
handleEmailClick("aulianza.dev@gmail.com")} > {copiedEmail ? "Copied!" : "aulianza.dev@gmail.com"}
-

+

Expect my rapid and eager reply – your message won't be kept waiting!

diff --git a/src/modules/homepage/components/Home.tsx b/src/modules/homepage/components/Home.tsx index ba138eb..f2508f4 100644 --- a/src/modules/homepage/components/Home.tsx +++ b/src/modules/homepage/components/Home.tsx @@ -10,7 +10,7 @@ import Socials from "./Socials"; const Home = () => { return ( -
+
diff --git a/src/modules/homepage/components/ServicesItem.tsx b/src/modules/homepage/components/ServicesItem.tsx index 561ba0d..5e0abb6 100644 --- a/src/modules/homepage/components/ServicesItem.tsx +++ b/src/modules/homepage/components/ServicesItem.tsx @@ -24,8 +24,8 @@ const ServicesItem = ({ {title}
-
{title}
-

{description}

+
{title}
+

{description}

);