Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ πŸ“ Devlog ] μ΄μœ μ§„ / 2022-11-25 #263

Open
1 task done
nuuco opened this issue Nov 25, 2022 · 0 comments
Open
1 task done

[ πŸ“ Devlog ] μ΄μœ μ§„ / 2022-11-25 #263

nuuco opened this issue Nov 25, 2022 · 0 comments
Assignees
Labels

Comments

@nuuco
Copy link
Collaborator

nuuco commented Nov 25, 2022

- μ˜€λŠ˜μ€ μ–΄λ–€ μž‘μ—…μ„ μ§„ν–‰ν–ˆλ‚˜μš”?

[μ„±λŠ₯ μ΅œμ ν™”]
λΌμ΄νŠΈν•˜μš°μŠ€λ‘œ μ„±λŠ₯ 검사 κ²°κ³Ό, gif 파일 μš©λŸ‰μ΄ μ»€μ„œ Largest Contentful Paint μ§€ν‘œκ°€ 6.3s 둜 맀우 느린 것을 확인할 수 μžˆμ—ˆμŠ΅λ‹ˆλ‹€.
λ Œλ”λ§ 속도λ₯Ό κ°œμ„ ν•˜κ³ μž gif νŒŒμΌμ„ 퀄리티 λŒ€λΉ„ μ••μΆ•λ₯ μ΄ 쒋은 mp4둜 κ΅μ²΄ν•˜μ˜€μŠ΅λ‹ˆλ‹€.

[기타]

  • 지정해주지 μ•Šμ€ 경둜λ₯Ό μž…λ ₯ν•  μ‹œ main νŽ˜μ΄μ§€λ‘œ μ΄λ™ν•˜λ„λ‘ μˆ˜μ •
    <Route path="/*" element={<MainPage />} />

참고 자료
GIFλ₯Ό 쓰지 λ§μ•„μ•Όν•˜λŠ” 이유
μ›€μ§μ΄λŠ” mp4 λ§Œλ“€κΈ°

- 였늘 μž‘μ—… λ‚΄μš©μ€‘ μ–΄λ €μ› λ˜ 뢀뢄이 μžˆμ—ˆλ‚˜μš”?

  • video νƒœκ·Έλ₯Ό gif 처럼 ν™œμš©ν•  수 μžˆλŠ” 방법을 μ•Œκ²Œ λ˜μ—ˆμŠ΅λ‹ˆλ‹€. λ‹€μŒκ³Ό 같이 μ‚¬μš©ν•˜λ©΄ λ©λ‹ˆλ‹€.
    <video src="gif.mp4" autoplay loop muted playsinline></video>
  • 이 λ•Œ λ¦¬μ•‘νŠΈμ—μ„œ μ“Έ λ•ŒλŠ”autoplayκ°€ μ•„λ‹Œ autoPlay둜, playsinline 이 μ•„λ‹Œ playsInline 으둜 써야 μ—λŸ¬κ°€ μ•ˆ λ‚¨λ‹ˆλ‹€.
  • video νƒœκ·Έλ₯Ό λ”°λ‘œ μ“΄ 경우, background-size: cover λŒ€μ‹  object-fit: cover둜 μ»¨ν…Œμ΄λ„ˆμ— 가득 차게 λ§Œλ“€μ–΄ 쀄 수 μžˆμ—ˆμŠ΅λ‹ˆλ‹€.

- 내일은 μ–΄λ–€ μž‘μ—…μ„ κ³„νšν•˜κ³  μžˆλ‚˜μš”?

  • SEO μ„€μ •
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant