From e940d0aa30f2eb3345f08c2deba21a853545134a Mon Sep 17 00:00:00 2001 From: AshishScaletech Date: Tue, 26 Nov 2024 15:47:58 +0530 Subject: [PATCH 1/7] design apply page --- src/data_files/LandingPageprice.json | 2 +- src/data_files/landingPageNav.json | 4 +- src/layouts/MainLayout.astro | 4 +- src/pages/apply/index.astro | 145 +++++++++++++++++++++++++++ src/pages/apps/[...slug].astro | 4 +- src/pages/apps/index.astro | 4 +- src/pages/download.astro | 6 +- src/utils/navigation.ts | 2 +- 8 files changed, 159 insertions(+), 12 deletions(-) create mode 100644 src/pages/apply/index.astro diff --git a/src/data_files/LandingPageprice.json b/src/data_files/LandingPageprice.json index 5b02a5e..c1c5c18 100644 --- a/src/data_files/LandingPageprice.json +++ b/src/data_files/LandingPageprice.json @@ -13,6 +13,6 @@ { "text": "No transaction fees", "enabled": true }, { "text": "Unlimited Storage", "enabled": true } ], - "cta": { "text": "Download Now", "link": "/download" } + "cta": { "text": "Apply Now", "link": "/apply" } } ] diff --git a/src/data_files/landingPageNav.json b/src/data_files/landingPageNav.json index 45cb1c1..b8ac786 100644 --- a/src/data_files/landingPageNav.json +++ b/src/data_files/landingPageNav.json @@ -12,8 +12,8 @@ { "label": "Contact", "href": "/contact" } ], "button": { - "label": "Download", - "href": "/download", + "label": "Apply", + "href": "/apply", "class": "btn bg-gradiant" } } diff --git a/src/layouts/MainLayout.astro b/src/layouts/MainLayout.astro index 15b2192..21ad806 100644 --- a/src/layouts/MainLayout.astro +++ b/src/layouts/MainLayout.astro @@ -62,7 +62,9 @@ We set the language of the page to English and add classes for scrollbar and scr Setting up the main structure of the page. The Navbar is placed at the top, with a slot for the main content and FooterSection at the bottom. --> -
+
diff --git a/src/pages/apply/index.astro b/src/pages/apply/index.astro new file mode 100644 index 0000000..554b674 --- /dev/null +++ b/src/pages/apply/index.astro @@ -0,0 +1,145 @@ +--- +import { SITE } from '@/data_files/constants'; +import { Image } from 'astro:assets'; +import MainLayout from '@/layouts/MainLayout.astro'; + +import userImage1 from '../../pages/images/user/img-1.jpg'; +import userImage2 from '../../pages/images/user/img-2.jpg'; +import userImage3 from '../../pages/images/user/img-3.jpg'; + +const pageTitle: string = `Apply | ${SITE.title}`; + +const users = [ + { imgSrc: userImage1, alt: 'User 1' }, + { imgSrc: userImage2, alt: 'User 2' }, + { imgSrc: userImage3, alt: 'User 3' }, +]; +--- + + + +
+
+
+
+ +
+

+ Crawlora +

+
+ + +
+

+ Ready to unlock the power of web data?
+ + Apply for free now! + +

+
+ +
+

+ If you are accepted, we’ll onboard you within 24-48 hours. +

+
+ +
+
+
+ { + users.map((user) => ( +
+ {user.alt} +
+ )) + } +
+
+ 99+ +
+
+
+
+
+
99+ user
+

+ Turning Data into Actionable Insights, Seamlessly. +

