Skip to content

Commit 0024c5f

Browse files
committed
Project grid fonts
1 parent 24093ab commit 0024c5f

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

src/components/projects/ProjectSingle.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const ProjectSingle = ({ title, category, image }) => {
2222
/>
2323
</div>
2424
<div className="text-center px-4 py-6">
25-
<p className="text-2xl text-ternary-dark dark:text-ternary-light font-semibold mb-2">
25+
<p className="font-general-medium text-xl md:text-2xl text-ternary-dark dark:text-ternary-light mb-2">
2626
{title}
2727
</p>
2828
<span className="text-lg text-ternary-dark dark:text-ternary-light">

src/components/projects/ProjectsGrid.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const ProjectsGrid = () => {
1919
<section className="py-5 sm:py-10 mt-5 sm:mt-10">
2020
{/* Projects grid title start */}
2121
<div className="text-center">
22-
<p className="text-2xl sm:text-5xl font-semibold mb-3 text-ternary-dark dark:text-ternary-light">
22+
<p className="font-general-medium text-2xl sm:text-4xl mb-1 text-ternary-dark dark:text-ternary-light">
2323
Projects portfolio
2424
</p>
2525
{/* Note: This description is commented, but if you want to have it, just uncomment it */}
@@ -32,12 +32,11 @@ const ProjectsGrid = () => {
3232
{/* Filter and search projects start */}
3333
<div className="mt-10 sm:mt-16">
3434
<h3
35-
className="
35+
className="font-general-regular
3636
text-center text-secondary-dark
3737
dark:text-ternary-light
3838
text-md
3939
sm:text-xl
40-
font-normal
4140
mb-3
4241
"
4342
>

src/pages/Home.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ const Home = () => {
1212
<ProjectsGrid></ProjectsGrid>
1313
</ProjectsProvider>
1414

15-
<div className="mt-10 sm:mt-15 flex justify-center">
15+
<div className="mt-8 sm:mt-10 flex justify-center">
1616
<Link
1717
to="/projects"
18-
className="flex items-center px-6 py-3 rounded-lg shadow-lg hover:shadow-xl bg-indigo-500 hover:bg-indigo-600 focus:ring-1 focus:ring-indigo-900 text-white text-lg sm:text-xl font-medium"
18+
className="font-general-medium flex items-center px-6 py-3 rounded-lg shadow-lg hover:shadow-xl bg-indigo-500 hover:bg-indigo-600 focus:ring-1 focus:ring-indigo-900 text-white text-lg sm:text-xl"
1919
aria-label="More Projects"
2020
>
2121
More Projects

0 commit comments

Comments
 (0)