Documentation
Gateway — Login Landing Page
Version 1.0.0 · Vanilla HTML · 12 files · 89 KB
Getting started
- Unzip the download and open index.html in a browser. No server, installation or build step is needed.
- Edit the text directly in the HTML files.
- Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
- Replace the artwork in assets/images/ with your own images.
- Upload the whole folder to any static host.
File structure
The download contains these 12 files:
- LICENSE.txt1.7 KB
- README.md2.5 KB
- assets/css/style.css13 KB
- assets/fonts/lato-LICENSE.txt5.9 KB
- assets/fonts/lato-latin-400-normal.woff223 KB
- assets/fonts/lato-latin-700-normal.woff223 KB
- assets/fonts/lato-latin-900-normal.woff222 KB
- assets/images/favicon.svg273 B
- assets/js/main.js8.8 KB
- documentation/index.html11 KB
- documentation/licenses/lucide-LICENSE.txt3.1 KB
- index.html15 KB
Colours
These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.
--color-navy#0f172a--color-navy-2#1e293b--color-accent#6366f1--color-accent-dark#4f46e5--color-accent-soft#eef2ff--color-ink#0f172a--color-text#475569--color-line#cbd5e1--color-bg#ffffff--color-error#b91c1c--color-error-bg#fef2f2--color-ok#047857
Interactive features
Sign-in demo credentials
The demo account is [email protected] with the password Gateway-2027. Change DEMO_EMAIL and DEMO_PASSWORD at the top of assets/js/main.js, or replace checkCredentials() with a call to your authentication API.
Highlights carousel
Slides are the article elements with data-slide; add a matching dot button with data-dot. Set ROTATE_MS in main.js to change the interval.
View switching
Any button with data-go set to password, magic or sso shows the view with that id. Add a view by extending the views array.
Magic link and SSO
Replace the submit handlers in initMagic() and initSso() with requests to your backend, then reveal the confirmation block.
Customisation notes
Change the left panel
Edit the headline, slides and stats in index.html. Orb colours and sizes are the .orb rules in the stylesheet.
Remove the demo box
Delete the element marked data-demo-note inside the password view once real authentication is connected, along with the fill-demo handler in main.js.
Swap the accent
--color-accent and --color-accent-dark in :root drive buttons, focus rings and links.
What is front-end only
This is a front-end template. The behaviours below are demonstrations that run in the browser; connect them to your own server or service before relying on them.
- Password sign-in checks only the printed demo credentials and runs in the browser; no session is created.
- The magic-link and single-sign-on views validate input and show confirmations but send no email and perform no redirect.
- The statistics in the left panel are sample figures.
Bundled components and licences
Everything the template needs is inside the download; nothing is loaded from the network.
- Lato typeface — OFL-1.1 (
assets/fonts/lato-LICENSE.txt) - Lucide icons (inlined SVG) — ISC (
documentation/licenses/lucide-LICENSE.txt)
Changelog
Version 1.0.0 · Nov 23, 2026
- Initial release.