- {{ currentYear }} at 동국대학교 -
-- {{ currentMonth }}월 -
-학사 일정
- -- {{ event.title }} -
-- {{ formatDateRange(event.startDate, event.endDate) }} -
-From a294d77af9e8d1d1ee54cdc47d75047e260e8108 Mon Sep 17 00:00:00 2001
From: study2895 <144806675+study2895@users.noreply.github.com>
Date: Mon, 2 Dec 2024 12:00:42 +0900
Subject: [PATCH] =?UTF-8?q?[Feat]=20=EB=A1=9C=EA=B7=B8=EC=95=84=EC=9B=83?=
=?UTF-8?q?=20=ED=95=A8=EC=88=98=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/calendar/CalendarMainStyled.js | 129 +++++++++++
src/views/calendar/CalendarMainView.vue | 263 +++++++---------------
src/views/login/login/LoginView.vue | 262 +++++++++++++++-------
src/views/login/mypage/MypageScript.js | 2 +-
src/views/login/signup/SignupStyled.js | 158 +++++++++++++
src/views/login/signup/SignupView.vue | 270 ++++++++++++++++-------
src/views/mainpage/MainpageStyled.js | 132 +++++++++++
src/views/mainpage/MainpageView.vue | 106 +++------
8 files changed, 907 insertions(+), 415 deletions(-)
create mode 100644 src/views/calendar/CalendarMainStyled.js
create mode 100644 src/views/login/signup/SignupStyled.js
create mode 100644 src/views/mainpage/MainpageStyled.js
diff --git a/src/views/calendar/CalendarMainStyled.js b/src/views/calendar/CalendarMainStyled.js
new file mode 100644
index 0000000..fe48de2
--- /dev/null
+++ b/src/views/calendar/CalendarMainStyled.js
@@ -0,0 +1,129 @@
+import styled from 'vue-styled-components'
+
+// 전체 컨테이너
+export const PageContainer = styled.div`
+ min-height: 100vh;
+ background-color: #fff9f2;
+ font-family: 'NanumSquareRound', sans-serif;
+ display: flex;
+ justify-content: center;
+ position: relative;
+`
+
+export const InnerContainer = styled.div`
+ width: 395px;
+ min-width: 340px;
+ background-color: #fae8da;
+ min-height: 100vh;
+ position: relative;
+ overflow-y: auto;
+`
+
+// 메인 컨텐츠
+export const MainContent = styled.main`
+ display: flex;
+ flex-direction: column;
+ padding: 20px 1.5rem 6rem;
+ margin-top: 30px;
+`
+
+export const SectionTitle = styled.h2`
+ font-size: 1.25rem;
+ font-weight: 500;
+ color: #4a4a4a;
+ margin-bottom: 0.5rem;
+`
+
+export const MonthTitle = styled.h3`
+ font-size: 1.5rem;
+ font-weight: bold;
+ color: #4a4a4a;
+`
+
+// 캘린더 관련 스타일
+export const CalendarContainer = styled.div`
+ background-color: #fae8da;
+ border-radius: 0.5rem;
+ padding: 1rem;
+ margin-bottom: 1rem;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+`
+
+export const CalendarGrid = styled.div`
+ display: grid;
+ grid-template-columns: repeat(7, 1fr);
+ gap: 1rem;
+ text-align: center;
+ margin-bottom: 1rem;
+`
+
+export const CalendarDay = styled.span`
+ font-size: 0.875rem;
+ color: #b3b3b3;
+`
+
+export const CalendarWeek = styled.div`
+ display: flex;
+ width: 100%;
+ justify-content: space-between;
+ margin-bottom: 0.25rem;
+`
+
+export const DayButton = styled.button`
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ width: 2rem;
+ height: 2rem;
+ font-size: 0.75rem;
+ border-radius: 0.5rem;
+ margin: 0.125rem;
+ background-color: ${(props) =>
+ props.isSelected ? '#FF7F00' : 'transparent'};
+ color: ${(props) =>
+ props.isSundayOrSaturday
+ ? '#17A1FA'
+ : props.isSelected
+ ? 'white'
+ : '#B3B3B3'};
+`
+
+// 학사 일정 팝업
+export const SchedulePopup = styled.div`
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ background-color: #ffffff;
+ border-radius: 1.5rem 1.5rem 0 0;
+ padding: 1.5rem;
+ overflow-y: auto;
+ max-height: 60vh;
+ width: 395px;
+ margin: 0 auto;
+`
+
+export const LinkButton = styled.a`
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ text-align: left;
+ padding: 0.5rem 1rem;
+ background-color: #ffd9bb;
+ color: #000000;
+ font-size: 0.875rem;
+ font-weight: 500;
+ border-radius: 0.5rem;
+ text-decoration: none;
+ max-width: 80%;
+ margin: 0 auto 0.625rem;
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
+ transition: background-color 0.3s ease;
+
+ &:hover {
+ background-color: #f1cdb1;
+ }
+`
diff --git a/src/views/calendar/CalendarMainView.vue b/src/views/calendar/CalendarMainView.vue
index aee097f..b327703 100644
--- a/src/views/calendar/CalendarMainView.vue
+++ b/src/views/calendar/CalendarMainView.vue
@@ -1,150 +1,20 @@
-
-
- {{ event.title }}
-
- {{ formatDateRange(event.startDate, event.endDate) }}
-
- {{ currentYear }} at 동국대학교
-
-
- {{ currentMonth }}월
-
- 학사 일정
-
-