Skip to content

Commit 2bb1d8d

Browse files
Update footer copyright and enhance layout in Container and Home components
1 parent 9add911 commit 2bb1d8d

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

src/components/Footer/Footer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function Footer() {
1414
</div>
1515
<div>
1616
<p className="text-sm text-gray-600">
17-
&copy; Copyright 2023. All Rights Reserved by DevUI.
17+
&copy; Copyright 2023. All Rights Reserved by AdiX.
1818
</p>
1919
</div>
2020
</div>

src/components/container/Container.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react";
22

33
function Container({children}){
4-
return <div className="w-full max-w-7xl mx-auto px-4">
4+
return <div className="w-full max-w-7xl h-fit mx-auto px-4">
55
{children}</div>;
66
}
77

src/pages/Home.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React, {useEffect, useState} from 'react'
22
import { Container, PostCard } from '../components'
33
import appwriteService from '../appwrite/config.service'
44
import { useSelector } from "react-redux";
5+
import Logo from '../components/Logo'
56

67
function Home() {
78

@@ -22,10 +23,13 @@ function Home() {
2223
}, [userData]);
2324

2425
if(posts.length === 0) return (
25-
<div className="w-full py-8 mt-4 text-center">
26+
<div className="w-full h-full py-8 mt-4 text-center">
2627
<Container>
2728
<div className="flex flex-wrap">
2829
<div className="p-2 w-full h-full">
30+
<div className="mb-4 inline-flex items-center">
31+
<Logo width='100px' height='100px' />
32+
</div>
2933
<h1 className="text-2xl font-bold hover:text-gray-500">
3034
Login to read posts
3135
</h1>

0 commit comments

Comments
 (0)