diff --git a/README.md b/README.md index 9416124ff7..e6155ee40f 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,29 @@ Architecture/Philosophies * Graceful degradation (don't be held back by crappy browsers) * Mobile-first +Building and Running +==================== + +You'll need the following dependencies: + +* node v18 +* php +* php8.3-xml +* composer + +Run `npm install`, and then `npm run build` to install required dependencies and build the assets: + +```` +npm install +npm run build +```` + +Start PHP’s development web-server: +```` +php -S localhost:8000 router.php +```` + +The website should be up and running at `http://localhost:8000/` Templating System ================= diff --git a/_styles/home.css b/_styles/home.css index c369dbf089..809cb920bf 100644 --- a/_styles/home.css +++ b/_styles/home.css @@ -61,10 +61,66 @@ input:focus + .focus-reveal { transition: 250ms all; } +/******************** +* OS Download Modal * +********************/ + #download { margin: 3px auto 6px; } +.download-modal { + display: grid; + grid-template-columns: 48px 1fr; + column-gap: 18px; + align-items: start; + padding: 2em; +} + +.download-modal .dialog-icon { + margin-bottom: 1em; +} + +.download-modal .dialog-body { + grid-column: 2; +} + +.download-modal .content-area { + width: auto; + display: block; +} + +.download-modal .download-row { + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; + padding: 10px 0; + text-align: left; +} + +.download-modal .download-meta { + flex: 1 1 auto; + min-width: 0; +} + +.download-modal .linked { + display: inline-flex; + margin: 0; + white-space: nowrap; +} + +.download-modal hr.modal-separator { + border: 0; + border-top: 1px solid rgba(0, 0, 0, 0.15); + margin: 12px 0; +} + +.sub { + font-size: 12px; +} + + .cta { padding: 64px 1em; text-align: center; diff --git a/index.php b/index.php index 482bc1fdb5..671b117eb1 100644 --- a/index.php +++ b/index.php @@ -467,21 +467,87 @@ - - -
-

Choose a Download

-

Download from a localized server or by magnet link. For help and more info, see the installation guide

-
-
- -
- Download - + + + + +
+
+

+ Download elementary OS 8 +

+

+ Choose the variant of elementary OS based on your computer's processor architecture. + For help and more info, see the + + installation guide + . +

+
+ + + +
+
+
+
Intel or AMD 64-bit
+
+ OS • + +
+
(Most PCs and older Macs)
+
+ + +
+ +
+
+
ARM 64-bit
+
+ OS • + +
+
(Apple Silicon, Raspberry Pi, etc.)
+
+ + +
+
+ +
+
-