Skip to content

About

chan ma invest public website

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

chanmainvest.github.io

Public landing page for Chanma Investment — open-source investment research, portfolio analytics, tutorials and market tools.

Live at: https://chanmainvest.github.io/ and https://hevangel.com/

Demo buttons are host-aware: on GitHub Pages they open the matching project at chanmainvest.github.io/<repo>/; on hevangel.com they open the git submodules checked out beside this landing page.

What's here

A single-page scrollytelling site (vanilla HTML / CSS / JS — no build step) that showcases:

Features:

  • Hamburger nav drawer (top-left)
  • Theme toggle: dark / light (top-right)
  • 4-language toggle: English · 香港 · 台灣 · 中国 (top-right)
  • Three vertical story cards with a sticky screenshot for each of twelve project repos
  • Fixed screenshot minimap on the left, with a continuous viewport indicator, current-repo outline, repo-name hover/focus tooltips and click-to-jump navigation
  • Language-matched dashboard, tutorial and Wyandanch screenshots; project-page or public-repository screenshots for the other repos
  • Fully responsive, no framework, no tracking

Local preview

# Any static server works. Example with Python:
python -m http.server 8080
# then open http://localhost:8080/

Structure

index.html
_config.yml          # keeps GitHub Pages from publishing submodule trees
.gitmodules
assets/
  css/styles.css
  js/main.js         # rewrites demo hrefs for github.io vs hevangel.com
  js/i18n.js
  img/…
portfolio_dashboard/ # submodule (hevangel.com only)
tutorial/            # submodule; site is tutorial/docs/
bloomberg-mockup/    # submodule
paper_library/       # submodule
wyandanch-library/   # submodule; site is wyandanch-library/docs/
reading_library/     # submodule

Each showcase uses .project[data-repo] and exactly three .step cards. The minimap, repository count and scroll activation derive from these sections automatically. Add a matching drawer link and four-language copy when adding a project. data-preview supplies a stable screenshot for projects without language-specific visuals; named data-visual keys select language-aware sources in main.js.

After clone on hevangel.com:

git submodule update --init --depth 1

License

MIT — see LICENSE.

About

chan ma invest public website

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages