Personal Introduction
Last updated 2026-10-30
Personal portfolio page on QuickUI 0.6.2: Home with typing-effect title and floating gradient blobs, Portfolio grid filtered by ?type= with copy-link share. Overview Item Value Created 2023-02-20 Category Personal Examples HTML files index.htmlSource target/20230220
Preview Open the example in a new tab Page Sections Section Description Nav Title from {{ nav.title }} (current page name), Home / Portfolio tab buttons rendered with :for, GitHub / LinkedIn links and a mobile menu button. Mobile tab sheet ul#mobile-tab with the same tabs (anchors bound to e.href) and social links, shown via the show class.Home (:if="isHome") Hello / I'm + typing text heading with blinking fake caret, intro text, Code / GitHub buttons, inline SVG via :path="image/home.svg" and image/temp1.png. Portfolio (:else) Category tabs (ALL / LAPTOP / LANDSCAPE / CITY derived from sample data) and a lazy-loaded image grid where each tile has 開啟 / 分享 actions.
Interactions new QUI({ id: "body", data, event, when }) with page / type read from URL search params (?page=portfolio&type=...).event.page switches isHome and tab classes without reload, then restarts the typing effect after 500ms.event.dynamicInput: setInterval loop deletes and retypes #typing-area through iOS工程師 / 網站工程師 / 程式設計師 / Pardn Chiu every 8s.event.expand: under 800px the first tap expands the category tab list, a second tap navigates to its data-href.event.copy: copies the image URL with QuickUI String.$copy and shows 已複製 for 500ms.event.show adds show to #mobile-tab.Dependencies Styling Item Value SCSS entry sass/index.scssOutput CSS css/index.cssPartials _home.scss, _portfolio.scss, _about.scss
index.scss holds the reset, nav, mobile tab sheet and animated gradient circles; _home styles the hero and typing caret; _portfolio the tab bar and grid; _about styles div.about, which the HTML does not use.cd target/20230220 npx sass sass/index.scss css/index.css --no-source-map || exit 1 Techniques QuickUI template syntax: {{ }}, :for, :if / :else, :class, :href, :data-*, :lazyload, :path (inline SVG), @click. Theme CSS variables in inline <style> on *: --clr-txt, --clr-grad-start / --clr-grad-end, --clr-main, --clr-bg, --size-heading, --grid-interval, --grid-radius, --grid-radio. Floating gradient circles via ::before / ::after with aspect-ratio and infinite keyframes; backdrop-filter blur panels. Sass @for generates [data-target="N"] > li selected-tab rules; grid widths via calc() with var(--grid-interval). Mobile-first breakpoints 480 / 640 / 800 / 960 / 1024px. External Assets https://fakeimg.pl/1024/282828/eae0d0/?text=samplehttps://pardn.io/image/head.pnghttps://demo-web.pardn.io/image/20230220.jpgimage/home.svg, image/temp1.png (relative, included in folder)