update from russia!

Seto Elkahfi committed Dec 26, 2024 at 23:31 UTC 1b261b3a1cb41efb16c7109ab890ae0452130f96
9 files changed +35 -13
app/page.tsx
+2 -1
@@ -2,9 +2,10 @@ import { allPosts } from "@/.contentlayer/generated";
2 import Link from "next/link";
3
4 export default function Home() {
5 + const publishedPosts = allPosts.filter((post) => post.published)
6 return (
7 <div className="prose dark:prose-invert">
7 - {allPosts.map((post) => (
8 + {publishedPosts.map((post) => (
9 <article key={post._id}>
10 <Link href={post.slug}>
11 <h2>{post.title}</h2>
app/posts/[...slug]/page.tsx
+3 -1
@@ -12,7 +12,9 @@ interface PostProps {
12
13 async function getPostFromParams(params: PostProps["params"]) {
14 const slug = params?.slug?.join("/");
15 - const post = allPosts.find((post) => post.slugAsParams === slug);
15 + const post = allPosts
16 + .filter((post) => post.published)
17 + .find((post) => post.slugAsParams === slug);
18
19 if (!post) {
20 null;
components/footer.tsx
+5 -1
@@ -1,12 +1,16 @@
1 // Generate footer
2
3 import Link from "next/link";
4 -import { FaFacebook, FaInstagram, FaYoutube } from "react-icons/fa";
4 +import { FaFacebook, FaGithub, FaInstagram, FaYoutube } from "react-icons/fa";
5
6 export default function Footer() {
7 return (
8 <footer className="py-8 text-center text-gray-500 text-sm">
9 <div className="flex justify-center space-x-4 m-2">
10 + <Link href={"https://github.com/smbcloudXYZ"} target="_blank">
11 + <FaGithub size={30} />
12 + smbCloudXYZ
13 + </Link>
14 <Link href={"https://www.youtube.com/@smbcloudXYZ"} target="_blank">
15 <FaYoutube size={30} />
16 smbCloudXYZ
content/pages/about.mdx
+2 -2
@@ -1,7 +1,7 @@
1 ---
2 title: About
3 -description: About smbCloudXYZ
3 +description: A next-gen cloud platform powering small and medium-sized businesses.
4 ---
5
6 -smbCloudXYZ (smbCloud) offers small and medium-sized businesses easy, on-demand access to powerful, open-source software solutions in the cloud—without the hassle of installation or expensive licenses.
6 +[smbCloudXYZ](https://smbcloud.xyz) offers small and medium-sized businesses easy, on-demand access to powerful, open-source software solutions in the cloud—without the hassle of installation or expensive licenses.
7
content/posts/introducing-smbcloud.mdx
+9 -8
@@ -2,23 +2,24 @@
2 title: Introducing smbCloudXYZ
3 description: AWS/Gooogle Cloud/Microsoft Azure for small-medium enterprises.
4 date: "2024-11-10"
5 +published: true
6 ---
7
8
9 Introducing smbCloudXYZ (smbCloud): Powering Your Business with the Cloud
10
10 -At Amazon, we’ve built some of the world’s most powerful computing infrastructure to run our own business. Now, with Amazon Web Services (smbCloud), we’re offering these same services to small and medium-sized businesses like yours.
11 +At [Splitfire AI](https://splitfire.ai), we’ve built some of the world’s most complex and powerful computing infrastructure to run our own business. Now, with [smbCloudXYZ](https://smbcloud.xyz), we’re offering these same services to small and medium-sized businesses like yours.
12
12 -With smbCloud, you no longer need to buy and maintain expensive servers or worry about capacity planning. Instead, you can:
13 +With [smbCloudXYZ](https://smbcloud.xyz), you no longer need to buy and maintain expensive servers, AB test tool, analytics, or worry about capacity planning. Instead, you can:
14
14 -Access Powerful Infrastructure: Get immediate access to computing power, storage, and databases with the same technology used by Amazon.com. Scale your resources up or down on demand to match your business needs.
15 +Access Powerful Infrastructure: Get immediate access to computing power, storage, and databases with the same technology used by [Splitfire AI](https://splitfire.ai). Scale your resources up or down on demand to match your business needs.
16
16 -Pay Only for What You Use: No upfront costs. No long-term commitments. You only pay for the resources you consume, allowing you to align your IT costs with your actual usage.
17 +Pay-as-You-Go: No upfront costs. No long-term commitments. You only pay for the resources you consume, allowing you to align your IT costs with your actual usage.
18
18 -Be More Agile: With smbCloud, you can launch new services, test new ideas, and scale your applications without worrying about IT complexity. Focus more on your business and let smbCloud handle the infrastructure.
19 +Be More Agile: With [smbCloudXYZ](https://smbcloud.xyz), you can launch new services, test new ideas, and scale your applications without worrying about IT complexity. Focus more on your business and let [smbCloudXYZ](https://smbcloud.xyz) handle the infrastructure.
20
20 -Reliability and Security: smbCloud is built on the same infrastructure that powers Amazon’s global retail business, ensuring the highest level of security and reliability. You can trust your data and applications to be protected.
21 +Reliability and Security: [smbCloudXYZ](https://smbcloud.xyz) is built on the same infrastructure that powers [Splitfire AI](https://splitfire.ai)’s global retail business, ensuring the highest level of security and reliability. You can trust your data and applications to be protected.
22
22 -Whether you're running a website, building a new app, or need more powerful storage, smbCloud provides everything you need to grow your business—without the hassle of traditional IT.
23 +Whether you're running a website, building a new app, or need more powerful storage, [smbCloudXYZ](https://smbcloud.xyz) provides everything you need to grow your business—without the hassle of traditional IT.
24
24 -Start small, and as your business grows, smbCloud grows with you. It's the most cost-effective way to get your business on the cloud and stay ahead of the competition.
\ No newline at end of file
25 +Start small, and as your business grows, [smbCloudXYZ](https://smbcloud.xyz) grows with you. It's the most cost-effective way to get your business on the cloud and stay ahead of the competition.
\ No newline at end of file
content/posts/manage-postgresql-instance-debian.mdx
content/posts/smbcloud-console.mdx
+1
@@ -2,6 +2,7 @@
2 title: smbCloudXYZ Console Beta
3 description: Cloud platform console for small-medium enterprises.
4 date: "2024-11-15"
5 +published: true
6 ---
7
8 We released our [console](https://console.smbcloud.xyz) for public beta today. Connect your GitHub account and start deploying.
\ No newline at end of file
content/posts/vercel-but-better.mdx new
+9
@@ -0,0 +1,9 @@
1 +---
2 +title: Vercel But Better
3 +description: smbCloudXYZ is Vercel but better for small-medium enterprises.
4 +date: "2024-12-10"
5 +published: false
6 +---
7 +
8 +
9 +Introducing smbCloudXYZ (smbCloud): Powering Your Business with the Cloud
\ No newline at end of file
contentlayer.config.js
+4
@@ -44,6 +44,10 @@ export const Post = defineDocumentType(() => ({
44 type: "date",
45 required: true,
46 },
47 + published: {
48 + type: "boolean",
49 + required: true
50 + }
51 },
52 computedFields,
53 }))