Akademy Landing MPA

This commit is contained in:
2025-06-09 20:49:38 +05:30
parent 8c3382e438
commit 14d7041e87
522 changed files with 43436 additions and 12935 deletions

View File

@@ -0,0 +1,41 @@
---
import Layout from "../../layouts/Layout.astro";
import SingleBlog from "../../components/Blogs/SingleBlog";
const BLOG_API_URL = "https://curriculum-app-api.beanstalkedu.com/items/blog";
const { id } = Astro.params;
let blogData = null;
try {
const response = await fetch(`${BLOG_API_URL}?filter[status][_eq]=published&filter[property][_eq]=aKadmy&filter[slug][_eq]=${id}`);
if (!response.ok) {
throw new Error(`Failed to fetch blog. Status: ${response.status}`);
}
const data = await response.json();
blogData = data.data[0]; // Assuming single result
} catch (error) {
console.error('Error fetching blog:', error);
}
export async function getStaticPaths() {
const BLOG_API_URL = "https://curriculum-app-api.beanstalkedu.com/items/blog";
try {
const response = await fetch(`${BLOG_API_URL}?filter[status][_eq]=published&filter[property][_eq]=aKadmy`);
const data = await response.json();
const paths = data.data.map((blog: { slug: string }) => ({
params: { id: blog.slug },
}));
return paths;
} catch (error) {
console.error('Error generating static paths:', error);
return [];
}
}
---
<Layout title={blogData?.title ?? 'Blog | Akademy'}>
<SingleBlog client:only="react" blog={blogData} />
</Layout>

View File

@@ -0,0 +1,20 @@
---
import Layout from "../../layouts/Layout.astro";
import AllBlogs from "../../components/Blogs/index";
const BLOG_API_URL = "https://curriculum-app-api.beanstalkedu.com/items/blog";
let blogs = [];
try {
const response = await fetch(`${BLOG_API_URL}?filter[status][_eq]=published&filter[property][_eq]=aKadmy`);
const data = await response.json();
blogs = data.data || [];
console.log("Fetched blogs:", blogs[0].slug);
} catch (error) {
console.error("Error fetching blogs:", error);
blogs = [];
}
---
<Layout title="Akademy Landing - Blogs">
<AllBlogs client:only="react" />
</Layout>

View File

@@ -0,0 +1,15 @@
---
import Layout from "../layouts/Layout.astro";
import TeenyBeans from "../components/teenybeans/TeenyBeans"
---
<Layout
title = "Digital Preschool Curriculum | aKadmy - AI-Powered Early Learning"
description = "Explore aKadmy's Digital Preschool Curriculum, powered by AI to enhance early education. Our interactive platform personalizes learning for preschoolers, ensuring a comprehensive, fun, and engaging experience."
keywords = "Learning, aKadmy, Early Education, Preschool, Engaging, playful"
ogImage = "/assets/akademy_Logo.png"
ogUrl = "https://akadmyapp.com/digital-preschool-curriculum"
canonicalUrl = "https://akadmyapp.com/digital-preschool-curriculum"
>
<TeenyBeans client:only="react" />
</Layout>

View File

@@ -1,85 +1,17 @@
---
import Layout from '../layouts/Layout.astro';
import Card from '../components/Card.astro';
import MainHeader from '../components/MainHeader.vue';
import Footer from '../components/Footer.astro';
import Layout from "../layouts/Layout.astro";
import HomePage from "../components/Home/Home.jsx";
---
<Layout title="Welcome to Astro.">
<MainHeader />
<main>
<h1>Welcome to <span class="text-gradient">Astro</span></h1>
<p class="instructions">
To get started, open the directory <code>src/pages</code> in your project.<br />
<strong>Code Challenge:</strong> Tweak the "Welcome to Astro" message above.
</p>
<ul role="list" class="link-card-grid">
<Card
href="https://docs.astro.build/"
title="Documentation"
body="Learn how Astro works and explore the official API docs."
/>
<Card
href="https://astro.build/integrations/"
title="Integrations"
body="Supercharge your project with new frameworks and libraries."
/>
<Card
href="https://astro.build/themes/"
title="Themes"
body="Explore a galaxy of community-built starter themes."
/>
<Card
href="https://astro.build/chat/"
title="Community"
body="Come say hi to our amazing Discord community. ❤️"
/>
</ul>
</main>
<Footer />
<Layout
title = "Transform Early Learning with aKadmy's AI-Powered Education Tools"
description = "AI-powered educational games and interactive platforms engage young learners with fun, meaningful learning experiences. Get the brochure."
keywords = "Learning, aKadmy, Early Education, Preschool, Engaging, playful"
ogImage = "/assets/akademy_Logo.png"
ogUrl = "https://akadmyapp.com"
canonicalUrl = "https://akadmyapp.com"
>
<HomePage client:only="react" />
</Layout>
<style>
main {
margin: auto;
padding: 1.5rem;
max-width: 60ch;
}
h1 {
font-size: 3rem;
font-weight: 800;
margin: 0;
}
.text-gradient {
background-image: var(--accent-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 400%;
background-position: 0%;
}
.instructions {
line-height: 1.6;
margin: 1rem 0;
border: 1px solid rgba(var(--accent), 25%);
background-color: white;
padding: 1rem;
border-radius: 0.4rem;
}
.instructions code {
font-size: 0.875em;
font-weight: bold;
background: rgba(var(--accent), 12%);
color: rgb(var(--accent));
border-radius: 4px;
padding: 0.3em 0.45em;
}
.instructions strong {
color: rgb(var(--accent));
}
.link-card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(24ch, 1fr));
gap: 1rem;
padding: 0;
}
</style>

View File

