Skip to content

Commit

Permalink
refactor: update Home page layout and font sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
kyziq committed Jan 9, 2024
1 parent 74b09b1 commit 959460f
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/pages/Home.jsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
import MoreArt from './MoreArt';
import Categories from '../components/Categories';
import { Link } from 'react-router-dom';
import { FaArrowRight } from 'react-icons/fa'; // Importing an arrow icon
import { FaArrowRight } from 'react-icons/fa';

const Home = () => {
return (
<div className="p-6">
<div className="flex justify-between items-center">
<header className="text-2xl font-bold">ArtistryHub.</header>
<div className="p-4 sm:p-6">
<div className="flex flex-wrap justify-between items-center">
<header className="text-xl sm:text-2xl font-bold mb-2 sm:mb-0">
ArtistryHub.
</header>
<Link
to="/artistry-hub/top-picks"
className="flex items-center text-lg font-medium text-blue-500 hover:text-blue-600 transition duration-300 ease-in-out"
className="flex items-center text-sm sm:text-lg font-medium text-blue-500 hover:text-blue-600 transition duration-300 ease-in-out"
>
Explore Featured Artworks <FaArrowRight className="ml-2" />
Explore Featured Artworks{' '}
<FaArrowRight className="ml-1 sm:ml-2 text-base sm:text-lg" />
</Link>
</div>
<p className="text-gray-700 mt-2">
<p className="text-gray-700 text-sm sm:text-base mt-2">
Explore our world of creative designs.
</p>

Expand Down

0 comments on commit 959460f

Please sign in to comment.