diff --git a/src/components/organisms/Education/Education.tsx b/src/components/organisms/Education/Education.tsx
index fc06918..9cdfc93 100644
--- a/src/components/organisms/Education/Education.tsx
+++ b/src/components/organisms/Education/Education.tsx
@@ -2,7 +2,6 @@
import { PortableText } from '@portabletext/react';
import Image from 'next/image';
-// import {useTheme} from "next-themes";
import * as React from 'react';
import { School } from '@/types/School';
@@ -12,8 +11,6 @@ export interface EducationProps {
}
const Education = ({ schools }: EducationProps) => {
- // const { theme } = useTheme();
-
return (
@@ -26,8 +23,8 @@ const Education = ({ schools }: EducationProps) => {
key={school._id}
className='mb-4 rounded-md p-4 shadow-md dark:bg-slate-900'
>
- {/* Start School Header */}
-
+ {/* Start School Header - Desktop */}
+
{
- {/* End School Header */}
+ {/* End School Header - Desktop */}
+
+ {/* Start School Header - Mobile */}
+
+
+
+
+
+
+
+
+
{school.degreeName}
+
+
+
+
+
+ {school.grade}
+
+
+ {school.startYear} — {school.endYear}
+
+
+
+ {/* End School Header - Mobile */}
{/* Start School Content */}
-
diff --git a/src/components/organisms/WorkExperience/WorkExperience.tsx b/src/components/organisms/WorkExperience/WorkExperience.tsx
index 8b93c3e..81d56ec 100644
--- a/src/components/organisms/WorkExperience/WorkExperience.tsx
+++ b/src/components/organisms/WorkExperience/WorkExperience.tsx
@@ -26,8 +26,8 @@ const WorkExperience = ({ jobs }: WorkExperienceProps) => {
key={job._id}
className='mb-4 rounded-md p-4 shadow-md dark:bg-slate-900'
>
- {/* Start Job Header */}
-
+ {/* Start Job Header - Desktop */}
+
{
- {/* End Job Header */}
+ {/* End Job Header - Desktop*/}
+
+ {/* Start Job Header - Mobile */}
+
+
+
+
+
+
+
+ {job.company} {job.location && `~`} {job.location}
+
+
+ {job.jobTitle}
+
+
+
+
+
+
+ {format(job.startDate)}
+ —
+ {job.isCurrentJob ? `present` : format(job.endDate)}
+
+
+
+ {/* End Job Header - Mobile*/}
{/* Start Job Content */}
@@ -63,7 +95,7 @@ const WorkExperience = ({ jobs }: WorkExperienceProps) => {
-
+
{job.technologies.map((tech) => (
{
backgroundColor:
theme === 'dark' ? job.darkColor : job.mainColor,
}}
- className='ms-2 rounded-md px-2 py-0.5 text-white dark:text-black'
+ className='mb-1 ms-1 rounded-sm px-1 py-0.5 text-xs text-white dark:text-black md:ms-2 md:rounded-md md:px-2 md:text-base'
>
{tech}
diff --git a/src/styles/globals.css b/src/styles/globals.css
index 3923eee..9b8c3ae 100644
--- a/src/styles/globals.css
+++ b/src/styles/globals.css
@@ -246,4 +246,14 @@
padding-left: 8px;
margin-bottom: 4px;
}
+
+ .sm-skill-description > ul {
+ list-style: disc;
+ padding-left: 20px;
+ }
+
+ .sm-skill-description > ul > li {
+ padding-left: 4px;
+ margin-bottom: 4px;
+ }
}