All files / lib/pages/Main index.tsx

0% Statements 0/45
0% Branches 0/4
0% Functions 0/6
0% Lines 0/45

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
import React from 'react';
import { keyframes, styled } from 'styled-components';
import mainBanner from '@lib/assets/images/main_banner.png';
import Logo from '@lib/assets/images/header_logo.png';
import Icon from '@lib/assets/images/mini_design_image.png';
import TextIcon from '@lib/assets/images/banner_design_image.png';
import TitleIcon from '@lib/assets/images/title.png';
import Person from '@lib/assets/images/person_image.png';
import HideListText from '@lib/assets/images/hide_list.png';
import CautionText from '@lib/assets/images/caution_text.png';
import FaqText from '@lib/assets/images/faq_text.png';
import DirectionsText from '@lib/assets/images/directions_text.png';
import TimetableText from '@lib/assets/images/timetable_text.png';
import TimetableBackgroundImage from '@lib/assets/images/timetable_background.png';
import Image from 'next/image';
// 상품권
import GivewayChicken from '@lib/assets/images/giveaway_chicken.png';
import GivewayGiftCard from '@lib/assets/images/giveaway_giftcard.png';
import GivewayHamburger from '@lib/assets/images/giveaway_hamburger.png';
import GivewayiPad from '@lib/assets/images/giveaway_iPad.png';
import GivewayStarbucks from '@lib/assets/images/giveaway_starbucks.png';
import GivewayVacuum from '@lib/assets/images/giveaway_vacuum.png';
 
import DefaultLayout from '../DefaultLayout';
 
