diff --git a/astro.config.mjs b/astro.config.mjs index ad34329..45afe62 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -8,7 +8,7 @@ import vue from "@astrojs/vue"; // https://astro.build/config -// https://astro.build/config +import partytown from '@astrojs/partytown'; export default defineConfig({ - integrations: [tailwind(), vue()] + integrations: [tailwind(), vue(),partytown()] }); \ No newline at end of file diff --git a/package.json b/package.json index 39bb185..ee7342b 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "push:prod": "rsync -azP dist/ teenybeanspreschoolcurriculum@15.207.69.124:/home/teenybeanspreschoolcurriculum/public_html" }, "dependencies": { + "@astrojs/partytown": "^1.0.3", "@astrojs/tailwind": "^2.1.3", "@astrojs/vue": "^1.2.2", "astro": "^1.7.2", diff --git a/src/components/EducatorsLicense.vue b/src/components/EducatorsLicense.vue index 85b5879..4109111 100644 --- a/src/components/EducatorsLicense.vue +++ b/src/components/EducatorsLicense.vue @@ -5,9 +5,6 @@
- - -

Student Accounts

@@ -64,37 +61,6 @@
-
-
-
-
-

Write to Us

-

Have queries regarding Hows and Whats of choosing a oerfect plan for you and your Preschool? Write to Us your Queries and we’ll get back to you ASAP

-
-
-
-
-
- - -
-
- - -
-
-
Your Message
- -
-
- - -
- -
-
-
-
\ No newline at end of file diff --git a/src/components/SchoolLicense.vue b/src/components/SchoolLicense.vue deleted file mode 100644 index 867720b..0000000 --- a/src/components/SchoolLicense.vue +++ /dev/null @@ -1,169 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/components/SchoolLicenseForm.vue b/src/components/SchoolLicenseForm.vue new file mode 100644 index 0000000..8ad22a1 --- /dev/null +++ b/src/components/SchoolLicenseForm.vue @@ -0,0 +1,33 @@ + \ No newline at end of file diff --git a/src/components/SchoolLicenseSlider.vue b/src/components/SchoolLicenseSlider.vue new file mode 100644 index 0000000..8b6ef54 --- /dev/null +++ b/src/components/SchoolLicenseSlider.vue @@ -0,0 +1,78 @@ + + + \ No newline at end of file diff --git a/src/pages/educators-license.astro b/src/pages/educators-license.astro index 540dd7f..fd5826e 100644 --- a/src/pages/educators-license.astro +++ b/src/pages/educators-license.astro @@ -1,11 +1,180 @@ --- import Layout from "../layouts/Layout.astro"; import Menu from "../components/Menu.astro"; -import EducatorsLicense from "../components/EducatorsLicense.vue"; +import EducatorsLicenseForm from "../components/EducatorsLicenseForm.vue"; import Footer from "../components/Footer.vue"; + +const response = await fetch('http://ip-api.com/json'); +const data = await response.json(); +const country = data.country; --- - +
+
+
+

Educator's License

+
+
+
+
+
+

Student Accounts

+
(30)
+
+
+
+
+
+ + +
+
+ + +
+
+
+
+
+
+
+
+

Monthly

+
+
+ {country=="India" ? +
+

₹ 100

+

(inclusive of all costs)

+ Pay Now + +
+ : +
+

$100

+

(inclusive of all costs)

+ + +
+ } +
+
+
+
+

Bi-Yearly

+
+
+ {country=="India" ? +
+

₹ 540

+

(inclusive of all costs)

+ Pay Now + +
+ : +
+

+ $600  $540 +

+ (10% Discount) +

(inclusive of all costs)

+ + +
+ } +
+
+
+
+

Yearly

+
+
+ {country=="India" ? +
+

₹ 1020

+

(inclusive of all costs)

+ Pay Now + +
+ : +
+

$1200  $1020

+ (15% Discount) +

(inclusive of all costs)

+ + +
+ } +
+
+
+ +
+
+
+