Skip to content

Commit 827122a

Browse files
committed
Spacing and alignments
1 parent 98a32f9 commit 827122a

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

src/components/AppBanner.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ const AppBanner = () => {
99
return (
1010
<section className="flex flex-col sm:justify-between items-center sm:flex-row mt-12 sm:mt-2">
1111
<div className="w-full sm:w-1/3 text-left">
12-
<h1 className="text-3xl sm:text-5xl text-center sm:text-left font-semibold text-ternary-dark dark:text-primary-light uppercase">
12+
<h1 className="text-2xl sm:text-3xl lg:text-4xl xl:text-5xl text-center sm:text-left font-semibold text-ternary-dark dark:text-primary-light uppercase">
1313
Hi, Iam Stoman
1414
</h1>
15-
<p className="mt-4 text-2xml sm:text-4xl text-center sm:text-left font-semibold leading-none text-gray-400">
15+
<p className="mt-4 text-xl sm:text-2xl lg:text-3xl xl:text-4xl text-center sm:text-left font-semibold leading-none text-gray-400">
1616
A Full-Stack Developer & Design Enthusiast
1717
</p>
1818
<div className="flex justify-center sm:block">

src/components/ProjectsGrid.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const ProjectsGrid = () => {
9191
{/* Filter and search projects end */}
9292

9393
{/* Projects grid start */}
94-
<div className="grid grid-cols-1 sm:grid-cols-3 mt-6 sm:gap-10">
94+
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 mt-6 sm:gap-10">
9595
{/* <ProjectSingle
9696
v-for="project in filteredProjects"
9797
:key="project.id"

src/pages/Home.js

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { Link } from 'react-router-dom';
12
import AppBanner from '../components/AppBanner';
23
import ProjectsGrid from '../components/ProjectsGrid';
34

@@ -6,6 +7,15 @@ const Home = () => {
67
<div className="container mx-auto">
78
<AppBanner></AppBanner>
89
<ProjectsGrid></ProjectsGrid>
10+
<div class="mt-10 sm:mt-15 flex justify-center">
11+
<Link
12+
to="/projects"
13+
class="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"
14+
aria-label="More Projects"
15+
>
16+
More Projects
17+
</Link>
18+
</div>
919
</div>
1020
);
1121
};

0 commit comments

Comments
 (0)