function MainPage() {
  const [windowWidth, setWindowWidth] = React.useState(0);
 
  // resize 될때만 함수 불러오기
 
  let timer: NodeJS.Timeout;
 
  const resizeWindow = () => {
    clearTimeout(timer);
    timer = setTimeout(() => {
      // 현재 window width 값
      setWindowWidth(window.innerWidth);
    }, 500);
  };
 
  React.useEffect(() => {
    setWindowWidth(window.innerWidth);
    window.addEventListener('resize', resizeWindow);
    return () => {
      window.removeEventListener('resize', resizeWindow);
    };
  }, [windowWidth]);
 
  return (
    <DefaultLayout>
      <StyleMainBannerWrap>
        <StyledMainBanner>
          <Image src={mainBanner} alt="main banner" fill />
        </StyledMainBanner>
      </StyleMainBannerWrap>
 
      {/* 메인 컨텐츠 */}
      <StyleMainContent>
        <StyleMain>
          {/* 메인 타이틀 이미지들 */}
          <MainContentTitle>
            <Image className="icon" src={Icon} alt="mini icon" />
            <Image className="logo" src={Logo} alt="title logo" />
            {windowWidth >= 1023 ? (
              <Image className="title" src={TitleIcon} alt="mini icon" />
            ) : (
              <span>세계 최대 보물찾기에 도전 할 헌터 대모집!</span>
            )}
          </MainContentTitle>
          <DisplayContent>
            {/* 컨텐츠 : 장소 일시 참가비용 안내 */}
            <NoticeContainer>
              <NoticeWrap>
                <p>
                  <strong>2023년 11월 12일 일요일</strong>
                </p>
                <p>
                  <strong>경기도청 옛청사</strong> 에서
                </p>
                <p>스마트폰을 활용한 보물찾기 축제가 열립니다.</p>
                <p>지금 사전 예약하고</p>
                <p>세계 최대 보물찾기 1위의 주인공이 되어보세요!</p>
                <br />
                <br />
                <p>
                  <strong>*본 행사는 사전 예약자 우선으로 참여가 가능합니다.</strong>
                </p>
              </NoticeWrap>
              <NoticeBox>
                <h1>장소</h1>
                <p>
                  <strong>경기도청 구청사</strong>
                </p>
                <p>(주소: 경기 수원시 팔달구 효원로 1 경기도청)</p>
              </NoticeBox>
              <NoticeBox>
                <h1>일시</h1>
                <p>23년 11월 12일 (일) 오후 1시 ~ 오후 4시 30분</p>
              </NoticeBox>
              <NoticeBox>
                <h1>참가 비용</h1>
                <p>무료</p>
              </NoticeBox>
              <NoticeBox>
                <h1>사전 예약 기간</h1>
                <p>23년 10월 4일 (수) ~ 23년 11월 3일 (금)</p>
              </NoticeBox>
              <NoticeBox>
                <h1>유의 사항</h1>
                <NoticeList>
                  <p>
                    ▪︎ 사전예약자 한 명당 한 개의 입장권이 준비되므로, 1인당 1개의 사전예약을
                    해주셔야 합니다.
                  </p>
                  <p>
                    ▪︎ 본 행사는 안전상의 이유로 미취학아동은 참여할 수 없으며, 8세 이상(2015년생
                    이상)부터 보호자 동반하여 입장이 가능합니다.
                  </p>
                  <p>▪︎ 일행 및 아동 동반시에도 반드시 개별적으로 신청해 주시길 바랍니다. </p>
                  <p> ▪︎ 현장 접수는 500명 한정으로, 조기 마감될 수 있습니다.</p>
                </NoticeList>
              </NoticeBox>
 
              {windowWidth >= 1023 ? <Image src={TextIcon} alt="notice icon" /> : ''}
            </NoticeContainer>
 
            {/* 컨텐츠 : 숨겨진 보물 리스트 */}
            <ListContainer>
              <Avatar>
                <Image src={Person} alt="person" />
              </Avatar>
              <HideText>
                <Image src={HideListText} alt="숨겨진 보물 리스트" />
              </HideText>
              {/* 이미지 슬라이드 */}
              <ImageSliderBox>
                {/* <div className="slider"> */}
                <div className="slide-track">
                  <div className="slide">
                    <Image src={GivewayChicken} fill alt="" />
                  </div>
                  <div className="slide">
                    <Image src={GivewayHamburger} fill alt="" />
                  </div>
                  <div className="slide">
                    <Image src={GivewayGiftCard} fill alt="" />
                  </div>
                  <div className="slide">
                    <Image src={GivewayStarbucks} fill alt="" />
                  </div>
                  <div className="slide">
                    <Image src={GivewayiPad} fill alt="" />
                  </div>
                  <div className="slide">
                    <Image src={GivewayVacuum} fill alt="" />
                  </div>
                  <div className="slide">
                    <Image src={GivewayChicken} fill alt="" />
                  </div>
                  <div className="slide">
                    <Image src={GivewayHamburger} fill alt="" />
                  </div>
                  <div className="slide">
                    <Image src={GivewayGiftCard} fill alt="" />
                  </div>
                  <div className="slide">
                    <Image src={GivewayStarbucks} fill alt="" />
                  </div>
                  <div className="slide">
                    <Image src={GivewayiPad} fill alt="" />
                  </div>
                  <div className="slide">
                    <Image src={GivewayVacuum} fill alt="" />
                  </div>
                </div>
                {/* </div> */}
              </ImageSliderBox>
              <div>
                <p>*5만원 이상의 경품에 대한 제세공과금은 본인 부담입니다.</p>
              </div>
            </ListContainer>
            {/* 컨텐츠 : 유의 사항 자주묻는 질문 찾아오시는 길 */}
            <CautionContainer>
              <CautionWrap>
                <ImageWrap>
                  <Image src={CautionText} alt="유의사항" />
                </ImageWrap>
                <CautionSentence>
                  <p>▪︎ 구체적인 참여 방법은 축제 전 개별적으로 안내 될 예정입니다. </p>
                  <p>
                    ▪︎ 앱을 활용한 보물찾기 행사로, 축제 참여 전 리얼월드 앱 설치가 필요합니다.{' '}
                  </p>
                  <p>
                    ▪︎ 안드로이드는 Android 8.0 (Oreo) 부터 지원 가능하고, iOS는 13.0부터 지원이
                    가능합니다.
                  </p>
                  <p>▪︎ 현장에서는 Wifi 사용이 불가하며, 데이터를 사용하셔야 합니다.</p>
                  <p> ▪︎ 많은 사람들이 이동하며 진행되는 행사라 반려견 동반은 불가합니다. </p>
                  <p>
                    ▪︎ 많은 사람들이 이동하며 진행되는 행사이기에 주차는 원칙적으로 불가하며
                    대중교통을 이용해 주세요.
                  </p>
                  <p> ▪︎ 안전을 위해 현장 스태프의 안전 가이드를 준수해 주세요. </p>
                  <p>
                    ▪︎ 주최 측은 축제 홍보를 목적으로 사진/영상/ 녹음을 진행할 수 있으며, 해당
                    콘텐츠 및 가공물은 주최 측에 귀속됩니다.
                  </p>
                  <p> ▪︎ 행사장에서 발생한 쓰레기는 지정된 장소에 분리수거해서 버려주세요. </p>
                  <p> ▪︎ 우천 등 기상상황, 혹은 천재지변에 의해 축제가 취소될 수 있습니다</p>
                </CautionSentence>
              </CautionWrap>
              <FaqWrap>
                <ImageWrap>
                  <Image src={FaqText} alt="자주 묻는 질문" />
                </ImageWrap>
 
                <FaqSentence>
                  <p>
                    <strong>Q. 보물은 어떤 방식으로 찾으면 되나요?</strong>
                    <br />
                    A. 경기도청 구청사+팔달산 둘레길 일부에 숨겨진 NFC 보물들을 핸드폰으로 태그 해
                    획득하면 됩니다. *NFC란? 10cm 이내의 거리에서 무선 데이터를 주고받는 통신
                    기술로, 보물에 핸드폰 뒷면을 가져다 대면 획득 가능합니다.
                  </p>
                  <p>
                    <strong>Q. 찾은 보물로 선물은 어떻게 수령할 수 있나요?</strong> <br />
                    A. 보물을 지정된 개수만큼 획득하면 앱 내에서 뽑기권으로 교환할 수 있습니다.
                    교환한 뽑기권을 활용해 뽑기를 돌리면, 준비된 선물 중 1개를 랜덤하게 받을 수
                    있습니다. 뽑기권 교환은 인당 5번까지 가능합니다. 보물에 핸드폰 뒷면을 가져다
                    대면 획득 가능합니다.
                  </p>
                  <p>
                    <strong>Q. 앱이 잘 작동하지 않으면 어떻게 해야 하나요? </strong>
                    <br />
                    A. 근처의 인포 부스로 와서 문의해 주세요.
                  </p>
                  <p>
                    <strong>Q. 사전예약을 해야만 참여 가능한가요? </strong>
                    <br />
                    A. 현장 입장은 500명 한정으로만 진행됩니다. 또한, 행사 당일의 상황에 따라 현장
                    입장이 불가능할 수도 있으니, 참여하실 예정이라면 되도록 사전예약에 참여해
                    주세요!
                  </p>
                </FaqSentence>
              </FaqWrap>
              <DirectionsWrap>
                <ImageWrap>
                  <Image src={DirectionsText} alt="direction text" />
                </ImageWrap>
 
                <MapWrap>
                  <iframe
                    src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3174.2405110782265!2d127.050968476068!3d37.28943327211165!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x357b5b7640274f7b%3A0xf77ed658c8d36512!2z6rK96riw64-EIOyImOybkOyLnCDsmIHthrXqtawg64-E7LKt66GcIDMw!5e0!3m2!1sko!2skr!4v1697008265876!5m2!1sko!2skr"
                    title="Google Maps"
                    width={600}
                    height={450}
                    style={{ border: 0 }}
                    allowFullScreen
                    loading="lazy"
                    referrerPolicy="no-referrer-when-downgrade"
                  />
                </MapWrap>
                <MapSentence>
                  <p>
                    <strong>지하철</strong>
                    <br /> ▪︎ 수원역(1호선/수인분당선) 8번 출구 도보 20분
                  </p>
 
                  <p>
                    <strong>버스</strong>
                    <br /> ▪︎ 향교, 팔달보건소, 중앙침례교회(03047) : 9, 10, 11, 13, 35, 37, 46,
                    2-1, 400, 9-1, 999, 10-2, 10-5, 11-1, 13-4, 15-1, 32-4, 83-1, 720-2,
                    3000(도보10분) <br /> ▪︎ (구)경기도청오거리(03043) : 92, 92-1 (도보8분)
                    <br /> ▪︎ 고등동오거리(03254) : 27-3 (도보 5분)
                  </p>
                </MapSentence>
              </DirectionsWrap>
            </CautionContainer>
          </DisplayContent>
 
          {/* 타임 테이블 */}
          <TimeTableContainer>
            <TimeTableBackgroundImageWrap backgroundImg={TimetableBackgroundImage.src}>
              {/* <Image src={TimetableBackgroundImage} alt="타임테이블 배경" /> */}
              <TimeTableBackground />
              <TimeTableTitle>
                <Image src={TimetableText} alt="타임테이블 타이틀 텍스트" />
              </TimeTableTitle>
              <TimeTableBox>
                <Border />
                <TextBox>
                  <LeftBox>
                    <span>12:00~13:00</span>
                  </LeftBox>
                  <RightBox>
                    <span>입장 진행</span>
                  </RightBox>
                </TextBox>
                <Border />
                <TextBox>
                  <LeftBox>
                    <span>13:00~13:15</span>
                  </LeftBox>
                  <RightBox>
                    <span>축제 개최사 및 기본 안내</span>
                  </RightBox>
                </TextBox>
                <Border />
                <TextBox>
                  <LeftBox>
                    <span>13:15~13:30</span>
                  </LeftBox>
                  <RightBox>
                    <span>보물찾기 시작 전 대기 → 각자 구역으로 안내</span>
                  </RightBox>
                </TextBox>
                <Border />
                <TextBox>
                  <LeftBox>
                    <span>13:30~16:30</span>
                  </LeftBox>
                  <RightBox>
                    <span>보물찾기 축제 (3시간 동안 진행)</span>
                  </RightBox>
                </TextBox>
                <Border />
                <TextBox>
                  <LeftBox>
                    <span>16:30~18:00</span>
                  </LeftBox>
                  <RightBox>
                    <span>경품 교환을 위한 안내 부스 운영</span>
                  </RightBox>
                </TextBox>
                <Border />
              </TimeTableBox>
            </TimeTableBackgroundImageWrap>
          </TimeTableContainer>
        </StyleMain>
      </StyleMainContent>
    </DefaultLayout>
  );
}
 
