
전체 글
Coding blog
[최종][css] 페이지 일부에만 스크롤 생기도록 하기
*부모 -아무것도 안함 (hidden 안줌) *자식 -height: 80vh 등 (이건 직접 배경색 줘가면서 봐야 함) -overflow-y: scroll

[dB] [supabase]
match one-to-many relationships -album1, album2, album3 ... => artist one-to-one relationship -employee1 - pay1

[최종] [clonecoding] modal 코드 분석
1. PostStatus.jsx export default function PostStatus({ currentUser }) { const [modalOpen, setModalOpen] = useState(false); const [status, setStatus] = useState(""); // 👉input값 생기면 post버튼 생기도록 status 관리 const [allStatuses, setAllStatus] = useState([]); const [currentPost, setCurrentPost] = useState({}); const [isEdit, setIsEdit] = useState(false); const [postImage, setPostImage] = useState(""); c..
[FireBase] [clonecoding] 소셜로그인
import { getAuth, GoogleAuthProvider, signInWithPopup } from "firebase/auth"; // ... // Firebase 인증 객체 가져오기 const auth = getAuth(); // GoogleAuthProvider 인스턴스 생성 const googleProvider = new GoogleAuthProvider(); // 구글 로그인 처리 함수 const handleGoogleLogin = async () => { try { // 팝업으로 구글 로그인 창 열기 const result = await signInWithPopup(auth, googleProvider); // 로그인 성공 시 처리할 내용 const user = result.user; ..