How viooptical/klon-website works
1. This repository is a static, multi-page website clone rather than an application with a server-side runtime. The entire deployable surface is HTML plus vendored assets.
2. The site is split into two isolated page roots:
- ortho-k/
- solusi-mata-minus/
Each folder contains its own index.html and its own assets/ tree, so each page can be served independently.
3. There is no application backend in the repo. All behavior happens in the browser, and the pages are deployed as static files from the repository root.
4. Netlify is the hosting layer. netlify.toml configures the publish directory as . and provides host-based rewrites so the custom domains map to the corresponding subdirectories:
- ortho-k.viooptical.com -> /ortho-k/
- solusi-mata-minus.viooptical.com -> /solusi-mata-minus/
5. The runtime request flow is simple: browser hits the domain, Netlify rewrites to the page directory, index.html loads, and that HTML pulls in local CSS, fonts, scripts, images, and media from the page-specific assets/ folder.
6. The assets/ directories are effectively a vendored snapshot of third-party dependencies. Their structure mirrors external origins such as:
- fonts.googleapis.com and fonts.gstatic.com
- static.leadpages.net
- api.leadpages.io
- js.center.io
- googleads.g.doubleclick.net
- lh3.googleusercontent.com
- viooptical.lpages.co
This indicates the pages were captured from a Leadpages-built landing page and its supporting resources.
7. Tracking and marketing integrations are part of the page architecture, not separate services in this repo. The captured assets include analytics and conversion-related files, such as Leadpages observation capture files and Google Ads conversion pages, plus a Center.io script.
8. Typography and visual styling are also self-contained. Each page bundles font assets locally rather than fetching them live at render time, which makes the clone portable and reduces dependency on external availability.
9. The youtube/ asset folder under solusi-mata-minus/ suggests media or embed support is also stored locally for that page, consistent with a static mirrored landing page.
10. Operationally, the repo is designed for simple static serving. The README’s local workflow uses python -m http.server 4175, which matches the architecture: no build step, no package install, just file serving.
11. The main architectural boundary is therefore between each page directory and the external services it originally depended on. In this repo those dependencies are flattened into local files, so the deployed site is mostly self-contained with only browser-side execution.
12. For an architecture diagram, the key elements are: Netlify at the edge, two independent static page bundles, browser-side asset loading, and embedded marketing/tracking resources originating from Leadpages and Google-related services.
Main entry points: solusi-mata-minus/assets Solusi assets · ortho-k/assets Ortho assets · netlify.toml Netlify · index.html Ortho index
Components 20
Deployment
Static hosting and routing
Ortho K
Independent page bundle
- Ortho index · Standalone landing page entry
ortho-k/index.html - Ortho assets · Vendored CSS, fonts, scripts, and media for the Ortho page
ortho-k/assets - Tracking JS · Leadpages runtime/observability script
ortho-k/assets/viooptical.lpages.co/rt.js
Solusi Mata Minus
Independent page bundle
- Solusi index · Standalone landing page entry
solusi-mata-minus/index.html - Solusi assets · Vendored CSS, fonts, scripts, and media for the Solusi page
solusi-mata-minus/assets - Tracking JS · Leadpages runtime/observability script
solusi-mata-minus/assets/viooptical.lpages.co/rt.js - Media pack · Local media/embed support files
solusi-mata-minus/assets/youtube
Vendored Origins
Captured third-party resources flattened into local files
- Font pack · Locally mirrored typography assets
ortho-k/assets/fonts.gstatic.com - Theme CSS · Vendored font and site styles
ortho-k/assets/fonts.googleapis.com/css-ad9ce310.css - Leadpages UI · Captured Leadpages styles and images
ortho-k/assets/static.leadpages.net - Capture data · Leadpages observation capture artifact
ortho-k/assets/api.leadpages.io/analytics/v1/observations/capture-8fd5fa0a.bin - Center script · Captured Center.io integration
ortho-k/assets/js.center.io/center.js - Font pack · Locally mirrored typography assets
solusi-mata-minus/assets/fonts.gstatic.com - Theme CSS · Vendored font and site styles
solusi-mata-minus/assets/fonts.googleapis.com/css-aa5e59d3.css - Leadpages UI · Captured Leadpages styles and images
solusi-mata-minus/assets/static.leadpages.net - Capture data · Leadpages observation capture artifact
solusi-mata-minus/assets/api.leadpages.io/analytics/v1/observations/capture-f3e94da1.bin - Center script · Captured Center.io integration
solusi-mata-minus/assets/js.center.io/center.js
Connections 20
- Browser → Netlify: requests · Browser requests the custom domains from the host
- Netlify → Ortho index: rewrite ortho-k · Host rewrite maps the domain to the Ortho page root
- Netlify → Solusi index: rewrite solusi · Host rewrite maps the domain to the Solusi page root
- Root page → Ortho index: entry path · Static entry surfaces the independent page root
- Root page → Solusi index: entry path · Static entry surfaces the independent page root
- Ortho index → Ortho assets: loads · HTML pulls its page-specific asset tree
- Ortho assets → Tracking JS: includes · Page bundle includes the runtime script
- Ortho assets → Font pack: fonts · Uses locally mirrored font files
- Ortho assets → Theme CSS: styles · Uses captured stylesheet resources
- Ortho assets → Leadpages UI: ui assets · Uses mirrored Leadpages styling and imagery
- Ortho assets → Capture data: analytics · Includes observation capture artifacts
- Ortho assets → Center script: tracking · Includes marketing integration script
- Solusi index → Solusi assets: loads · HTML pulls its page-specific asset tree
- Solusi assets → Tracking JS: includes · Page bundle includes the runtime script
- Solusi assets → Media pack: media · Contains local media/embed support files
- Solusi assets → Font pack: fonts · Uses locally mirrored font files
- Solusi assets → Theme CSS: styles · Uses captured stylesheet resources
- Solusi assets → Leadpages UI: ui assets · Uses mirrored Leadpages styling and imagery
- Solusi assets → Capture data: analytics · Includes observation capture artifacts
- Solusi assets → Center script: tracking · Includes marketing integration script