Skip to content

Commit

Permalink
Unification in home page
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-jagruti-a committed Dec 19, 2023
1 parent a267298 commit 59fc8b7
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 50 deletions.
2 changes: 1 addition & 1 deletion nuxt-frontend/components/contact/NewContactForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ export default {
});
localStorage.setItem(
"client-name",
JSON.stringify(formData.name)
JSON.stringify(formData.name),
);
this.resetForm();
})
Expand Down
3 changes: 1 addition & 2 deletions nuxt-frontend/components/home-new/BlogSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export default {
* get date in MMM DD, YYYY format
*/
element.pubDate = new Date(
element.pubDate.replace(/-/g, "/")
element.pubDate.replace(/-/g, "/"),
).toLocaleDateString("en-US", {
month: "long",
day: "2-digit",
Expand All @@ -218,7 +218,6 @@ export default {
}
this.activeBlog = blogs[0];
this.blogs = blogs;
console.log(this.blogs);
})
.catch(() => {});
},
Expand Down
2 changes: 1 addition & 1 deletion nuxt-frontend/components/home-new/ContributionSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export default {
() => this.cData,
(data) => {
setGithubStars(this.contributions, data);
}
},
);
if (this.cData != null) {
setGithubStars(this.contributions, this.cData);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export default {
() => this.cData,
(data) => {
setGithubStars(this.contributions, data);
}
},
);
if (this.cData != null) {
setGithubStars(this.contributions, this.cData);
Expand Down
36 changes: 18 additions & 18 deletions nuxt-frontend/components/home-new/HomeIndex.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,32 +30,32 @@ import LandingSection from "@/components/home-new/LandingSection.vue";
import { elementInViewPort } from "@/utils.js";
import { defineAsyncComponent } from "vue";
const CaseStudy = defineAsyncComponent(() =>
import("@/components/home-new/CaseStudy.vue")
const CaseStudy = defineAsyncComponent(
() => import("@/components/home-new/CaseStudy.vue"),
);
const ServiceSection = defineAsyncComponent(() =>
import("@/components/home-new/ServiceSection.vue")
const ServiceSection = defineAsyncComponent(
() => import("@/components/home-new/ServiceSection.vue"),
);
const ServiceSectionMobile = defineAsyncComponent(() =>
import("@/components/home-new/ServiceSectionMobile.vue")
const ServiceSectionMobile = defineAsyncComponent(
() => import("@/components/home-new/ServiceSectionMobile.vue"),
);
const ContributionSection = defineAsyncComponent(() =>
import("@/components/home-new/ContributionSection.vue")
const ContributionSection = defineAsyncComponent(
() => import("@/components/home-new/ContributionSection.vue"),
);
const ContributionSectionMobile = defineAsyncComponent(() =>
import("@/components/home-new/ContributionSectionMobile.vue")
const ContributionSectionMobile = defineAsyncComponent(
() => import("@/components/home-new/ContributionSectionMobile.vue"),
);
const ClientReview = defineAsyncComponent(() =>
import("@/components/home-new/ClientReviewSection.vue")
const ClientReview = defineAsyncComponent(
() => import("@/components/home-new/ClientReviewSection.vue"),
);
const CTASection = defineAsyncComponent(() =>
import("@/components/mobile-app-development/CTASection2.vue")
const CTASection = defineAsyncComponent(
() => import("@/components/mobile-app-development/CTASection2.vue"),
);
const BlogSection = defineAsyncComponent(() =>
import("@/components/home-new/BlogSection.vue")
const BlogSection = defineAsyncComponent(
() => import("@/components/home-new/BlogSection.vue"),
);
const NewFooter = defineAsyncComponent(() =>
import("@/components/partials/NewFooter.vue")
const NewFooter = defineAsyncComponent(
() => import("@/components/partials/NewFooter.vue"),
);
export default {
Expand Down
2 changes: 1 addition & 1 deletion nuxt-frontend/components/home-new/UserReview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default {
},
components: {
LottieAnimation: defineAsyncComponent(() =>
import("@/components/utils/LottieAnimation.vue")
import("@/components/utils/LottieAnimation.vue"),
),
},
mounted() {
Expand Down
28 changes: 14 additions & 14 deletions nuxt-frontend/pages/flutter-app-development.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,26 @@ import { defineAsyncComponent } from "vue";
import { elementInViewPort } from "@/utils.js";
import LandingSection from "@/components/flutter-app-development/LandingSection.vue";
import DevelopmentSection from "@/components/flutter-app-development/DevelopmentSection.vue";
const CaseStudySection = defineAsyncComponent(() =>
import("@/components/flutter-app-development/CaseStudySection.vue")
const CaseStudySection = defineAsyncComponent(
() => import("@/components/flutter-app-development/CaseStudySection.vue"),
);
const CtaSection = defineAsyncComponent(() =>
import("@/components/flutter-app-development/CtaSection.vue")
const CtaSection = defineAsyncComponent(
() => import("@/components/flutter-app-development/CtaSection.vue"),
);
const SuccessStory = defineAsyncComponent(() =>
import("@/components/flutter-app-development/SuccessStorySection.vue")
const SuccessStory = defineAsyncComponent(
() => import("@/components/flutter-app-development/SuccessStorySection.vue"),
);
const BlogSection = defineAsyncComponent(() =>
import("@/components/flutter-app-development/BlogSection.vue")
const BlogSection = defineAsyncComponent(
() => import("@/components/flutter-app-development/BlogSection.vue"),
);
const CtaSection2 = defineAsyncComponent(() =>
import("@/components/flutter-app-development/CtaSection2.vue")
const CtaSection2 = defineAsyncComponent(
() => import("@/components/flutter-app-development/CtaSection2.vue"),
);
const FaqSection = defineAsyncComponent(() =>
import("@/components/flutter-app-development/FaqSection.vue")
const FaqSection = defineAsyncComponent(
() => import("@/components/flutter-app-development/FaqSection.vue"),
);
const NewFooter = defineAsyncComponent(() =>
import("@/components/partials/NewFooter.vue")
const NewFooter = defineAsyncComponent(
() => import("@/components/partials/NewFooter.vue"),
);
export default {
Expand Down
24 changes: 12 additions & 12 deletions nuxt-frontend/pages/mobile-app-development.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,23 @@ import config from "@/config.js";
import { defineAsyncComponent } from "vue";
import { elementInViewPort } from "@/utils.js";
const Portfolio = defineAsyncComponent(() =>
import("@/components/mobile-app-development/Portfolio.vue")
const Portfolio = defineAsyncComponent(
() => import("@/components/mobile-app-development/Portfolio.vue"),
);
const CTASection = defineAsyncComponent(() =>
import("@/components/mobile-app-development/CTASection.vue")
const CTASection = defineAsyncComponent(
() => import("@/components/mobile-app-development/CTASection.vue"),
);
const DevelopmentProcess = defineAsyncComponent(() =>
import("@/components/mobile-app-development/DevelopmentProcess.vue")
const DevelopmentProcess = defineAsyncComponent(
() => import("@/components/mobile-app-development/DevelopmentProcess.vue"),
);
const ClientReview = defineAsyncComponent(() =>
import("@/components/mobile-app-development/ClientReview.vue")
const ClientReview = defineAsyncComponent(
() => import("@/components/mobile-app-development/ClientReview.vue"),
);
const CTASection2 = defineAsyncComponent(() =>
import("@/components/mobile-app-development/CTASection2.vue")
const CTASection2 = defineAsyncComponent(
() => import("@/components/mobile-app-development/CTASection2.vue"),
);
const NewFooter = defineAsyncComponent(() =>
import("@/components/partials/NewFooter.vue")
const NewFooter = defineAsyncComponent(
() => import("@/components/partials/NewFooter.vue"),
);
const { $mixpanel } = useNuxtApp();
Expand Down

0 comments on commit 59fc8b7

Please sign in to comment.