Skip to content

Commit

Permalink
changed backend page file
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-ashish-k committed Dec 7, 2023
1 parent 840ba24 commit c85ae75
Show file tree
Hide file tree
Showing 9 changed files with 161 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-frontend-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: DeployFrontendDev

on:
push:
branches:
- "master"
# branches:
# - "master"

jobs:
deploy-frontend-dev:
Expand Down
Binary file not shown.
50 changes: 50 additions & 0 deletions nuxt-frontend/components/backend-development/LandingSection.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<template>
<section class="bg-ios-landing-background bg-opacity-10 3xl:outer-container">
<div
class="container flex flex-col lg:flex-row pt-6 lg:py-[7.5rem] gap-4 text-center lg:text-left"
>
<div class="flex flex-col gap-4 lg:gap-6 lg:flex-1">
<h1 class="header-1 text-black-core/[0.87] lg:w-1/2">
Backend development company
</h1>
<p class="sub-h1-regular xs:px-4 lg:!px-0 text-black-core/[0.6]">
Our backend development team isn’t just about writing code; it's about
crafting powerful, efficient, scalable, and secure foundations that
drive innovative applications. We shape, optimize, and elevate digital
platforms ensuring they're ready for tomorrow's challenges.
</p>
<nuxt-link
class="gradient-btn primary-btn ml-0 hidden lg:flex"
to="/contact"
@click.native="$mixpanel.track('tap_backend_landing_cta')"
>
<span class="sub-h3-semibold xl:sub-h4-semibold"
>Be Future-Ready With Us</span
></nuxt-link
>
</div>
<div class="flex flex-col -gap-1 lg:flex-1 lg:my-auto">
<div class="w-4/5 md:w-3/5 lg:w-full mx-auto">
<img
:src="landing"
alt="backend"
class="w-full h-full object-cover"
/>
</div>
<nuxt-link
class="gradient-btn primary-btn mb-16 lg:hidden"
to="/contact"
@click.native="$mixpanel.track('tap_backend_landing_cta')"
>
<span class="sub-h3-semibold"
>Be Future-Ready With Us</span
></nuxt-link
>
</div>
</div>
</section>
</template>
<script setup>
import landing from "@/assets/images/backend-development/landing/landing.webm";
const { $mixpanel } = useNuxtApp();
</script>
2 changes: 2 additions & 0 deletions nuxt-frontend/components/services/WhatWeOfferDesktop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ export default {
title: "Backend Development",
description:
"The 'behind-the-scenes' backbone of any app, the backend, handles the critical tasks of data management, server configuration, and application logic. Our experts ensure your app is robust, secure, and efficient from its core, enabling it to handle high traffic loads, process data swiftly, and interact flawlessly with front-end requests.",
url: "/backend-development",
showServices: config.SHOW_BACKEND_DEVELOPMENT_PAGE,
},
{
path: [100, 100],
Expand Down
2 changes: 2 additions & 0 deletions nuxt-frontend/components/services/WhatWeOfferMobile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ export default {
"The 'behind-the-scenes' backbone of any app, the backend, handles the critical tasks of data management, server configuration, and application logic. Our experts ensure your app is robust, secure, and efficient from its core, enabling it to handle high traffic loads, process data swiftly, and interact flawlessly with front-end requests.",
class:
"bg-gradient-to-b from-[#D2D8E3]/[0.95] via-[#D2D8E3]/[0.95] to-white bg-gradient-[180deg] ",
url: "/backend-development",
showServices: config.SHOW_BACKEND_DEVELOPMENT_PAGE,
},
{
images: [frontend400w, frontend800w],
Expand Down
9 changes: 9 additions & 0 deletions nuxt-frontend/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,19 @@ export default Object.freeze({
url: "https://dev-stack.canopas.com/flutter-app-development",
image: "https://dev-stack.canopas.com/apple-touch-icon.png",
},
BACKEND_DEVELOPMENT_SEO_META_DATA: {
title: "Backend Development Company - Canopas",
description:
"We create bespoke Backend API's known for their supreme performance, unwavering security, and outmost reliability",
type: "Website",
url: "https://dev-stack.canopas.com/backend-development",
image: "https://dev-stack.canopas.com/apple-touch-icon.png",
},
IS_PROD: false,
SHOW_ANDROID_APP_DEVELOPMENT_PAGE: true,
SHOW_IOS_APP_DEVELOPMENT_PAGE: true,
SHOW_FLUTTER_APP_DEVELOPMENT_PAGE: true,
SHOW_BACKEND_DEVELOPMENT_PAGE: true,
SMILEPLUS_URL: "https://www.udini.ai/products/smile",
WEBSITE_OPEN_SOURCE_URL: "https://github.com/canopas/canopas-website",
MIX_PANEL_TOKEN: "acf7239a736ff487ca6058c981a55d7e",
Expand Down
13 changes: 11 additions & 2 deletions nuxt-frontend/config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,22 @@ export default Object.freeze({
description:
"We create bespoke Flutter applications known for their supreme performance, unwavering security, and outmost reliability",
type: "Website",
url: "https://dev-stack.canopas.com/flutter-app-development",
image: "https://dev-stack.canopas.com/apple-touch-icon.png",
url: "https://canopas.com/flutter-app-development",
image: "https://canopas.com/apple-touch-icon.png",
},
BACKEND_DEVELOPMENT_SEO_META_DATA: {
title: "Backend Development Company - Canopas",
description:
"We create bespoke Backend API's known for their supreme performance, unwavering security, and outmost reliability",
type: "Website",
url: "https://canopas.com/backend-development",
image: "https://canopas.com/apple-touch-icon.png",
},
IS_PROD: true,
SHOW_ANDROID_APP_DEVELOPMENT_PAGE: true,
SHOW_IOS_APP_DEVELOPMENT_PAGE: true,
SHOW_FLUTTER_APP_DEVELOPMENT_PAGE: false,
SHOW_BACKEND_DEVELOPMENT_PAGE: false,
SMILEPLUS_URL: "https://www.udini.ai/products/smile",
WEBSITE_OPEN_SOURCE_URL: "https://github.com/canopas/canopas-website",
MIX_PANEL_TOKEN: "16b177c2cda3ec1fb11c63a07f27996c",
Expand Down
69 changes: 69 additions & 0 deletions nuxt-frontend/pages/backend-development.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<template>
<div>
<Header />
<LandingSection />
<NewFooter class="-mt-4 md:mt-0" />
</div>
</template>
<script>
export default {
methods: {
beforeRouteEnter(to, from, next) {
if (!config.SHOW_BACKEND_DEVELOPMENT_PAGE) {
next({
name: "Error404Page",
params: { pathMatch: "/backend-development" },
});
} else {
next();
}
},
},
};
</script>
<script setup>
import Header from "@/components/partials/NewHeader.vue";
import config from "@/config.js";
import { defineAsyncComponent } from "vue";
import { elementInViewPort } from "@/utils.js";
import LandingSection from "@/components/backend-development/LandingSection.vue";
const NewFooter = defineAsyncComponent(
() => import("@/components/partials/NewFooter.vue"),
);
const { $mixpanel } = useNuxtApp();
const footer = ref(null);
const seoData = config.BACKEND_DEVELOPMENT_SEO_META_DATA;
useSeoMeta({
robots: "noindex,nofollow",
title: seoData.title,
description: seoData.description,
ogTitle: seoData.title,
ogType: seoData.type,
ogUrl: seoData.url,
ogImage: seoData.image,
});
let event = "";
let events = {
footer: "view_backend_development_footer",
};
let elements;
onMounted(() => {
elements = ref({
footer: footer,
});
window.addEventListener("scroll", sendEvent);
$mixpanel.track("view_backend_development_page");
});
onUnmounted(() => {
window.removeEventListener("scroll", sendEvent);
});
function sendEvent() {
const newEvent = events[elementInViewPort(elements.value)];
if (newEvent && event !== newEvent) {
event = newEvent;
$mixpanel.track(event);
}
}
</script>
17 changes: 16 additions & 1 deletion nuxt-frontend/pages/flutter-app-development.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,22 @@
<NewFooter class="-mt-4 md:mt-auto" ref="flutterFooter" />
</div>
</template>

<script>
export default {
methods: {
beforeRouteEnter(to, from, next) {
if (!config.SHOW_FLUTTER_APP_DEVELOPMENT_PAGE) {
next({
name: "Error404Page",
params: { pathMatch: "/flutter-app-development" },
});
} else {
next();
}
},
},
};
</script>
<script setup>
import Header from "@/components/partials/NewHeader.vue";
import config from "@/config.js";
Expand Down

0 comments on commit c85ae75

Please sign in to comment.