Giter VIP home page Giter VIP logo

my_blog's Introduction

📑 My Blog

Next.js 서버 컴포넌트(RSC) 활용하여 SSG 렌더링 방식 적용, contentlayer로 정적 콘텐츠(게시글)를 출력하는 블로그 구현 프로젝트.

설치 및 실행

##npm
git clone https://github.com/kylee31/my_blog.git
npm install
npm run dev

##yarn
git clone https://github.com/kylee31/my_blog.git
yarn install
yarn dev

기술스택 및 구현 기능

  • 카테고리별 게시글

주요 기능

메인 페이지 카테고리
image image
  • 메인 페이지(첫 화면), 각 카테고리 별 이동 가능
  • 프로젝트 페이지, 각 프로젝트 구현 과정에서 겪었던 경험 및 트러블 슈팅 정리

링크


트러블슈팅

첫 화면 Lighthouse Performance 성능 개선 [문제]
SSG 렌더링 방식이므로 전체 페이지 성능이 90점 이상일 것으로 기대했으나, 첫 화면 Performance 성능이 72점으로 나머지 페이지(96~100점)에 비해 현저히 떨어짐
[과정]
1. 크기가 큰 애니메이션(GIF)으로 인해 12.6 s로 길어지는 LCP 확인
2. Image 컴포넌트에 설정한 크기(400x100)와 같게 리사이징, GIF를 WebP로 형식 변환 → 이미지 크기 축소 및 압축
[결과]
LCP 3.3 s로 단축, Lighthouse Performance 72점 → 92점

현재 이슈, 코드 및 기능 개선사항

[UX 개선] 게시글 날짜 별 정렬로 코드 수정하기

my_blog's People

Contributors

kylee31 avatar

Watchers

 avatar

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.