Skip to content

Commit 59d18c3

Browse files
authored
Merge pull request #338 from KW-ClassLog/Fix/#337/login
🐛 Fix/#337 로그인화면 로고 이미지로 변경 및 input밖으로 텍스트 삐져나오는거 해결
2 parents 6481373 + 03cecb9 commit 59d18c3

File tree

6 files changed

+29
-6
lines changed

6 files changed

+29
-6
lines changed

frontend/app/(non-login)/login/_components/LeftSection.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ export default function LeftSection() {
88
return (
99
<div className={styles.leftSection}>
1010
<div className={styles.textWrapper}>
11-
<h1>CLASSLOG,</h1>
11+
<Image
12+
src={IMAGES.logo4}
13+
alt="ClassLog Logo"
14+
width={500}
15+
height={120}
16+
className={styles.logo}
17+
/>
1218
<h2>당신의 강의를 더 스마트하게</h2>
1319

1420
<p>수업 녹음, 실시간 소통, AI 기반 퀴즈 생성을 통해</p>

frontend/app/(non-login)/login/page.module.scss

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,19 @@
2424
margin: $spacing-3xl 0px;
2525
}
2626

27-
h1 {
28-
font-size: clamp(60px, 7.5vw, 100px);
29-
font-weight: bold;
30-
font-family: $font-logo;
27+
.logo {
28+
width: clamp(400px, 7.5vw, 300px);
29+
height: auto;
30+
object-fit: contain;
31+
transition: $transition-default;
32+
33+
@include respond-to(lg) {
34+
width: clamp(300px, 7.5vw, 200px);
35+
}
36+
37+
@include respond-to(md) {
38+
width: clamp(200px, 7.5vw, 100px);
39+
}
3140
}
3241

3342
h2 {

frontend/app/(non-login)/signup/page.module.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
display: flex;
2424
gap: $spacing-md;
2525
width: 100%;
26+
@media (max-width: 300px) {
27+
flex-direction: column;
28+
}
2629
}
2730

2831
.teacherButton,
@@ -57,7 +60,7 @@
5760
display: flex;
5861
flex-direction: row;
5962
gap: $spacing-md;
60-
align-items: first baseline;
63+
align-items: center;
6164
& > :first-child {
6265
flex: 3;
6366
}

frontend/components/Input/BasicInput/BasicInput.module.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
.wrapper {
22
width: 100%;
3+
overflow: hidden;
4+
text-overflow: ellipsis;
5+
white-space: nowrap;
36
}
47

58
.label {

frontend/constants/images.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import logo1 from "@/public/images/logo1.png";
33
import logo2 from "@/public/images/logo2.png";
44
import logo3 from "@/public/images/logo3.png";
5+
import logo4 from "@/public/images/logo4.png";
56
import introImage from "@/public/images/intro_image.png";
67
import qrCode from "@/public/images/QRcode.png";
78
import kakaoLogo from "@/public/images/kakao_logo.png";
@@ -25,6 +26,7 @@ export const IMAGES = {
2526
logo1,
2627
logo2,
2728
logo3,
29+
logo4,
2830
introImage,
2931
qrCode,
3032
kakaoLogo,

frontend/public/images/logo4.png

9.32 KB
Loading

0 commit comments

Comments
 (0)