Skip to content

Commit 84158f4

Browse files
authored
Merge pull request #8 from codust-dev/staging
Staging
2 parents 201c496 + 50668f7 commit 84158f4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2990
-1934
lines changed

.env

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
# Create Beehiiv API key at https://developers.beehiiv.com/docs/v2/bktd9a7mxo67n-create-an-api-key
22
BEEHIIV_API_KEY=J20sDZSTJcX68CV0Zab0EXepsw5pIUmJEL7Z6dv5NuwAyNkxoWqDiYB6sfYhgaGe
3-
BEEHIIV_PUBLICATION_ID=pub_1f36e102-35aa-4ee3-9b22-ad9c8131f4de
3+
BEEHIIV_PUBLICATION_ID=pub_1f36e102-35aa-4ee3-9b22-ad9c8131f4de
4+
5+
# Giscus
6+
NEXT_PUBLIC_GISCUS_REPO=codust-dev/codust-comments
7+
NEXT_PUBLIC_GISCUS_REPOSITORY_ID=R_kgDOG_WZGw
8+
NEXT_PUBLIC_GISCUS_CATEGORY=General
9+
NEXT_PUBLIC_GISCUS_CATEGORY_ID=DIC_kwDOOS35mM4CotbV
10+
NEXT_PUBLIC_UTTERANCES_REPO=codust-dev/codust-comments
11+
NEXT_PUBLIC_DISQUS_SHORTNAME=codust

LICENSE

-21
This file was deleted.

app/Main.tsx

+26-5
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,40 @@ import siteMetadata from '@/data/siteMetadata'
44
import { formatDate } from 'pliny/utils/formatDate'
55
import NewsletterForm from 'pliny/ui/NewsletterForm'
66

7-
const MAX_DISPLAY = 5
7+
const MAX_DISPLAY = 3
88

