Skip to content

Commit

Permalink
Some improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
webdevsk committed Sep 9, 2023
1 parent c01d5c4 commit 43beb15
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 27 deletions.
2 changes: 1 addition & 1 deletion src/resume.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const resume = {
"Technical skills (scanning, data entry)",
],
responsibilities: [
"I scanned returned items and updated inventory records (average of 600-700 items per day)",
"I scanned returned items, updated inventory records (average of 600-700 items per day)",
"Inspected returned items for damage",
"Processed returns according to company policy",
"Kept the warehouse clean and organized",
Expand Down
59 changes: 39 additions & 20 deletions src/templates/Template2.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
--body: #23192b;
/* --color1: #f9fafb; */
--color1: theme(colors.gray.50);
--color2: #00000;
--color2: theme(colors.slate.100);
--color3: #00000;
--color4: #00000;
--color5: #00000;
Expand All @@ -20,23 +20,36 @@

@layer components {
#heading {
@apply flex flex-wrap items-start justify-between gap-4;
@apply mb-1 flex flex-wrap items-start justify-between gap-4;
}

#photo {
@apply aspect-square max-w-full rounded-full object-cover;
}

#contact-info {
@apply flex flex-col items-start gap-y-1;
.row {
@apply flex flex-wrap gap-x-3;
@apply flex flex-wrap gap-1;
}
.col {
@apply flex gap-1;
@apply inline-flex gap-1 rounded-full bg-color2 pe-2 shadow-sm transition-colors;
&:has(a:hover) {
@apply bg-accent text-white;
}
a {
@apply hover:no-underline;
}
}

.title {
@apply hidden font-semibold capitalize sm:block [&_svg]:text-accent;
.title:not(.resume-title) {
@apply inline-grid w-5 place-items-center rounded-full bg-accent text-white;
}
.resume-title {
@apply px-2;
}
svg {
@apply text-xs;
}
}

Expand All @@ -46,11 +59,11 @@

#skills {
& > .row {
@apply flex flex-wrap gap-2;
@apply flex flex-wrap gap-2 px-1;
}

.col {
@apply bg-color1 grow rounded-lg px-4 py-template shadow-md;
@apply grow rounded-lg bg-color1 px-4 py-template shadow-md;
}

.skillset {
Expand All @@ -60,10 +73,10 @@

#projects {
.content {
@apply flex flex-col gap-y-4;
@apply flex flex-col gap-y-3 px-1;
}
.sections {
@apply bg-color1 flex flex-col gap-y-2 rounded-lg p-4 shadow-md;
@apply flex flex-col gap-y-1 rounded-lg bg-color1 p-4 shadow-md;
}
.title-section {
@apply flex flex-wrap justify-between gap-x-2;
Expand All @@ -74,26 +87,26 @@
.date > * {
@apply leading-6;
}
.date svg {
@apply text-accent;
}
.builders {
@apply flex flex-wrap items-center justify-center gap-1;
& > * {
@apply block rounded-md bg-slate-400 px-1 text-white transition-colors hover:no-underline hover:drop-shadow-md;
@apply block rounded-md border border-accent px-1 transition-colors hover:bg-accent hover:text-white hover:no-underline;
}
}
.row > h6 {
@apply mb-1;
}
.features {
/* @apply flex flex-col gap-y-1; */
}
}

#experiences {
.content {
@apply flex flex-col gap-y-4;
@apply flex flex-col gap-y-3 px-1;
}
.sections {
@apply bg-color1 flex flex-col gap-y-2 rounded-lg p-4 shadow-md;
@apply flex flex-col gap-y-1 rounded-lg bg-color1 p-4 shadow-md;
}
.row {
grid-template-columns: minmax(0, 1fr) max-content;
Expand All @@ -104,7 +117,7 @@
}
.details {
@apply -mb-8 text-end;
h5 {
h6 {
@apply leading-6;
}
}
Expand All @@ -118,11 +131,17 @@
#education {
.content {
/* @apply flex flex-col gap-y-1; */
@apply bg-color1 rounded-lg p-4 shadow-md;
@apply mx-1 rounded-lg bg-color1 p-4 shadow-md;
}

.row {
@apply flex-wrap items-center justify-between sm:flex;
@apply flex justify-between gap-x-1;
.info {
@apply shrink;
}
.date > * {
@apply w-max leading-5;
}
}
}
}
Expand All @@ -137,7 +156,7 @@
.bullet-item {
@apply relative ps-4;
&:before {
@apply absolute inset-0 text-base leading-4 text-[--rand-color] content-["●"] sm:leading-5;
@apply absolute inset-0 text-base leading-4 text-[--rand-color] content-["●"] sm:leading-4;
}
}
.date > * {
Expand Down
14 changes: 8 additions & 6 deletions src/templates/Template2.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ const Template2 = ({ printMode }) => {
<p className="title">
<FontAwesomeIcon icon="fa-solid fa-location-dot" />
</p>
<a href={`mailto:${data.location}`}>
<p>{data.location}</p>
</a>
<p>{data.location}</p>
</div>
)}
</div>
Expand All @@ -129,7 +127,7 @@ const Template2 = ({ printMode }) => {
))}
</div>
<div className="col">
<p className="title">Resume Live Version:</p>
<p className="resume-title title">Resume Live Version:</p>
<a href={data.liveLink}>
<p>{data.liveLink}</p>
</a>
Expand All @@ -143,7 +141,7 @@ const Template2 = ({ printMode }) => {
{data.skills && (
<div id="skills">
<div className="heading">
<h5>Technology Stack</h5>
<h5>Language and Frameworks</h5>
</div>
<div className="row">
{data.skills.map((category) => (
Expand Down Expand Up @@ -179,7 +177,11 @@ const Template2 = ({ printMode }) => {
{project.repo && (
<p>
<a className="date" href={project.repo}>
<small className="leading-5">{project.repo}</small>
<small>
<FontAwesomeIcon icon="fa-brands fa-github" />{" "}
<span className="max-sm:hidden">{project.repo}</span>
<span className="sm:hidden">Github</span>
</small>
</a>
</p>
)}
Expand Down

0 comments on commit 43beb15

Please sign in to comment.