Blocks
Beautifully designed, production-ready.
Explorer
components/github-contributions-01.tsx
import { GitHubContributions } from "@/components/github-contributions"
import { Activity } from "@/components/contribution-graph"
export function GitHubContributions01() {
const contributions = Promise.resolve(MOCK_CONTRIBUTIONS)
return (
<div className="container mx-auto px-4 py-8">
<div className="rounded-xl border border-line bg-background p-6">
<GitHubContributions
contributions={contributions}
githubProfileUrl="https://github.com/Paranjayy"
/>
</div>
</div>
)
}
const MOCK_CONTRIBUTIONS: Activity[] = Array.from({ length: 365 }, (_, i) => {
const date = new Date()
date.setDate(date.getDate() - (364 - i))
return {
date: date.toISOString().split("T")[0],
count: Math.floor(Math.random() * 10),
level: Math.floor(Math.random() * 5),
}
})
A GitHub contributions graph with mock data
@paranjay/github-contributions-01
Explorer
components/wakatime-01.tsx
import { WakaTimeStats } from "@/components/wakatime-stats/wakatime-stats"
export function Wakatime01() {
return (
<div className="container mx-auto px-4 py-8">
<div className="rounded-xl border border-line bg-background p-6">
<div className="mb-6 flex items-center justify-between">
<div>
<h3 className="text-lg font-bold tracking-tight text-foreground">
Coding Activity
</h3>
<p className="text-sm text-muted-foreground">
Across all platforms this week
</p>
</div>
<div className="text-right">
<span className="font-mono text-2xl font-bold text-foreground">
42h 15m
</span>
</div>
</div>
<WakaTimeStats data={MOCK_WAKATIME} />
</div>
</div>
)
}
const MOCK_WAKATIME = [
{ name: "TypeScript", percent: 45, color: "#3178c6" },
{ name: "React", percent: 25, color: "#61dafb" },
{ name: "Next.js", percent: 15, color: "#000000" },
{ name: "Tailwind CSS", percent: 10, color: "#38bdf8" },
{ name: "Other", percent: 5, color: "#cccccc" },
]
A WakaTime coding activity block with mock data
@paranjay/wakatime-01
Explorer
components/experience-01.tsx
import { CodeXmlIcon, LightbulbIcon } from "lucide-react"
import type { ExperienceItemType } from "@/components/work-experience"
import { WorkExperience } from "@/components/work-experience"
export function Experience01() {
return (
<div className="max-w-screen overflow-x-hidden">
<div className="container mx-auto px-4 py-8">
<div className="border-x border-line">
<h2 className="screen-line-top screen-line-bottom ml-4 font-heading text-3xl font-semibold tracking-tight">
Experience
</h2>
<WorkExperience
className="bg-transparent *:screen-line-bottom"
experiences={EXPERIENCE}
/>
</div>
</div>
</div>
)
}
const EXPERIENCE: ExperienceItemType[] = [
{
id: "shadcncraft",
companyName: "shadcncraft",
companyLogo: "https://assets.chanhdai.com/images/companies/shadcncraft.svg",
companyWebsite: "https://shadcncraft.com",
positions: [
{
id: "1",
title: "Design Engineer",
employmentPeriod: {
start: "01.2026",
},
employmentType: "Full-time",
icon: <CodeXmlIcon />,
description:
"- Work on the registry and React component library.\n- Design and build Pro application components and blocks, from Figma to production-ready React.",
skills: [
"TypeScript",
"Next.js",
"Tailwind CSS",
"shadcn/registry",
"Figma",
],
isExpanded: true,
},
],
isCurrentEmployer: true,
},
{
id: "quaric",
companyName: "Quaric",
companyLogo: "https://assets.chanhdai.com/images/companies/quaric.svg",
companyWebsite: "https://quaric.com",
positions: [
{
id: "2",
title: "Design Engineer",
employmentPeriod: {
start: "03.2024",
},
employmentType: "Part-time",
icon: <CodeXmlIcon />,
description: `- Integrated VNPAY-QR for secure transactions.
- Registered the e-commerce site with [online.gov.vn](https://online.gov.vn) for compliance.
- Developed online ordering to streamline purchases.
- Build and maintain ZaDark.com with Docusaurus, integrating AdSense.
- Develop and maintain the ZaDark extension for Zalo Web on Chrome, Safari, Edge, and Firefox — with 15,000+ active users via Chrome Web Store.`,
skills: [
"Next.js",
"Strapi",
"Auth0",
"VNPAY-QR",
"Docker",
"NGINX",
"Google Cloud",
"Docusaurus",
"Extension",
"Research",
"Project Management",
],
},
{
id: "1",
title: "Founder",
employmentPeriod: {
start: "03.2024",
},
employmentType: "Part-time",
icon: <LightbulbIcon />,
skills: ["Business Ownership", "Business Law", "Business Tax"],
},
],
isCurrentEmployer: true,
},
]
A work experience section with a lined layout
@paranjay/experience-01
More blocks on the way…