Personal Page

Last updated


Purple-themed developer portfolio one-pager (PARDN CHIU) with hero, about, services, JS-generated portfolio grid, testimonials and subscribe band.

Overview


ItemValue
Created2023-06-07
CategoryPersonal Examples
HTML filesindex.html
Sourcetarget/20230607

Preview


Personal Page screenshot
Open the example in a new tab

Page Sections


SectionDescription
Fixed navBrand Pardn Ltd, items HOME / ABOUT / SERVICE / PORTFOLIO / CLIENT / CONTACT (HOME has .sel), hamburger button; no handlers attached.
Header"I AM PARDN CHIU / SENIOR FULL-STACK DEVELOPER" with GitHub and CONTACT buttons beside image/header.png.
About (num=0)image/section-0.jpg with offset box-shadow, LET ME INTRODUCE MYSELF text and LinkedIn button.
Services (num=1)4 cards: iOS, front-end, back-end, full-stack development with Font Awesome icons.
Portfolio (num=2)ALL / WEB / IOS filter tabs (static), #portfolio grid filled with 20 placeholder images by inline script, static pager dots.
Testimonials (num=3)4 client cards with avatar and quote plus static pager dots.
Subscribe (num=4)Gradient band with email input and Subscribe button (no handler).
FooterCopyright and mail / GitHub / LinkedIn icons.

Interactions


  • Inline script on DOMContentLoaded calls PDRenderKit _LazyListener() and builds 20 album items with "a"._(["img"._({src})]) into a DocumentFragment, appended via portfolio._child().

Dependencies


NameVersionSource
Font Awesome Free6.5.2https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.2/css/all.min.css
PDRenderKit1.0.0https://cdn.jsdelivr.net/npm/pdrenderkit@1.0.0/dist/PDRenderKit.js
Noto Sans TC (font-family only, not loaded by the page)-none

Styling


ItemValue
SCSS entrysass/index.scss
Output CSScss/index.css

Single-file SCSS (no partials): reset, fixed nav with .sel underline, header glass card, [num="0"]..[num="4"] section blocks, footer, and a linear-move keyframe animating gradient background-position on buttons and cards. HSL brand scale vars (--col-brand-lightest..darkest, hue 271) and --width-max 1280px live in an inline <style> in index.html.
  1. cd target/20230607
  2. npx sass sass/index.scss css/index.css --no-source-map || exit 1

Techniques


  • HSL color scale as CSS custom properties (7 steps of hue 271).
  • Animated gradients: linear-gradient + @keyframes linear-move shifting background-position.
  • PDRenderKit element factory "tag"._(children|attrs) and element._child() for DOM building; _LazyListener() lazy image loader.
  • Breakpoints 640px, 644px, 800px, 1024px; backdrop-filter blur; offset box-shadow decoration.

External Assets




中文