Skip to content

Commit

Permalink
Merge pull request #96 from MOVIEJOJO7/feature/#95
Browse files Browse the repository at this point in the history
Feat : Hotfix
  • Loading branch information
LikeFireAndSky authored Nov 16, 2023
2 parents e576dd6 + 4dfc141 commit 8316771
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Components/Common/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Footer = () => {
};

return (
<div className="w-full sm:w-[425px] h-14 flex justify-around items-center bg-primary mx-auto absolute inset-x-0 bottom-0">
<div className="w-full sm:w-[425px] h-14 flex justify-around items-center bg-footer mx-auto absolute inset-x-0 bottom-0">
<Tooltip
content="유저들 👋"
animate={{
Expand Down Expand Up @@ -95,7 +95,7 @@ const Footer = () => {
<Button
type="button"
onClick={handleLogout}
className="flex justify-center items-center bg-secondary text-chat"
className="flex justify-center items-center bg-send text-white"
>
로그아웃
</Button>
Expand Down
14 changes: 10 additions & 4 deletions Components/Login/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from 'react';
import { useForm, SubmitHandler } from 'react-hook-form';
import { fetchLogin } from '../../app/login/login.utils';
import { setCookie } from '@/Components/Login/Cookie';
import { Button, Typography } from '@material-tailwind/react';
import { Button } from '@material-tailwind/react';
import Link from 'next/link';
import { useRouter } from 'next/navigation';
import Swal from 'sweetalert2';
Expand All @@ -13,6 +13,7 @@ import Image from 'next/image';
import useAsyncLoading from '@/hooks/Open/useAsyncLoading';
import { IFormInput } from './Login.types';
import icon_cat from '@/public/icon_cat.svg';
import icon_cat_words from '@/public/icon_cat_words.svg';

const LoginForm = () => {
const loadingControl = useAsyncLoading();
Expand Down Expand Up @@ -97,9 +98,14 @@ const LoginForm = () => {
</div>
</Link>
</form>
<Typography variant="h3" className="absolute bottom-8">
CatTalk
</Typography>

<Image
src={icon_cat_words}
alt="logo"
width={50}
height={50}
className="absolute bottom-3 w-24"
/>
</div>
);
};
Expand Down
2 changes: 1 addition & 1 deletion app/loading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Loading = () => {
height={100}
className="w-32 h-32"
/>
<div className=" w-56 h-20 flex flex-col items-center justify-center rounded-md bg-white">
<div className=" w-56 h-20 flex flex-col items-center justify-center rounded-md ">
<PageSpinner />
<h1>Loading...</h1>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/users/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Users = async () => {
<MyProfile user={myUser} />
</div>
<div className="w-full my-5 pt-2 border-t border-gray-400 px-4 ">
<h4>친구{allUsersExceptMe?.length}</h4>
<h4>집사 {allUsersExceptMe?.length}</h4>
</div>
<div className="px-4">
<FriendProfilesCheckOnline allUsersExceptMe={allUsersExceptMe} />
Expand Down
18 changes: 18 additions & 0 deletions public/icon_cat_words.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8316771

Please sign in to comment.