add bootstrap.component.tsx, implement dynamic nav generation
This commit is contained in:
@@ -9,10 +9,13 @@ import QuotesComponent from "@/components/quotes.component";
|
||||
import BlogPostsComponent from "@/components/blog.posts.component";
|
||||
import FooterComponent from "@/components/footer.component";
|
||||
import SubscribeComponent from "@/components/subscribe.component";
|
||||
import SubHeaderComponent from "@/components/subHeader.component";
|
||||
import BootstrapComponent from "@/components/bootstrap.component";
|
||||
|
||||
export default function About() {
|
||||
return (
|
||||
<>
|
||||
<SubHeaderComponent />
|
||||
<OurServicesComponent />
|
||||
<AboutUsComponent />
|
||||
<OurSpecialitiesComponent />
|
||||
@@ -23,6 +26,8 @@ export default function About() {
|
||||
<SubscribeComponent />
|
||||
<FooterComponent />
|
||||
<AosComponent />
|
||||
<BootstrapComponent />
|
||||
|
||||
</>
|
||||
|
||||
);
|
||||
|
||||
29
yoga-app/src/app/faq/page.tsx
Normal file
29
yoga-app/src/app/faq/page.tsx
Normal file
@@ -0,0 +1,29 @@
|
||||
import React from "react";
|
||||
import AosComponent from "@/components/aos.component";
|
||||
import OurServicesComponent from "@/components/our.services.component";
|
||||
import AboutUsComponent from "@/components/about.us.component";
|
||||
import OurSpecialitiesComponent from "@/components/our.specialities.component";
|
||||
import ContactUsComponent from "@/components/contact.us.component";
|
||||
import PricingComponent from "@/components/pricing.component";
|
||||
import QuotesComponent from "@/components/quotes.component";
|
||||
import BlogPostsComponent from "@/components/blog.posts.component";
|
||||
import FooterComponent from "@/components/footer.component";
|
||||
import SubscribeComponent from "@/components/subscribe.component";
|
||||
|
||||
export default function About() {
|
||||
return (
|
||||
<>
|
||||
<OurServicesComponent />
|
||||
<AboutUsComponent />
|
||||
<OurSpecialitiesComponent />
|
||||
<ContactUsComponent />
|
||||
<PricingComponent />
|
||||
<QuotesComponent />
|
||||
<BlogPostsComponent />
|
||||
<SubscribeComponent />
|
||||
<FooterComponent />
|
||||
<AosComponent />
|
||||
</>
|
||||
|
||||
);
|
||||
}
|
||||
@@ -1,8 +1,6 @@
|
||||
import type {Metadata, Viewport} from "next";
|
||||
import "./globals.scss";
|
||||
import {IconDescriptor} from "next/dist/lib/metadata/types/metadata-types";
|
||||
import MainHeaderComponent from "@/components/mainHeaderComponent";
|
||||
|
||||
|
||||
const generateIconDescriptor = (rel: string, sizes: string, url: string): IconDescriptor => {
|
||||
// <link rel="apple-touch-icon" sizes="76x76"*/}
|
||||
|
||||
@@ -10,6 +10,7 @@ import BlogPostsComponent from "@/components/blog.posts.component";
|
||||
import FooterComponent from "@/components/footer.component";
|
||||
import SubscribeComponent from "@/components/subscribe.component";
|
||||
import MainHeaderComponent from "@/components/mainHeaderComponent";
|
||||
import BootstrapComponent from "@/components/bootstrap.component";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
@@ -25,6 +26,7 @@ export default function Home() {
|
||||
<SubscribeComponent />
|
||||
<FooterComponent />
|
||||
<AosComponent />
|
||||
<BootstrapComponent />
|
||||
</>
|
||||
|
||||
);
|
||||
|
||||
29
yoga-app/src/app/prices/page.tsx
Normal file
29
yoga-app/src/app/prices/page.tsx
Normal file
@@ -0,0 +1,29 @@
|
||||
import React from "react";
|
||||
import AosComponent from "@/components/aos.component";
|
||||
import OurServicesComponent from "@/components/our.services.component";
|
||||
import AboutUsComponent from "@/components/about.us.component";
|
||||
import OurSpecialitiesComponent from "@/components/our.specialities.component";
|
||||
import ContactUsComponent from "@/components/contact.us.component";
|
||||
import PricingComponent from "@/components/pricing.component";
|
||||
import QuotesComponent from "@/components/quotes.component";
|
||||
import BlogPostsComponent from "@/components/blog.posts.component";
|
||||
import FooterComponent from "@/components/footer.component";
|
||||
import SubscribeComponent from "@/components/subscribe.component";
|
||||
|
||||
export default function About() {
|
||||
return (
|
||||
<>
|
||||
<OurServicesComponent />
|
||||
<AboutUsComponent />
|
||||
<OurSpecialitiesComponent />
|
||||
<ContactUsComponent />
|
||||
<PricingComponent />
|
||||
<QuotesComponent />
|
||||
<BlogPostsComponent />
|
||||
<SubscribeComponent />
|
||||
<FooterComponent />
|
||||
<AosComponent />
|
||||
</>
|
||||
|
||||
);
|
||||
}
|
||||
29
yoga-app/src/app/services/page.tsx
Normal file
29
yoga-app/src/app/services/page.tsx
Normal file
@@ -0,0 +1,29 @@
|
||||
import React from "react";
|
||||
import AosComponent from "@/components/aos.component";
|
||||
import OurServicesComponent from "@/components/our.services.component";
|
||||
import AboutUsComponent from "@/components/about.us.component";
|
||||
import OurSpecialitiesComponent from "@/components/our.specialities.component";
|
||||
import ContactUsComponent from "@/components/contact.us.component";
|
||||
import PricingComponent from "@/components/pricing.component";
|
||||
import QuotesComponent from "@/components/quotes.component";
|
||||
import BlogPostsComponent from "@/components/blog.posts.component";
|
||||
import FooterComponent from "@/components/footer.component";
|
||||
import SubscribeComponent from "@/components/subscribe.component";
|
||||
|
||||
export default function About() {
|
||||
return (
|
||||
<>
|
||||
<OurServicesComponent />
|
||||
<AboutUsComponent />
|
||||
<OurSpecialitiesComponent />
|
||||
<ContactUsComponent />
|
||||
<PricingComponent />
|
||||
<QuotesComponent />
|
||||
<BlogPostsComponent />
|
||||
<SubscribeComponent />
|
||||
<FooterComponent />
|
||||
<AosComponent />
|
||||
</>
|
||||
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user