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

메인 페이지 UI 재구성 #9

Merged
merged 8 commits into from Oct 7, 2022
Merged

메인 페이지 UI 재구성 #9

merged 8 commits into from Oct 7, 2022

Conversation

upa-r-upa
Copy link
Owner

@upa-r-upa upa-r-upa commented Oct 7, 2022

Resolve #10

메인 페이지의 UI 재구성 작업을 진행했습니다.

우선적으로 UI는 크게 두가지 구성 요소로 나뉩니다.

  1. 애니메이션, 2. 프로젝트 이력 입니다.

애니메이션

hello-world-type

사용자의 관심을 유도할 수 있게 가장 상단엔 타이핑 애니메이션 요소를 배치했습니다.
Hello, World! Text를 타이핑 하는 느낌을 줄 수 있도록 애니메이션을 제작했습니다.

전체 텍스트를 요소를 하나로 묶은 이후, ::before요소를 사용해 > 구성 요소를 추가해 오로지 시각적인 내용을 추가했습니다.
텍스트의 타이핑 애니메이션과 상관 없이, 항상 요소 맨 뒤에서 커서처럼 깜빡이는 애니메이션이 생길 수 있도록 ::after요소를 사용해 애니메이션을 추가했습니다.

타이핑 애니메이션 되고자 하는 각각의 텍스트 요소들은 개별의 요소로 선택할 수 있어야 하기 때문에, 타이핑 대상의 문구를 따로 관리한 뒤 배열로 변환 이후 각 텍스트를 span tag로 래핑해 렌더할 수 있도록 했습니다.
각 텍스트는 0.3초마다 타이핑 애니메이션이 이뤄집니다.

프로젝트 이력

image

회사 목록과 그에 해당하는 프로젝트 목록의 경우, 따로 파일로 관리하여 참조 후 렌더하고 있습니다.
파일 위치는 src/assets/data/resume.ts 입니다.

@upa-r-upa upa-r-upa self-assigned this Oct 7, 2022
@upa-r-upa upa-r-upa added the enhancement New feature or request label Oct 7, 2022
- Detach theme and apply code
- Detach Resume and apply code
- Separating render to function
- Separating date format processing to Util
Main UI 리뉴얼 코드 개선 및 리팩토링
@upa-r-upa upa-r-upa merged commit 2371241 into main Oct 7, 2022
@upa-r-upa upa-r-upa deleted the feat/main-re branch October 7, 2022 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

메인 페이지 UI 구성 변경 (리뉴얼)
1 participant