export default MainPage;
 
// Animation
const ScrollMove = keyframes`
    0% { transform: translateX(0); }
	100% { transform: translateX(calc(-325px * 6))}
`;
 
const StyleMainBannerWrap = styled.div`
  position: relative;
`;
 
const StyledMainBanner = styled.div`
  > img {
    width: 100%;
    height: auto !important;
    position: relative !important;
  }
`;
 
const StyleMainContent = styled.div`
  width: 100%;
 
  @media screen and(max-width: 991px) {
    padding-left: 0;
    padding-right: 0;
  }
`;
 
const StyleMain = styled.div`
  margin: 0 auto;
  position: relative;
`;
 
const NoticeContainer = styled.div`
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  // margin-top: 100px;
  /* width: 980px; */
 
  width: 980px;
  padding: 100px 100px;
 
  @media screen and (max-width: 992px) {
    width: 600px;
  }
 
  p {
    font-size: 20px;
    margin: 0;
  }
 
  > img {
    width: 950px;
    height: 100%;
    margin: 100px 0;
  }
`;
 
const NoticeWrap = styled.div`
  p {
    text-align: center;
    line-height: 1.2 !important;
    line-height: 2;
    margin-bottom: 5px;
 
    @media screen and (max-width: 992px) {
      font-size: 16px !important;
    }
  }
`;
 
