This repository contains the source code for the official LionOS website. LionOS is a next-generation, Linux-based operating system focused on performance, simplicity, and community-powered growth.
- Create a high-performance, sleek, and minimal website that reflects the futuristic and user-focused identity of LionOS.
- Provide easy access to downloads, documentation, community links, and news.
- Ensure content is easily editable, leveraging Markdown for docs and blog posts.
- Style: Inspired by Deepin and macOS – ultra-clean, smooth, with subtle animations.
- Color Scheme: Primarily monochrome (black, white, grays) with an elegant cobalt blue accent.
- Typography: Modern, legible, and elegant fonts.
- Animations: Minimal and purposeful page transitions, hover effects, and smooth scrolling.
- Dark Mode: User-selectable dark mode for comfortable viewing.
- Frontend: HTML5, CSS3, JavaScript (ES6+)
- CSS Features: Custom properties (variables), Flexbox, Grid, subtle glassmorphism.
- JavaScript Libraries:
marked.js(for rendering Markdown content for Docs and Blog).
- Icons: Google Material Icons (Filled, Rounded).
- Static Site: No complex backend or build system. Purely client-side rendered.
lionos-website/
├── public/
│ ├── css/
│ │ ├── style.css # Global styles, layout, components
│ │ ├── themes.css # Light and dark theme definitions
│ │ └── animations.css # Animation styles
│ ├── js/
│ │ ├── main.js # Core JavaScript logic
│ │ └── vendor/
│ │ └── marked.min.js # Markdown parser library
│ ├── images/ # Site images (logo, screenshots, feature icons)
│ │ ├── logo.svg
│ │ ├── hero-background.jpg
│ │ └── ... (other images)
│ └── icons/ # (Optional if not using CDN for icons)
├── pages/ # HTML pages
│ ├── index.html
│ ├── downloads.html
│ └── ... (other pages)
├── content/ # Markdown content
│ ├── docs/
│ │ ├── introduction.md
│ │ └── ...
│ ├── blog/
│ │ ├── first-post.md
│ │ └── ...
├── README.md # This file
├── DEPLOYMENT.md # Deployment instructions
└── .gitignore # Files to ignore for Git
- A modern web browser.
- A code editor (e.g., VS Code).
- (Optional) A local web server for development to handle relative paths correctly and avoid CORS issues if fetching local Markdown files. Many simple options exist:
- Node.js
http-server:npm install -g http-serverthen runhttp-server .in thelionos-websitedirectory. - Python's built-in server:
python -m http.server(Python 3) orpython -m SimpleHTTPServer(Python 2) in thelionos-websitedirectory. - VS Code Live Server extension.
- Node.js
-
Clone the repository (or download the files):
# If this were a real Git repo: # git clone <repository-url> # cd lionos-website
For now, just create the directory structure and files as provided.
-
Download
marked.js:- Go to https://cdn.jsdelivr.net/npm/marked/marked.min.js
- Save the file as
marked.min.jsinside thepublic/js/vendor/directory.
-
Add Assets:
- Place your
logo.svgand other placeholder images in thepublic/images/directory. - Create placeholder Markdown files in
content/docs/andcontent/blog/.
- Place your
- Navigate to the
lionos-websitedirectory in your terminal. - Start a local web server (see Prerequisites). For example, using Python 3:
python -m http.server 8000
- Open your web browser and go to
http://localhost:8000/pages/index.html. (Note: The root for the server will belionos-website/. You'll need to navigate topages/index.htmlor the specific page you want to view.)
- Pages: Directly edit the HTML files in the
pages/directory. - Documentation: Add or edit Markdown (
.md) files in thecontent/docs/directory. The website will dynamically fetch and render these. - Blog/News: Add or edit Markdown (
.md) files in thecontent/blog/directory.
See DEPLOYMENT.md for instructions on deploying to services like Vercel, Netlify, or a traditional VPS.
Contributions are welcome! If this were an open-source project, refer to a CONTRIBUTING.md for guidelines. For now, this website is built as per the project requirements.
(Specify a license if applicable, e.g., MIT License. For this project, we'll assume it's proprietary unless stated otherwise).
This website is the face of LionOS — designed to be beautiful, performant, and inspiring.