+
+
+
+
+
+ diff --git a/src/pages/apps/[...slug].astro b/src/pages/apps/[...slug].astro index e68bc37..9bd7275 100644 --- a/src/pages/apps/[...slug].astro +++ b/src/pages/apps/[...slug].astro @@ -86,12 +86,12 @@ const pageTitle: string = `${product.title} | ${SITE.title}`;
Install Try Out diff --git a/src/pages/apps/index.astro b/src/pages/apps/index.astro index d701f6e..a71635f 100644 --- a/src/pages/apps/index.astro +++ b/src/pages/apps/index.astro @@ -83,10 +83,10 @@ try {
- + Install - + Try Out @@ -131,8 +131,8 @@ function getOSAndArch() { ); if (match) { document.getElementById("download-button").innerHTML = ` - - Download For ${match.name} + + Apply For ${match.name} `; diff --git a/src/utils/navigation.ts b/src/utils/navigation.ts index cc1368c..64f29dc 100644 --- a/src/utils/navigation.ts +++ b/src/utils/navigation.ts @@ -6,7 +6,7 @@ const navBarLinks = [ { name: "Pricing", url: "/pricing" }, { name: "Blog", url: "/blog" }, { name: "Contact", url: "/contact" }, - { name: "Download", url: "/download" }, + { name: "Apply", url: "/apply" }, { name: "Login", url: "https://app.crawlora.com?cta=homepage-header-login-btn", From 6e7bab697c83b5fb25ccc4bcd047eb958cf0815e Mon Sep 17 00:00:00 2001 From: yashdobariya-scaletech Date: Tue, 26 Nov 2024 19:16:03 +0530 Subject: [PATCH 2/7] fix: text color and background related changes --- src/pages/apply/index.astro | 125 ++++++++++++++++-------------------- 1 file changed, 56 insertions(+), 69 deletions(-) diff --git a/src/pages/apply/index.astro b/src/pages/apply/index.astro index 554b674..de65973 100644 --- a/src/pages/apply/index.astro +++ b/src/pages/apply/index.astro @@ -1,135 +1,121 @@ --- -import { SITE } from '@/data_files/constants'; -import { Image } from 'astro:assets'; -import MainLayout from '@/layouts/MainLayout.astro'; +import { SITE } from "@/data_files/constants"; +import { Image } from "astro:assets"; +import MainLayout from "@/layouts/MainLayout.astro"; -import userImage1 from '../../pages/images/user/img-1.jpg'; -import userImage2 from '../../pages/images/user/img-2.jpg'; -import userImage3 from '../../pages/images/user/img-3.jpg'; +import userImage1 from "../../pages/images/user/img-1.jpg"; +import userImage2 from "../../pages/images/user/img-2.jpg"; +import userImage3 from "../../pages/images/user/img-3.jpg"; const pageTitle: string = `Apply | ${SITE.title}`; const users = [ - { imgSrc: userImage1, alt: 'User 1' }, - { imgSrc: userImage2, alt: 'User 2' }, - { imgSrc: userImage3, alt: 'User 3' }, + { imgSrc: userImage1, alt: "User 1" }, + { imgSrc: userImage2, alt: "User 2" }, + { imgSrc: userImage3, alt: "User 3" }, ]; --- -
-
+
-
-

+
+

Crawlora

-
-

- Ready to unlock the power of web data?
+
+

+ Ready to unlock the power of web data scraping?
Apply for free now!

+ src='https://tally.so/embed/3qEW67?alignLeft=1&hideTitle=1&transparentBackground=1&dynamicHeight=1' + width='100%' + height='300' + class='rounded-md border border-gray-200 dark:border-gray-700' + style='border: none;' + aria-label='Apply Form'>
-

+

If you are accepted, we’ll onboard you within 24-48 hours.

-
-
-
+
+
+
{ users.map((user) => ( -
+
{user.alt}
)) } -
+
99+
-
-
99+ user
-

+

+
+ 99+ users +
+

Turning Data into Actionable Insights, Seamlessly.

@@ -137,6 +123,7 @@ const users = [

+ From a6af8fdb9af2849176b72f07b0faed9a8103491c Mon Sep 17 00:00:00 2001 From: yashdobariya-scaletech Date: Wed, 27 Nov 2024 14:10:49 +0530 Subject: [PATCH 4/7] fix: remove user count and ui changes --- .../sections/landing/LandingHero.astro | 66 +++++++------- .../sections/pricing/LandingPagePrice.astro | 52 ++++++----- src/pages/apply/index.astro | 89 +++++++++---------- 3 files changed, 99 insertions(+), 108 deletions(-) diff --git a/src/components/sections/landing/LandingHero.astro b/src/components/sections/landing/LandingHero.astro index 58e453d..f820349 100644 --- a/src/components/sections/landing/LandingHero.astro +++ b/src/components/sections/landing/LandingHero.astro @@ -1,72 +1,70 @@ --- -import homeSectionData from '@data/LandingPageHome.json'; +import homeSectionData from "@data/LandingPageHome.json"; -import homeImage from '../../../pages/images/home/home-5.png'; -import userImage1 from '../../../pages/images/user/img-1.jpg'; -import userImage2 from '../../../pages/images/user/img-2.jpg'; -import userImage3 from '../../../pages/images/user/img-3.jpg'; -import homeBg from '../../../pages/images/home/home5-bg.png'; -import { Image } from 'astro:assets'; +import homeImage from "../../../pages/images/home/home-5.png"; +import userImage1 from "../../../pages/images/user/img-1.jpg"; +import userImage2 from "../../../pages/images/user/img-2.jpg"; +import userImage3 from "../../../pages/images/user/img-3.jpg"; +import userImage4 from "../../../pages/images/user/img-4.jpg"; +import homeBg from "../../../pages/images/home/home5-bg.png"; +import { Image } from "astro:assets"; const users = [ - { imgSrc: userImage1, alt: 'User 1' }, - { imgSrc: userImage2, alt: 'User 2' }, - { imgSrc: userImage3, alt: 'User 3' }, + { imgSrc: userImage1, alt: "User 1" }, + { imgSrc: userImage2, alt: "User 2" }, + { imgSrc: userImage3, alt: "User 3" }, + { imgSrc: userImage4, alt: "User 4" }, ]; ---
-
-
-
-
+
+
+
+
{ - Array.from('CRAWLORA').map((letter, index) => ( + Array.from("CRAWLORA").map((letter, index) => ( {letter} )) }
-

{homeSectionData.title}

-

{homeSectionData.description}

+

{homeSectionData.title}

+

{homeSectionData.description}

-
-
-
-
-
+
+
+
{ users.map((user) => ( -
+
{user.alt}
)) } -
-

99+

-
-
-
{homeSectionData.userCountText}
-

+

+

{homeSectionData.userCountDescription}

-
- Home Image +
+ Home Image
diff --git a/src/components/sections/pricing/LandingPagePrice.astro b/src/components/sections/pricing/LandingPagePrice.astro index 597923c..37d9063 100644 --- a/src/components/sections/pricing/LandingPagePrice.astro +++ b/src/components/sections/pricing/LandingPagePrice.astro @@ -1,56 +1,54 @@ --- -import betaLaunchData from '../../../../src/data_files/betaLaunchContent.json'; +import betaLaunchData from "../../../../src/data_files/betaLaunchContent.json"; const checkIcon = - 'mdi mdi-check-circle-outline f-20 text-primary me-2 align-middle'; + "mdi mdi-check-circle-outline f-20 text-primary me-2 align-middle"; --- -
-
-
-
-
-
🚀 Beta Launch Exclusive
-

- Be the First to Try Our New Product! -

-

+

+
+
+
+
+
🚀 Beta Launch Exclusive
+

Be the First to Try Crawlora!

+

Limited spots available for early adopters. Join now to shape the future of our product!

-
+
{ betaLaunchData.map((offer) => ( -
-
-
-
Exclusive Beta Offer
+
+
+
+
Exclusive Beta Offer
-
-
+
+
{offer.title}
-

{offer.description}

-
    +

    {offer.description}

    +
      {offer.features.map((feature) => ( -
    • +
    • {feature}
    • ))}
    -
    -
-