Skip to content

Commit 1babbf7

Browse files
committed
Initial changes
1 parent 9f73dee commit 1babbf7

21 files changed

+73
-984
lines changed

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
![cv](https://github.com/BartoszJarocki/cv/assets/1017620/79bdb9fc-0b20-4d2c-aafe-0526ad4a71d2)
2-
31
# Minimalist CV
42

53
Simple web app that renders minimalist CV with print-friendly layout.

src/app/page.tsx

+19-26
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Badge } from "@/components/ui/badge";
44
import { CommandMenu } from "@/components/command-menu";
55
import { Metadata } from "next";
66
import { Section } from "@/components/ui/section";
7-
import { GlobeIcon, MailIcon, PhoneIcon } from "lucide-react";
7+
import { GlobeIcon, MailIcon } from "lucide-react";
88
import { Button } from "@/components/ui/button";
99
import { RESUME_DATA } from "@/data/resume-data";
1010
import { ProjectCard } from "@/components/project-card";
@@ -16,8 +16,8 @@ export const metadata: Metadata = {
1616

1717
export default function Page() {
1818
return (
19-
<main className="container relative mx-auto scroll-my-12 overflow-auto p-4 print:p-12 md:p-16">
20-
<section className="mx-auto w-full max-w-2xl space-y-8 bg-white print:space-y-6">
19+
<main className="container relative mx-auto scroll-my-12 overflow-auto p-4 print:p-8 md:p-12">
20+
<section className="mx-auto w-full max-w-4xl space-y-8 bg-white print:space-y-6">
2121
<div className="flex items-center justify-between">
2222
<div className="flex-1 space-y-1.5">
2323
<h1 className="text-2xl font-bold">{RESUME_DATA.name}</h1>
@@ -47,18 +47,6 @@ export default function Page() {
4747
</a>
4848
</Button>
4949
) : null}
50-
{RESUME_DATA.contact.tel ? (
51-
<Button
52-
className="size-8"
53-
variant="outline"
54-
size="icon"
55-
asChild
56-
>
57-
<a href={`tel:${RESUME_DATA.contact.tel}`}>
58-
<PhoneIcon className="size-4" />
59-
</a>
60-
</Button>
61-
) : null}
6250
{RESUME_DATA.contact.social.map((social) => (
6351
<Button
6452
key={social.name}
@@ -131,9 +119,11 @@ export default function Page() {
131119
{work.title}
132120
</h4>
133121
</CardHeader>
134-
<CardContent className="mt-2 text-xs">
135-
{work.description}
136-
</CardContent>
122+
{work.description.map((bulletPoint, idx) => (
123+
<CardContent className="mt-2 text-xs" key={idx}>
124+
{bulletPoint}
125+
</CardContent>
126+
))}
137127
</Card>
138128
);
139129
})}
@@ -154,6 +144,9 @@ export default function Page() {
154144
</div>
155145
</CardHeader>
156146
<CardContent className="mt-2">{education.degree}</CardContent>
147+
<CardContent className="mt-2 font-semibold">
148+
CGPA {education.cgpa}
149+
</CardContent>
157150
</Card>
158151
);
159152
})}
@@ -168,16 +161,16 @@ export default function Page() {
168161
</Section>
169162

170163
<Section className="print-force-new-page scroll-mb-16">
171-
<h2 className="text-xl font-bold">Projects</h2>
172-
<div className="-mx-3 grid grid-cols-1 gap-3 print:grid-cols-3 print:gap-2 md:grid-cols-2 lg:grid-cols-3">
173-
{RESUME_DATA.projects.map((project) => {
164+
<h2 className="text-xl font-bold">Blogs/Publications</h2>
165+
<div className="-mx-3 grid grid-cols-1 gap-2 print:grid-cols-2 print:gap-2 md:grid-cols-2 lg:grid-cols-2">
166+
{RESUME_DATA.articles.map((article) => {
174167
return (
175168
<ProjectCard
176-
key={project.title}
177-
title={project.title}
178-
description={project.description}
179-
tags={project.techStack}
180-
link={"link" in project ? project.link.href : undefined}
169+
key={article.title}
170+
title={article.title}
171+
description={article.description}
172+
tags={article.techStack}
173+
link={"link" in article ? article.link.href : undefined}
181174
/>
182175
);
183176
})}

0 commit comments

Comments
 (0)