simian114 / blog Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://recketman.vercel.app/
Home Page: https://recketman.vercel.app/
https://github.com/pacocoursey/cmdk
as-is
to-be
secondary
radix-color 에서 각 색 scale 별로 사용 용도를 지정해놓은게 있음 [참고](color palette). 여기 보고 각 색을 css variable 로 선언해서 추후 사용하기 간편한 형태로 만들것
secondary: crimson
tertiary: yellow
toc
댓글
이전 / 다음 으로 이동
mdx 콘텐츠의 최대 영역 다시 정하기
#21 에서 contentlayer 를 이용해 data 를 변수로 저장함. 해당 변수를 이용 각 페이지에서 사용할 정보 만들기
모바일( ~ 768px)
태블릿 이상 ( 769px ~ )
간단히... github 로 연결
기존 폴더구조를 재귀적으로 돌면서 폴더 정리 & mdx 파일 찾아오는 로직을 contentlayer 로 변경
(contenetlayer 가 직접 type 을 생성해줌)
todo
as-is
to-be
https://ui.shadcn.com/doc 에서 theme button 참고
백그라운드 색이 들어가있는게 너무 구리다
as-is
to-be
as-is
카드 컴포넌트 전체를 a 의 after 속성이 차지하고 있어서 텍스트 셀렉이 불가능
to-be
root 404 페이지 만들기
현재 posts 폴더에 있는 mdx 파일을 읽어서 페이지를 그려주고있음. 즉 ssg 가 되어야한다.
하지만 npm run build 를 돌려보면 ssg 가 아닌 모든 페이지가 ssr 로 그려지고 있음
cookie 함수 때문이다. 여기를 읽어보면 cookie 함수는 dynamic rendering 을 만든다고 있음
지금 cookie 를 사용하는 이유는 사용자의 쿠키에 저장되어있는 theme 값을 보고 theme 이 설정되어있다면 그에 맞춰 html 의 class 명을 세팅해준다.
현재 client-side 에서 incr 하는중
서버에서 ip 확인 후 incr 하는 로직 넣기
아직 redis 개념이 없음. 학습 후 todo 작성
production 에서 동작안함
as-is
to-be
-atom 으로 사용할 다형성 컴포넌트 구현
todo
Polymorphic 아토믹 컴포넌트 구현
typography
todo
디자인
입체효과 주기
0-plugins
1-theme
2-base
3-page
4-components
https://github.com/ogonzal87/oskrhq-ds/tree/master/src/styles
todo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.