const NoticeBox = styled.div`
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
 
  @media screen and (max-width: 992px) {
    padding: 0 10px;
 
    h1 {
      font-size: 1.371em;
    }
 
    p {
      font-size: 16px;
    }
  }
`;
 
const MainContentTitle = styled.div`
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
 
  .icon {
    width: 180px;
    height: 100%;
    margin: 30px 0;
  }
 
  .title {
    width: 562px;
    height: 100%;
    margin: 30px 0;
  }
 
  .logo {
    margin: 30px 0;
    width: auto;
  }
 
  @media screen and (max-width: 992px) {
    .logo {
      height: 62px;
    }
  }
`;
 
const ListContainer = styled.div`
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 880px;
  width: 100%;
  background-color: #f7f7f7;
  padding: 100px 0 50px 0;
`;
 
const Avatar = styled.div`
  img {
    width: auto;
    height: 271px;
  }
`;
 
const HideText = styled.div`
  img {
    width: auto;
    height: 30px;
  }
`;
 
const CautionContainer = styled.div`
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  /* padding: 100px 0; */
 
  width: 980px;
  padding: 100px 100px;
 
  @media screen and (max-width: 992px) {
    width: 600px;
  }
`;
 
const CautionWrap = styled.div`
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
  /* width: 980px; */
 
  img {
    width: auto;
    height: 30px;
  }
`;
 
const CautionSentence = styled.div`
  margin: 50px 0;
  font-size: 20px;
  line-height: 1.2 !important;
  word-break: normal;
  word-wrap: break-word;
 
  @media screen and (max-width: 992px) {
    p {
      font-size: 15px !important;
    }
  }
`;
 
