linuxmint / website-wizixo

59 stars 25 forks source link

Main Website

Slack Html5 Css3 Javascript


The goal of this project is to redesign the main Linux Mint website.

Scope

Themes

In this project we modify a theme called Wizixo.

Pros:

Cons:

Structure

Install and running

Clone the project:

git clone https://github.com/linuxmint/website-wizixo.git

Navigate to project folder:

cd website-wizixo/wizixo

Navigate to the wizixo folder and install the dependencies:

npm install
#or
yarn

Now, build the pages:

yarn build
# or you can run the build.py file on root folder

Run the local server:

npm start
#or
yarn start

(ou can use others local http servers like: live server or python http.server)

Building pages

To avoid duplicating the same headers and footers in every single page, we put common sections in mint-section-*.html files.

We then work on pages called mint-page-*.html which include these sections with <include> tags.

Let's take an example:

Note that with the exception of src, attributes are also used. In the example above, title="Privacy is used to replace $title with Privacy when injecting the content of mint-section-title.html.

The resulting mint-privacy.html page is what we can open with our Web browser.

Web pages

Category Page Filename Notes
Common sections Header mint-section-header.html HTML head, body all the way down to the menu (included).
Footer mint-section-footer.html Footer section.
Title mint-section-title.html Title section, used at the top of the page in all pages, except the main page.
Sponsors footer mint-section-sponsors.tml A sponsor section just above the footer, on all pages except the sponsors, partners and home pages.
Home Home page mint-page-main.html Describes what Mint is, why it's good, to newcomers.
Download Linux Mint 20.2 mint-page-download.html Same as old website
LMDE 4 mint-page-download-lmde.html Same as old website
All versions mint-page-download-all.html Same as old website
Edition mint-page-edition.html Same as old website, download links with mirrors for a particular edition
Release notes mint-page-notes.html Same as old website
New features mint-page-features.html Same as old website
Verify mint-page-verify.html Same as old website
Project Donors mint-page-donors.html Same as old website
Sponsors mint-page-sponsors.html Same as old website
Partners mint-page-partners.html Same as old website
Store mint-page-store.html Same as old website
Get Involved mint-page-get-involved.html Same as old website
Development mint-page-development.html Describes our projects (replaces https://projects.linuxmint.com/)
Mirrors mint-page-mirrors.html Same as old website
About About Linux Mint mint-page-about.html Describes the OS and the project more in details.
FAQ mint-page-faq.html Accordion style? Answer main questions people have.
Documentation mint-page-documentation.html Should really push people towards the main documents rather than just list all of them in a table.
Screenshots mint-page-screenshots.html Same as old website
Team mint-page-team.html Same as old website
Contact mint-page-contact.html Same as old website
Privacy and Cookies mint-page-privacy.html Same as old website
Brand mint-page-brand.html Should provide resources for using our brand (logo, name..etc), explain what is OK and what isn't, explain what people can do with Linux Mint without the need to ask for permission etc...
Links Local Communities mint-page-communities.html Same as old website