Giter VIP home page Giter VIP logo

core-page-frontend's Introduction

core-page-frontend's People

Contributors

cocojina avatar klmhyeonwoo avatar

Watchers

 avatar  avatar

Forkers

likelionknu

core-page-frontend's Issues

랜딩페이지 제작

· 랜딩 페이지 제작
· Keyframe을 이용한 애니메이션 동작
· 라이브러리 설치 (Emotion, TypeScript)

v1.0.1 작업

v1.0.1 업데이트 사항은 다음과 같습니다.

  • 리플로우로 인한 렌더링이 늦어지는 현상 개선
  • 불필요한 코드 삭제
  • GNB 버그 수정

디자인 업데이트

디자인 업데이트 작업 진행

  • 메인화면 디자인 업데이트
  • 푸터 업데이트
  • 헤더 업데이트
  • 폰트 서브셋으로 변경

엔딩 페이지 개발

· 사용자 스크롤에 따라 반응하는 엔딩 페이지 개발

  const handleScroll = () => {
    if (backgroundRef.current) {
      scaledScroll = Math.abs(window.scrollY - scroll);
      console.log("background:", backgroundRef.current.offsetWidth);
      console.log("현재 스크롤:", scaledScroll);
      console.log(window.innerWidth);
      if (backgroundRef.current.offsetWidth <= window.innerWidth) {
        backgroundRef.current.style.width = `${1000 + scaledScroll}px`;
      }
      console.log(backgroundRef.current.style);
    }
  };

  useEffect(() => {
    // endingState로 넣은 Ref 값을 가지고 있을 경우

    if (endingState && backgroundRef.current) {
      // console.log("현재 값은 참이고, 찾았어요");
      // console.log("scrollHeight", backgroundRef.current.scrollHeight);
      // console.log("clientHeight", backgroundRef.current.clientHeight);
      // console.log("window.scrollY", window.scrollY);
      // console.log(endingScroll);
      scroll = window.scrollY;

      window.addEventListener("scroll", handleScroll);
      return () => {
        window.removeEventListener("scroll", handleScroll); //clean up
      };
    }
  }, [endingState]);

소개 페이지 제작

· React-intersection-observer 라이브러리를 이용한 스크롤 반응형 구현
· 소개페이지 퍼블리싱

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.