const FaqWrap = styled.div`
  /* width: 980px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
 
  img {
    width: auto;
    height: 30px;
  }
`;
 
const FaqSentence = styled.div`
  margin: 50px 0;
  font-size: 20px;
  line-height: 2;
  word-break: normal;
  word-wrap: break-word;
  width: 100%;
 
  @media screen and (max-width: 992px) {
    p {
      font-size: 15px !important;
    }
  }
`;
 
const DirectionsWrap = styled.div`
  /* width: 980px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
 
  img {
    width: auto;
    height: 30px;
  }
`;
 
const MapWrap = styled.div`
  margin-top: 40px;
 
  @media screen and (max-width: 992px) {
    iframe {
      width: 600px !important;
      height: 300px !important;
    }
  }
 
  iframe {
    z-index: 0;
    left: 0px;
    top: 0px;
    width: 950px;
    height: 450px;
 
    padding: 0px;
    border-width: 0px;
    margin: 0px;
    cursor: url(https://maps.gstatic.com/mapfiles/openhand_8_8.cur), default;
    touch-action: pan-x pan-y;
  }
`;
 
const MapSentence = styled.div`
  margin: 50px 0;
  font-size: 20px;
  line-height: 2;
  word-break: normal;
  word-wrap: break-word;
 
  @media screen and (max-width: 992px) {
    p {
      font-size: 15px !important;
    }
  }
`;
 
const TimeTableContainer = styled.div`
  width: 100%;
  height: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
`;
 
const TimeTableBackgroundImageWrap = styled.div<{ backgroundImg: string }>`
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url(${(props) => props.backgroundImg});
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
 
  > img {
    width: 100%;
    height: auto !important;
  }
`;
 
const TimeTableBackground = styled.div`
  background-color: rgba(0, 0, 0, 0.8);
  zoom: 1;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
`;
 
const TimeTableTitle = styled.div`
  z-index: 10;
  img {
    z-index: 10;
    width: auto;
    height: 30px;
  }
`;
 
const TimeTableBox = styled.div`
  z-index: 10;
  width: 980px;
  margin-top: 100px;
 
  @media screen and (max-width: 1024px) {
    width: 850px;
  }
 
  @media screen and (max-width: 990px) {
    width: 680px;
  }
`;
 
const Border = styled.div`
  width: 100%;
  border-bottom: 1px solid #e5e7eb;
  opacity: 0.3;
`;
 
const TextBox = styled.div`
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  font-size: 1.286em;
 
  @media screen and (max-width: 1024px) {
    font-size: 21px;
  }
 
  @media screen and (max-width: 990px) {
    display: flex;
    flex-direction: column;
  }
`;
 
const LeftBox = styled.div`
  height: 50px;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: white;
  font-size: 20px;
  font-weight: 300;
 
  @media screen and (max-width: 990px) {
    height: 40px;
    margin: 10px 0;
    font-size: 16px;
  }
`;
 
const RightBox = styled.div`
  height: 50px;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: white;
  font-weight: 700;
  @media screen and (max-width: 990px) {
    height: 40px;
    margin: 10px 0;
    font-size: 16px;
  }
`;
 
const ImageSliderBox = styled.div`
  background: white;
  // box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
  /* height: 100%; */
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
 
  &::before,
  &::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    content: '';
    height: 100%;
    position: absolute;
    width: 325px;
    z-index: 2;
  }
 
  &::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
  }
 
  &::before {
    left: 0;
    top: 0;
  }
 
  .slide-track {
    animation: ${ScrollMove} 40s linear infinite;
    display: flex;
    width: calc(325px * 12);
  }
 
  .slide {
    height: 100%;
    width: 325px;
    padding: 10px 5px;
    background: #f7f7f7;
 
    img {
      width: 100%;
      height: 100%;
      position: relative !important;
      object-fit: cover;
    }
  }
`;
 
const NoticeList = styled.div`
  /* width: 100%; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
 
  @media screen and (max-width: 992px) {
    padding: 0 10px;
    // width: 500px;
 
    p {
      font-size: 16px !important;
    }
  }
 
  @media screen and (max-width: 767px) {
    margin-left: -7.5px;
    margin-right: -7.5px;
  }
`;
 
const ImageWrap = styled.div`
  width: 100%;
  display: flex;
  justify-content: center;
`;
 
const DisplayContent = styled.div`
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
`;