99
export default function Home({ posts }) {
1010
return (
1111
<>
12+
{/* Hero Section with Background */}
13+
<div className="relative mb-16">
14+
<div className="absolute inset-0 bg-gradient-to-r from-blue-900 to-purple-900 opacity-90" />
15+
<div className="relative px-6 py-24 sm:px-8 sm:py-32">
16+
<div className="mx-auto max-w-4xl space-y-6 text-center">
17+
<h1 className="text-4xl font-extrabold tracking-tight text-white sm:text-5xl md:text-6xl">
18+
Develop Cutting-Edge Technology
19+
</h1>
20+
<p className="mx-auto max-w-2xl text-xl text-gray-200">
21+
Learn the way it truly matters and develop fast.
22+
</p>
23+
<div className="mt-8">
24+
<Link
25+
href="/learn"
26+
className="rounded-md bg-white px-8 py-3 text-lg font-medium text-blue-900 hover:bg-gray-100"
27+
>
28+
Get Started
29+
</Link>
30+
</div>
31+
</div>
32+
</div>
33+
</div>
34+
35+
{/* Blog Posts Section */}
1236
<div className="divide-y divide-gray-200 dark:divide-gray-700">
1337
<div className="space-y-2 pt-6 pb-8 md:space-y-5">
1438
<h1 className="text-3xl leading-9 font-extrabold tracking-tight text-gray-900 sm:text-4xl sm:leading-10 md:text-6xl md:leading-14 dark:text-gray-100">
15-
Latest
39+
Latest Blogs
1640
</h1>
17-
<p className="text-lg leading-7 text-gray-500 dark:text-gray-400">
18-
{siteMetadata.description}
19-
</p>
2041
</div>
2142
<ul className="divide-y divide-gray-200 dark:divide-gray-700">
2243
{!posts.length && 'No posts found.'}

app/about/page.tsx

+24-45
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,52 @@
1-
import { Authors, allAuthors } from 'contentlayer/generated'
2-
import { MDXLayoutRenderer } from 'pliny/mdx-components'
3-
import AuthorLayout from '@/layouts/AuthorLayout'
4-
import { coreContent } from 'pliny/utils/contentlayer'
1+
import PageLayout from '@/layouts/PageLayout'
52
import { genPageMetadata } from 'app/seo'
6-
import { FaLaptopCode, FaNewspaper, FaRocket } from 'react-icons/fa'
7-
import siteMetadata from '@/data/siteMetadata'
8-
import NewsletterForm from 'pliny/ui/NewsletterForm'
3+
import { FaBrain, FaNewspaper, FaRocket } from 'react-icons/fa'
94

105
export const metadata = genPageMetadata({ title: 'About Us' })
116

12-
export default function Page() {
13-
const author = allAuthors.find((p) => p.slug === 'default') as Authors
14-
const mainContent = coreContent(author)
15-
7+
export default function AboutUsPage() {
168
return (
179
<>
18-
<AuthorLayout content={mainContent}>
10+
<PageLayout title="About Us">
1911
<div className="space-y-8">
2012
<p className="text-xl leading-relaxed text-gray-700 dark:text-gray-300">
21-
Welcome to <span className="text-primary font-bold">codust.dev</span>your go-to
22-
platform for exploring forefront of technology.
13+
Welcome to <span className="text-primary font-bold">codust.dev</span>where we focus
14+
on cutting-edge AI development and help you stay ahead with the latest tech trends.
2315
</p>
2416
<p className="text-lg leading-relaxed text-gray-700 dark:text-gray-300">
25-
At Codust, we dive deep into cutting-edge advancements across multiple domains: AI,
26-
Robotics, and other emerging innovations shaping the future.
17+
Our mission is to empower AI developers with practical, production-ready implementations
18+
and keep you informed about the rapidly evolving AI landscape.
2719
</p>
2820

29-
<div className="grid grid-cols-1 gap-6 pt-8 md:grid-cols-3">
30-
{/* Card 1 - Pink Theme */}
21+
<div className="grid grid-cols-1 gap-6 pt-8 md:grid-cols-2">
22+
{/* Card 1 - AI Development */}
3123
<div className="rounded-2xl bg-[#E73490] p-6 text-white shadow-md dark:bg-[#B82672]">
32-
<FaLaptopCode className="mx-auto mb-4 text-4xl" />
33-
<h3 className="text-center text-xl font-bold text-white">AI & Robotics</h3>
24+
<FaBrain className="mx-auto mb-4 text-4xl" />
25+
<h3 className="text-center text-xl font-bold text-white">Build Cutting-Edge AI</h3>
3426
<p className="text-center">
35-
Exploring cutting-edge developments in Artificial Intelligence, Machine Learning,
36-
and Robotics.
27+
Master industrial-grade AI development through hands-on projects. Learn to build
28+
production-ready ML models, implement MLOps practices, and deploy scalable AI
29+
solutions with practical, real-world guidance.
3730
</p>
3831
</div>
39-
{/* Card 2 - Blue Theme */}
32+
33+
{/* Card 2 - Tech Updates */}
4034
<div className="rounded-2xl bg-[#4051B5] p-6 text-white shadow-md dark:bg-[#2D3A8C]">
4135
<FaNewspaper className="mx-auto mb-4 text-4xl" />
42-
<h3 className="text-center text-xl font-bold text-white">Newsletter</h3>
43-
<p className="text-center">
44-
Subscribe for weekly updates on the latest tech innovations, delivered straight to
45-
your inbox.
46-
</p>
47-
</div>
48-
{/* Card 3 - Cyan Theme */}
49-
<div className="rounded-2xl bg-[#00ADB5] p-6 text-white shadow-md dark:bg-[#007D85]">
50-
<FaRocket className="mx-auto mb-4 text-4xl" />
51-
<h3 className="text-center text-xl font-bold text-white">Projects & Tutorials</h3>
36+
<h3 className="text-center text-xl font-bold text-white">Stay Tech-Updated</h3>
5237
<p className="text-center">
53-
Discover hands-on projects, tutorials, and insightful content to accelerate your
54-
learning journey.
38+
Never miss important tech trends with our curated weekly newsletter. Get insights on
39+
emerging technologies, development best practices, and industry innovations that
40+
matter.
5541
</p>
5642
</div>
5743
</div>
5844

5945
<p className="text-lg leading-relaxed text-gray-700 dark:text-gray-300">
60-
Whether you're a developer, researcher, or tech enthusiast, you'll find insightful
61-
content, projects, and discussions that aim to expand your knowledge and inspire new
62-
ideas.
46+
Join us to transform your AI development journey!
6347
</p>
6448
</div>
65-
</AuthorLayout>
66-
{siteMetadata.newsletter?.provider && (
67-
<div className="flex items-center justify-center pt-4">
68-
<NewsletterForm />
69-
</div>
70-
)}
49+
</PageLayout>
7150
</>
7251
)
73-
}
52+
}

app/layout.tsx

+35-31
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import 'css/tailwind.css'
22
import 'pliny/search/algolia.css'
33
import 'remark-github-blockquote-alert/alert.css'
44

5-
import { Space_Grotesk } from 'next/font/google'
5+
import { Inter } from 'next/font/google'
66
import { Analytics, AnalyticsConfig } from 'pliny/analytics'
77
import { SearchProvider, SearchConfig } from 'pliny/search'
88
import Header from '@/components/Header'
@@ -11,11 +11,12 @@ import Footer from '@/components/Footer'
1111
import siteMetadata from '@/data/siteMetadata'
1212
import { ThemeProviders } from './theme-providers'
1313
import { Metadata } from 'next'
14+
import JsonLd, { generateWebsiteJsonLd } from '@/components/JsonLd'
1415

15-
const space_grotesk = Space_Grotesk({
16+
const inter = Inter({
1617
subsets: ['latin'],
1718
display: 'swap',
18-
variable: '--font-space-grotesk',
19+
variable: '--font-inter',
1920
})
2021

2122
export const metadata: Metadata = {
@@ -64,36 +65,38 @@ export default function RootLayout({ children }: { children: React.ReactNode })
6465
return (
6566
<html
6667
lang={siteMetadata.language}
67-
className={`${space_grotesk.variable} scroll-smooth`}
68+
className={`${inter.variable} scroll-smooth`}
6869
suppressHydrationWarning
6970
>
70-
<link
71-
rel="apple-touch-icon"
72-
sizes="76x76"
73-
href={`${basePath}/static/favicons/apple-touch-icon.png`}
74-
/>
75-
<link
76-
rel="icon"
77-
type="image/png"
78-
sizes="32x32"
79-
href={`${basePath}/static/favicons/favicon-32x32.png`}
80-
/>
81-
<link
82-
rel="icon"
83-
type="image/png"
84-
sizes="16x16"
85-
href={`${basePath}/static/favicons/favicon-16x16.png`}
86-
/>
87-
<link rel="manifest" href={`${basePath}/static/favicons/site.webmanifest`} />
88-
<link
89-
rel="mask-icon"
90-
href={`${basePath}/static/favicons/safari-pinned-tab.svg`}
91-
color="#5bbad5"
92-
/>
93-
<meta name="msapplication-TileColor" content="#000000" />
94-
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#fff" />
95-
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#000" />
96-
<link rel="alternate" type="application/rss+xml" href={`${basePath}/feed.xml`} />
71+
<head>
72+
<link
73+
rel="apple-touch-icon"
74+
sizes="76x76"
75+
href={`${basePath}/static/favicons/apple-touch-icon.png`}
76+
/>
77+
<link
78+
rel="icon"
79+
type="image/png"
80+
sizes="32x32"
81+
href={`${basePath}/static/favicons/favicon-32x32.png`}
82+
/>
83+
<link
84+
rel="icon"
85+
type="image/png"
86+
sizes="16x16"
87+
href={`${basePath}/static/favicons/favicon-16x16.png`}
88+
/>
89+
<link rel="manifest" href={`${basePath}/static/favicons/site.webmanifest`} />
90+
<link
91+
rel="mask-icon"
92+
href={`${basePath}/static/favicons/safari-pinned-tab.svg`}
93+
color="#5bbad5"
94+
/>
95+
<meta name="msapplication-TileColor" content="#000000" />
96+
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#fff" />
97+
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#000" />
98+
<link rel="alternate" type="application/rss+xml" href={`${basePath}/feed.xml`} />
99+
</head>
97100
<body className="bg-white pl-[calc(100vw-100%)] text-black antialiased dark:bg-gray-950 dark:text-white">
98101
<ThemeProviders>
99102
<Analytics analyticsConfig={siteMetadata.analytics as AnalyticsConfig} />
@@ -105,6 +108,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
105108
<Footer />
106109
</SectionContainer>
107110
</ThemeProviders>
111+
<JsonLd data={generateWebsiteJsonLd()} />
108112
</body>
109113
</html>
110114
)

0 commit comments

Comments
 (0)