Zeczec

Last updated


Multi-page crowdfunding platform mockup modeled on zeczec (嘖嘖), using QuickUI 0.6.2 :for loops: home, explore, project, FAQ, comments, proposal and auth pages.

Overview


ItemValue
Created2024-06-25
CategoryApp & Platform Examples
HTML filesindex.html, search.html, start.html, project.html, project-1.html, project-2.html, login.html, signup.html, forget.html
Sourcetarget/20240625

Preview


Zeczec screenshot
Open the example in a new tab

Page Sections


SectionDescription
Nav (.body-nav)Inline SVG logo and logotype, links 探索 (search.html) / 提案 (start.html), 登入 / 註冊 / Facebook 登入.
Home hero (header.home)Featured project card with data-text badge (群眾募資 | 剩下24天), backers and amount.
Home picks (.home-1)4 project cards via :for="(e, i) in list_4".
Categories (.home-2)Category links (飲食, 時尚, 地方創生, 音樂...).
Project grids (.home-3)群眾募資 and 預購式專案 grids (list_6) with progress bar (data-percent), amount, backers, time left and pager.
Footer (.footer)Logo, 幫助 / 關於 link groups and social icons.
search.htmlFilter bar with search input and a 12-card project grid (list_12).
project.htmlYouTube iframe, title, funding data with pie progress circle, buttons, tab header, Markdown description (section.markdown) and reward plans with discount hints (data-hint).
project-1.html / project-2.htmlSame project header; FAQ list (project-3) and comment thread with replies (project-4).
start.htmlProposal landing: stats (100 億 +, 5,600 +...), proposal categories and FAQ.
login.html / signup.html / forget.htmlSplit layout with image and form: login (Facebook button, email, password, remember me), signup (Facebook button, name, email, password + confirmation, remember me), forget (single email field and a 重設密碼 button).

Interactions


  • index.html / search.html: new QUI({ id: "app", data: {...} }) with list_4 and list_6 (index.html) or list_12 (search.html) renders the :for card loops.
  • project.html: fetches @pardnchiu/nanomd@1.8.5 README.md and, in when.rendered, constructs an MDViewer with the fetched text as emptyContent and appends it to section.markdown.
  • Other pages are static HTML (no inline script besides GA and JSON-LD).

Dependencies


NameVersionSource
Font Awesome Free6.5.2https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.2/css/all.min.css
QuickUI (@pardnchiu/quickui)0.6.2https://cdn.jsdelivr.net/npm/@pardnchiu/quickui@0.6.2/dist/QuickUI.js
@pardnchiu/nanomd README.md (fetched content)1.8.5https://cdn.jsdelivr.net/npm/@pardnchiu/nanomd@1.8.5/README.md
Noto Sans TC (font-family only)-declared in SCSS; no font stylesheet is linked, so it relies on a locally installed font or the sans-serif fallback
Roboto Mono (font-family only)-declared in SCSS; not loaded

Styling


ItemValue
SCSS entrysass/index.scss
Output CSScss/index.css
Partials_init.scss, function/_hsbTohsl.scss, animation/_pie.scss

_init defines $_2..$_2160 rem spacing variables (including $_1140) and the reset; function/_hsbTohsl provides hsb()/hsba() color functions; animation/_pie holds pie keyframes imported inside the project data circle. index.scss sets the font-family of * to Arial, Helvetica, sans-serif and styles every page block (nav, home-1..3, project-1..4, start-1..3, login, footer, .md-viewer).
  1. cd target/20240625
  2. npx sass sass/index.scss css/index.css --no-source-map || exit 1

Techniques


  • QuickUI :for="(e, i) in list_n" template loops over placeholder arrays.
  • CSS attr() for badges (content: attr(data-text), attr(data-hint)); progress bars via [data-percent="0"]..[data-percent="90"] selectors in steps of 10; SCSS @for-generated pie progress using [percent][done] and CSS vars (--pie-*).
  • SCSS spacing variable scale and custom @function hsb(); @media (hover: hover) hover-only effects; single breakpoint $_1140 (71.25rem).
  • Inline SVG logo and logotype; nav-logo and background-color keyframes.

External Assets




中文