A bilingual website with English as the primary language and Chinese as the secondary language.
- Bilingual Support: English (primary) and Chinese (secondary) language options
- Language Persistence: User's language preference is saved in localStorage
- Responsive Design: Works on desktop, tablet, and mobile devices
- Modern UI: Glass morphism effects and smooth animations
- Single Page Navigation: Navigation between pages without opening new tabs
index.html- Main homepage with MSJ branding and language switcherfunction.html- Function area pagefavicon-16.png- 16x16 faviconfavicon-32.png- 32x32 favicon_redirects- Cloudflare Pages redirect configuration
This project is designed for Cloudflare Pages deployment. The _redirects file ensures proper routing for single-page application behavior.
- Push your code to a Git repository (GitHub, GitLab, etc.)
- Connect your repository to Cloudflare Pages
- Set the build command to empty (since this is a static site)
- Set the build output directory to
msj-homepage - Deploy
- Click the language buttons (EN/中文) in the top-right corner to switch languages
- The language preference is automatically saved and restored on subsequent visits
- English is set as the default language
- Modern browsers with CSS Grid and Flexbox support
- Requires JavaScript for language switching functionality
- Compatible with Cloudflare Pages hosting