@@ -179,15 +193,9 @@ export default function Event({ event }: { event: IEvent }) {
// Generates `/posts/1` and `/posts/2`
export async function getStaticPaths() {
- const filePath = path.join(process.cwd(), 'pages', 'events', '_md');
-
- const files = fs.readdirSync(filePath, 'utf8');
-
- const paths = files
- .filter((f) => f.endsWith('.md'))
- .map((f) => {
- return { params: { event: f.replace(/\.md$/, '') } };
- });
+ const paths = Object.keys(events).map((event) => {
+ return { params: { event } };
+ });
return {
paths,
@@ -202,7 +210,7 @@ export async function getStaticProps({ params }: any) {
'pages',
'events',
'_md',
- `${params.event}.md`
+ `${params.event}.mdx`,
);
const fileContents = fs.readFileSync(filePath, 'utf8');
@@ -217,7 +225,8 @@ export async function getStaticProps({ params }: any) {
const event = {
event: params.event,
content: contentHtml,
- frontMatter: data,
+ // @ts-ignore
+ frontMatter: { ...data, ...events[params.event] },
};
return {
diff --git a/src/apps/devdoc/pages/events/_md/1.md b/src/apps/devdoc/pages/events/_md/1.md
deleted file mode 100644
index 7ba143b05..000000000
--- a/src/apps/devdoc/pages/events/_md/1.md
+++ /dev/null
@@ -1,27 +0,0 @@
----
-title: "Code Unbound: No Builds, No Deploys The New Era of Developments"
-metaTitle: "Code Unbound: No Builds, No Deploys The New Era of Developments"
-date: "2024-09-11"
-starttime: "16:00"
-endtime: "18:00"
-type: "Online"
-banner: "1"
-organizer:
- author: "Karthik Thriumalasetti"
- title: "Founder & CEO, Kloudlite"
----
-
-# Overview
-Lorem ipsum dolor sit amet. Aut voluptatem quod non iste cumque eos omnis velit. Et modi omnis qui facere nostrum aut tempore rerum et voluptate corrupti aut autem internos. Nam commodi iste sed internos officiis qui quas veniam ut eaque consequatur qui cupiditate amet qui corporis ratione! Hic quae veritatis est atque possimus ea incidunt laboriosam sit cumque quasi et autem dolores sit explicabo dolore.
-
-## Key takeaways:
-- Lorem ipsum dolor sit amet. Aut voluptatem quod non iste cumque eos omnis velit. Et modi omnis qui facere nostrum aut tempore rerum et voluptate corrupti aut autem internos.
-- Nam commodi iste sed internos officiis qui quas veniam ut eaque consequatur qui cupiditate amet qui corporis ratione! Hic quae veritatis est atque possimus ea incidunt laboriosam sit cumque quasi et autem dolores sit explicabo dolore.\
-- Lorem ipsum dolor sit amet. Aut voluptatem quod non iste cumque eos omnis velit. Et modi omnis qui facere nostrum aut tempore rerum et voluptate corrupti aut autem internos.
-
-## Who should attend
-- IT Decision-Makers
-- CTOs and CIOs
-- Application Developers
-- Data Scientists
-- Digital Transformation Leaders
diff --git a/src/apps/devdoc/pages/events/_md/code-unbound-new-age-development-environments.mdx b/src/apps/devdoc/pages/events/_md/code-unbound-new-age-development-environments.mdx
new file mode 100644
index 000000000..67b8ae12f
--- /dev/null
+++ b/src/apps/devdoc/pages/events/_md/code-unbound-new-age-development-environments.mdx
@@ -0,0 +1,31 @@
+---
+banner: "1"
+organizer:
+ author: "Karthik Thriumalasetti"
+ title: "Founder & CEO, Kloudlite"
+---
+
+### Host:
+
+Kloudlite – A Developer Experience Company
+
+### Overview:
+
+Get ready to revolutionize your development process with our latest event, "New Era of Development with Workspaces & Environments." This isn’t just another tech talk—it’s a deep dive into the future of development, where traditional roadblocks like build and deploy steps are a thing of the past.
+
+### What to Expect:
+
+- No Build, No Deploy: Discover how to instantly see your code in action without the delays of building or deploying. Kloudlite is leading the charge in this evolution, making development faster, smoother, and more productive.
+- Seamless Integration: Learn how to connect your local workspaces directly with remote environments, ensuring your development setup is always in sync with production.
+- Boost Productivity: Whether you're working on microservices, cloud-native applications, or distributed systems, we’ll show you how to streamline your workflows and collaborate effortlessly across teams.
+
+### Why Attend?
+
+This event is your opportunity to be part of the next generation of developers who are embracing innovative workflows that eliminate friction and boost efficiency. Hosted by Kloudlite, a tech pioneer from India, we’ll share insights on how we’ve evolved our platform to empower developers like you.
+
+
+### Don’t Miss Out!
+
+Join us and transform the way you code—say goodbye to the old way of doing things and embrace the future with Kloudlite.
+
+
diff --git a/src/apps/devdoc/web/utils/config.tsx b/src/apps/devdoc/web/utils/config.tsx
index 3b9ad2117..5df30770c 100644
--- a/src/apps/devdoc/web/utils/config.tsx
+++ b/src/apps/devdoc/web/utils/config.tsx
@@ -17,6 +17,7 @@ export const siteDesc =
'Kloudlite is a remote-local development environment platform designed to streamline the workflow for developers working on distributed applications. By integrating both local and remote environments through Kubernetes, Kloudlite ensures a seamless, productive, and more connected development experience.';
export const basePath = 'https://kloudlite.io';
export const authUrl = `${process.env.AUTH_URL}` || 'https://auth.kloudlite.io';
+export const webinarUrl = 'https://webinar.kloudlite.io';
export const contactUrl = `${process.env.CONTACT_URL}`;
export const consoleUrl =
`${process.env.CONSOLE_URL}` || 'https://console.kloudlite.io';
@@ -62,7 +63,7 @@ const BrandMenu = ({ className }: { className?: string }) => {
diff --git a/src/apps/devdoc/web/utils/const.tsx b/src/apps/devdoc/web/utils/const.tsx
index 903f03509..bbf39ccf4 100644
--- a/src/apps/devdoc/web/utils/const.tsx
+++ b/src/apps/devdoc/web/utils/const.tsx
@@ -87,7 +87,7 @@ import FibrSvg from '../icons/Fibr';
import PlaxonicSvg from '../icons/Plaxonic';
import RedPlutoSvg from '../icons/RedPluto';
import TalescaleSvg from '../icons/Talescale';
-import { authUrl } from './config';
+import { authUrl, webinarUrl } from './config';
export const linkedInPrefix = 'https://www.linkedin.com/in/';
export const githubPrefix = 'https://github.com/';
@@ -864,11 +864,11 @@ const consts = {
>
),
- time: '12:00-1:00 pm',
- date: 'Sep 14, 2024',
+ time: '12:15-1:15 pm',
+ date: 'Sep 21, 2024',
enabled: false,
linkContent: 'Register today',
- link: `${authUrl}/signup`,
+ link: `${webinarUrl}/code-unbound-new-age-development-environments/join`,
},
contactUs: {
cookies: {