Skip to content

Commit

Permalink
feat : update page
Browse files Browse the repository at this point in the history
  • Loading branch information
lildibbb committed Jan 7, 2024
1 parent 105869f commit cadfe22
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import Navbar from './components/Navbar';
import Home from './pages/Home';
import Test from './pages/Test';
import Footer from './pages/Footer';
import MoreArt from './pages/MoreArt';

function App() {
return (
<div className="flex flex-col justify-start items-start min-h-screen bg-gray-100 overflow-hidden">
Expand All @@ -17,7 +15,6 @@ function App() {
{/* <Route component={GenericNotFound} /> */}
</Routes>
</Router>
<MoreArt />
<Footer />
</div>
);
Expand Down
4 changes: 4 additions & 0 deletions src/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { landscapesList } from '../data/list/landscapes-list';
import { paintingsList } from '../data/list/paintings-list';
import { portraitsList } from '../data/list/portraits-list';
import { abstractsList } from '../data/list/abstracts-list';
import MoreArt from './MoreArt';

const CategoryItem = ({ category }) => (
<Tooltip content={category.tooltip} placement="top" showArrow>
Expand Down Expand Up @@ -86,6 +87,9 @@ const Home = () => {
))}
</div>
</div>
<div className="mt-5">
<MoreArt />
</div>
</div>
);
};
Expand Down
2 changes: 1 addition & 1 deletion src/pages/MoreArt.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default function MoreArt() {

return (
<div className="mt-5">
<h2 className="text-xl font-bold">More Arts</h2>
<h2 className="text-2xl font-bold">More Arts</h2>
<div className="flex flex-wrap justify-start items-center gap-4 mt-4">
{Object.values(allLists).map((categoryList, categoryIndex) => (
<div key={categoryIndex} className="flex gap-4 flex-wrap">
Expand Down

0 comments on commit cadfe22

Please sign in to comment.