Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] 로그인 페이지 구현 및 로그인 박스 수정 #67

Merged
merged 5 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
justify-content: flex-start;
min-height: 100vh;
}

.loginContainer {
display: flex;
align-items: center;
justify-content: center;
margin-top: 100px;
margin-top: 200px;
}

/* Desktop Default */
Expand All @@ -19,21 +19,21 @@
/* Tablet Landscape */
@media screen and (max-width: 1280px) {
.loginContainer {
margin-top: 80px;
margin-top: 180px;
}
}

/* Tablet Portrait */
@media screen and (max-width: 1024px) {
.loginContainer {
margin-top: 60px;
margin-top: 160px;
}
}

/* Mobile Landscape and Small Tablets */
@media screen and (max-width: 768px) {
.loginContainer {
margin-top: 40px;
margin-top: 140px;
}

.pageContainer {
Expand All @@ -44,7 +44,7 @@
/* Mobile Portrait */
@media screen and (max-width: 480px) {
.loginContainer {
margin-top: 20px;
margin-top: 120px;
}

.pageContainer {
Expand Down
14 changes: 10 additions & 4 deletions src/app/(user)/(auth)/login/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
// src/app/(user)/(auth)/login/page.tsx
import React from "react";
import LoginPage from "@/components/pages/loginPage/loginPage";
import { LoginBox } from "@/components/common/LoginBox/LoginBox";
import styles from "./loginPage.module.css";

export default function Page() {
return <LoginPage />;
export default function LoginPage() {
return (
<div className={styles.pageContainer}>
<div className={styles.loginContainer}>
<LoginBox />
</div>
</div>
);
}
9 changes: 0 additions & 9 deletions src/components/pages/loginPage/loginPage.story.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions src/components/pages/loginPage/loginPage.tsx

This file was deleted.

Loading