File tree Expand file tree Collapse file tree
src/widgets/main/SloganSecondSection Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,8 +31,10 @@ const PRIZES = [
3131 } ,
3232] ;
3333
34- const SLOGAN_START = new Date ( "2026-05-04T00:00:00+09:00" ) ;
35- const SLOGAN_END = new Date ( "2026-05-08T17:59:59+09:00" ) ;
34+ const SLOGAN_YEAR = 2026 ;
35+
36+ const SLOGAN_START = new Date ( `${ SLOGAN_YEAR } -05-04T00:00:00+09:00` ) ;
37+ const SLOGAN_END = new Date ( `${ SLOGAN_YEAR } -05-08T17:59:59+09:00` ) ;
3638
3739const SloganSecondSection = ( ) => {
3840 const R = useRouter ( ) ;
@@ -54,20 +56,20 @@ const SloganSecondSection = () => {
5456 const submissionPeriodText = React . useMemo ( ( ) => {
5557 const startText = formatDate ( SLOGAN_START ) ;
5658 const endText = formatDate ( SLOGAN_END ) ;
57- return `공모기간 : 2026 .${ startText } ~${ endText } 18:00까지` ;
59+ return `공모기간 : ${ SLOGAN_YEAR } .${ startText } ~${ endText } 18:00까지` ;
5860 } , [ ] ) ;
5961
6062 return (
6163 < section id = "SloganSecondSection" className = { cn ( "w-full mt-[3.5rem] mobile:mt-20 text-center" ) } >
6264 < SectionTitle
63- title = "2026 광탈페 슬로건"
65+ title = { ` ${ SLOGAN_YEAR } 광탈페 슬로건` }
6466 description = {
6567 < >
6668 < span className = "text-black text-body2b" >
6769 세상의 무대 위, 광탈페! 너의 꿈이 시작되는 순간!
6870 </ span >
6971 < span className = { cn ( "block" ) } >
70- 2026년 모두가 주인공이 되는 광주학생탈렌트페스티벌의 꿈의 무대가 펼쳐집니다.
72+ { SLOGAN_YEAR } 년 모두가 주인공이 되는 광주학생탈렌트페스티벌의 꿈의 무대가 펼쳐집니다.
7173 </ span >
7274 </ >
7375 }
You can’t perform that action at this time.
0 commit comments