Coder Social home page Coder Social logo

readlight / readlight-landing Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 12.79 MB

리드라이트 랜딩페이지입니다(구버전)

Home Page: https://readlight.me

TypeScript 98.53% SCSS 1.47%
atomic-design nextjs react readlight styled-components typescript

readlight-landing's People

Contributors

dependabot-preview[bot] avatar nomaishere avatar xodus0721 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

readlight-landing's Issues

useScrollEvent의 initializing 문제

  1. 초기에 ScrollDirection(enum type)을 반환할 때 ScrollDirection.UP을 반환함. 아직까지 이 값을 사용하는 컴포넌트는 없을거라 당장의 문제는 없지만, undefined로 수정해야함
  2. 사이트를 새로고침하거나 특정 동작시 scrollPosition값이 0으로 초기화됨(사이트에 새로 들어올 때만 초기화되어야되는데, 새로고침 시에도 초기화되는것으로 보임). 이로 인해 상단 네비게이션바가 흰색으로 불투명해져야 되는데 그렇지 못함

Atom의 Header컴포넌트 재사용성 저하

헤더 관련된 컴포넌트 목록

  • ActiveHeader
  • ActiveSubHeader
  • DoubleLineHeader
  • SingleLineHeader
  • SmallHeader
  • SubSingleLineHeader

불필요한 코드 리팩토링 및 네이밍 필요
-> 이에따른 상위 컴포넌트 수정도 필요함

  • 애니메이션(특히 트랜스폼)을 사용하는 컴포넌트가 있고, 그렇지 않은 것이 있음. 이 둘을 하나의 Atom으로 놓을 것인지 회의 필요함

ChangeableText.tsx(Atom)의 재사용성 저하

Atom컴포넌트 안에 다음과 같이 직접 고정적인 데이터를 저장하고 받아오는 props로 변경해서 사용함
const textData = [ '하루 한권, 인공지능이 당신의 독서 취향을 분석해 책을 추천해줍니다.', '리드라이트 큐레이터들이 최근의 이슈나 트렌드에 맞는 책들을 엄선해 제공합니다.', '독서 결정에 도움을 줄수 있도록 큐레이터가 책을 읽고 작성한 칼럼을 제공합니다.', ];

-> 상위 컴포넌트에서 받아올수 있도록 변경 필요

ScrollTrigger(NPM library) error

error message: JSX element type '...' does not have any construct or call signatures typescript
-> 아마 라이브러리와 타입스크립트간의 미묘한 불일치로 인해 그런듯
-> 임시로 ScrollTriggerWrapper를 any타입으로 만들어 해결

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.