From e516ce2ead9547d5afddb22d23f9c43190a28a92 Mon Sep 17 00:00:00 2001 From: Lukas Prochazka Date: Wed, 8 Jan 2025 12:18:41 +0100 Subject: [PATCH] Revert markdown files --- content/articles/embracing-the-cloud.md | 6 +++--- content/articles/real-time-collaboration.md | 2 +- content/work/code-collab.md | 8 ++++---- content/work/health-track.md | 2 +- content/work/task-buddy.md | 2 +- utils/content.ts | 1 + 6 files changed, 11 insertions(+), 10 deletions(-) diff --git a/content/articles/embracing-the-cloud.md b/content/articles/embracing-the-cloud.md index 79d8201..6d6ecc8 100644 --- a/content/articles/embracing-the-cloud.md +++ b/content/articles/embracing-the-cloud.md @@ -15,9 +15,9 @@ Serverless computing—often misunderstood as a misnomer—does not eliminate se ## Why Serverless? The adoption of serverless can lead to significant cost savings, especially for applications with variable traffic, due to its pay-as-you-go pricing model. It simplifies operations by eliminating the need for infrastructure provisioning and maintenance. For startups and enterprises alike, this means a sharper focus on product development rather than operational complexities. - + ### Transitioning to Serverless - + Transitioning to serverless is not an overnight process; it requires meticulous planning and an iterative approach. Start by identifying the components of your application that can be isolated as functions. This could be anything from a user authentication process to a scheduled task that generates reports. Cloud services like AWS Lambda, Azure Functions, and Google Cloud Functions offer excellent starting points. These platforms allow you to deploy code that executes in response to events, such as HTTP requests, database changes, or queue processing. @@ -42,4 +42,4 @@ While the shift may be challenging—requiring changes in code structure, deploy ## Conclusion -The transition to serverless is a strategic step forward into a future where scalability, cost-efficiency, and developer productivity are paramount. By understanding its core principles and thoughtfully applying them, organizations can reap the full benefits of cloud-native innovation. +The transition to serverless is a strategic step forward into a future where scalability, cost-efficiency, and developer productivity are paramount. By understanding its core principles and thoughtfully applying them, organizations can reap the full benefits of cloud-native innovation. \ No newline at end of file diff --git a/content/articles/real-time-collaboration.md b/content/articles/real-time-collaboration.md index dde4cb2..8f61b86 100644 --- a/content/articles/real-time-collaboration.md +++ b/content/articles/real-time-collaboration.md @@ -40,4 +40,4 @@ With real-time collaboration comes the need for robust security to prevent unaut ## Conclusion -Building CodeCollab was a journey rife with challenges but equally rewarding. It underscored the power of WebSockets in creating dynamic, real-time applications and the importance of thoughtful architecture in managing real-time data and connections. As the landscape of collaborative tools expands, the learnings from CodeCollab will undoubtedly contribute to future innovations in this exciting domain. +Building CodeCollab was a journey rife with challenges but equally rewarding. It underscored the power of WebSockets in creating dynamic, real-time applications and the importance of thoughtful architecture in managing real-time data and connections. As the landscape of collaborative tools expands, the learnings from CodeCollab will undoubtedly contribute to future innovations in this exciting domain. \ No newline at end of file diff --git a/content/work/code-collab.md b/content/work/code-collab.md index 6652d98..4302cbf 100644 --- a/content/work/code-collab.md +++ b/content/work/code-collab.md @@ -5,8 +5,8 @@ slug: "code-collab" selectedWork: false description: "An online platform for developers to pair program in real-time with an integrated code editor and video chat." previewImage: "/images/work/delight/delight-preview.png" -techStack: - - Next.js - - Typescript - - Tailwindcss +techStack: + - Next.js + - Typescript + - Tailwindcss --- diff --git a/content/work/health-track.md b/content/work/health-track.md index 3c0b667..ca82c37 100644 --- a/content/work/health-track.md +++ b/content/work/health-track.md @@ -11,4 +11,4 @@ techStack: - Tailwindcss --- -A mobile app that integrates with wearable devices to track health metrics and provide personalized fitness advice. +A mobile app that integrates with wearable devices to track health metrics and provide personalized fitness advice. \ No newline at end of file diff --git a/content/work/task-buddy.md b/content/work/task-buddy.md index 04532ac..9662a26 100644 --- a/content/work/task-buddy.md +++ b/content/work/task-buddy.md @@ -15,4 +15,4 @@ techStack: - Next.js - Typescript - Tailwindcss ---- +--- \ No newline at end of file diff --git a/utils/content.ts b/utils/content.ts index 71deaef..98fa9b9 100644 --- a/utils/content.ts +++ b/utils/content.ts @@ -144,6 +144,7 @@ export const getContentData = async ( const match = filenames.filter((filename) => { const filePath = path.join(contentTypeDirectory, filename); const fileContent = fs.readFileSync(filePath, 'utf-8'); + const matterResult = matter(fileContent); const { slug } = matterResult.data; return slug === id;