@@ -0,0 +1,15 @@
---
import Layout from "../layouts/Layout.astro";
import Interakto from "../components/interaKto/InteraKto";
---
<Layout
title = "Interactive Learning Resources for Preschool | aKadmy - Engaging Early Education"
description = "Spark your child's curiosity with aKadmys playful, interactive preschool resources—designed to make early learning fun, engaging, and meaningful."
keywords = "Learning, aKadmy, Early Education, Preschool, Engaging, playful"
ogImage = "/assets/akademy_Logo.png"
ogUrl = "https://akadmyapp.com/interactive-learning-resources-for-preschool"
canonicalUrl = "https://akadmyapp.com/interactive-learning-resources-for-preschool"
>
<Interakto client:only="react" />
</Layout>

View File

@@ -0,0 +1,14 @@
---
import Layout from "../layouts/Layout.astro";
import InteraktoCoding from "../components/IntraktoCoding/IntraktoCoding";
---
<Layout
title = "Interakto Coding - 5000+ Worksheets for Fun Learning | aKadmy"
description = "Discover Interakto Coding by aKadmy 5000+ engaging worksheets to make learning coding fun for kids. Empower educators with interactive, hands-on tools."
keywords = "Learning, aKadmy, Early Education, Preschool, Engaging, playful"
ogImage = "/assets/akademy_Logo.png"
ogUrl = "https://akadmyapp.com/interactive-learning-resources-for-preschool"
canonicalUrl = "https://akadmyapp.com/interactive-learning-resources-for-preschool"
>
<InteraktoCoding client:only="react" />
</Layout>

View File

@@ -0,0 +1,15 @@
---
import Layout from "../layouts/Layout.astro";
import ForSchools from "../components/Schools/LearningSolutions"
---
<Layout
title = "AI-Powered Learning Solutions for Preschools | aKadmy"
description = "Discover aKadmys AI-driven learning solutions designed for preschools. Empower educators with interactive tools that inspire young learners and enhance classroom management."
keywords = "Learning, aKadmy, Early Education, Preschool, Engaging, playful"
ogImage = "/assets/akademy_Logo.png"
ogUrl = "https://akadmyapp.com/interactive-learning-resources-for-preschool"
canonicalUrl = "https://akadmyapp.com/interactive-learning-resources-for-preschool"
>
<ForSchools client:only="react" />
</Layout>

View File

@@ -0,0 +1,13 @@
---
import Layout from "../layouts/Layout.astro";
import Toddlers from "../components/toddlers/Toddlers"
---
<Layout
title = "Mother-Toddler Program | aKadmy - Engaging Early Childhood Learning"
description = "Discover aKadmy's Mother-Toddler Program, designed to foster early childhood development through interactive play, learning activities, and bonding time. Enroll now to nurture your child's growth in a stimulating environment!"
keywords = "Learning, aKadmy, Early Education, Preschool, Engaging, playful"
ogImage = "/assets/akademy_Logo.png"
ogUrl = "https://akadmyapp.com/mother-toddler-program"
canonicalUrl = "https://akadmyapp.com/mother-toddler-program">
<Toddlers client:only="react" />
</Layout>

View File

@@ -0,0 +1,14 @@
---
import Layout from "../layouts/Layout.astro";
import Products from "../components/Product/Product"
---
<Layout
title = "Preschool Management Solutions | Streamline Operations with aKadmy"
description = "Streamline your preschool's operations with aKadmy's AI-powered tools for efficient management, curriculum planning, and enhanced learning outcomes."
keywords = "Learning, aKadmy, Early Education, Preschool, Engaging, playful"
ogImage = "/assets/akademy_Logo.png"
ogUrl = "https://akadmyapp.com/preschool-management-solutions"
canonicalUrl = "https://akadmyapp.com/preschool-management-solutions">
<Products client:only="react" />
</Layout>

View File

@@ -0,0 +1,8 @@
---
import Layout from "../../layouts/Layout.astro";
import PlatformPricingWrapper from "../../components/Pricing/PlatformPricingWrapper.jsx";
---
<Layout title="Akademy Landing - Home">
<PlatformPricingWrapper client:only="react" />
</Layout>

View File

@@ -0,0 +1,8 @@
---
import Layout from "../../layouts/Layout.astro";
import ProductPricingWrapper from "../../components/Pricing/ProductPricingWrapper.jsx";
---
<Layout title="Akademy Landing - Home">
<ProductPricingWrapper client:only="react" />
</Layout>

View File

@@ -0,0 +1,8 @@
---
import Layout from "../../layouts/Layout.astro";
// import CartPage from "../../components/purchase/Cart/Cart";
import CartWrapperPage from "../../components/purchase/Cart/CartWrapper"
---
<Layout title="Cart | Akademy">
<CartWrapperPage client:only="react" />
</Layout>

View File

@@ -0,0 +1,8 @@
---
import Layout from "../../layouts/Layout.astro";
// import CartPage from "../../components/purchase/Cart/Cart";
import CartWrapperPage from "../../components/purchase/Cart/CartWrapper"
---
<Layout title="Cart | Akademy">
<CartWrapperPage client:only="react" />
</Layout>

View File

@@ -0,0 +1,8 @@
---
import Layout from "../../layouts/Layout.astro";
// import UserDetail from "../../components/purchase/Checkout/UserDetails"
import UserDetailsWrapper from "../../components/purchase/Checkout/UserDetailsWrapper"
---
<Layout title="Cart | Akademy">
<UserDetailsWrapper client:only="react" />
</Layout>

7
src/pages/signin.astro Normal file
View File

@@ -0,0 +1,7 @@
---
import Layout from "../layouts/Layout.astro";
import SignUpScreen from "../components/Auth/SignInScreen"
---
<Layout title="Sign In | Akademy">
<SignUpScreen client:only="react" />
</Layout>