diff --git a/.astro/settings.json b/.astro/settings.json index eefc34a..b4c46d4 100644 --- a/.astro/settings.json +++ b/.astro/settings.json @@ -1,5 +1,5 @@ { "_variables": { - "lastUpdateCheck": 1728399114239 + "lastUpdateCheck": 1729485476687 } } \ No newline at end of file diff --git a/src/components/navigation/Navbar.astro b/src/components/navigation/Navbar.astro index 83d9ec1..0bc0828 100644 --- a/src/components/navigation/Navbar.astro +++ b/src/components/navigation/Navbar.astro @@ -11,8 +11,8 @@ target="_blank">Donate FAQ - - + + Download diff --git a/src/components/sections/FeatureSection.astro b/src/components/sections/FeatureSection.astro index 2626fbc..437c5a3 100644 --- a/src/components/sections/FeatureSection.astro +++ b/src/components/sections/FeatureSection.astro @@ -49,18 +49,39 @@ import { Image } from "astro:assets"; } } + .feature-text { + padding-bottom: 24px; + max-width: 100%; /* Ensure text does not exceed container width */ + overflow-wrap: anywhere + } + .feature-text h3 { font-size: 1.5rem; margin-bottom: 10px; + word-wrap: break-word; /* Break long words in headings */ + overflow-wrap: break-word; /* Ensure long words break */ } .feature-text p { font-size: 1rem; - max-width: 80%; + max-width: 100%; /* Ensure text does not exceed container width */ margin: 0 auto; + word-wrap: break-word; /* Break long words in paragraphs */ + overflow-wrap: break-word; /* Ensure long words break */ } - .feature-text { - padding-bottom: 24px; + .feature-image { + width: 100%; + height: auto; + position: relative; + overflow: hidden; /* Prevent image overflow */ + } + + .feature-image img { + width: 100%; + height: auto; + object-fit: cover; + transition: transform 0.3s ease; + display: block; } - \ No newline at end of file + diff --git a/src/pages/download.astro b/src/pages/download.astro new file mode 100644 index 0000000..8e8b498 --- /dev/null +++ b/src/pages/download.astro @@ -0,0 +1,144 @@ +--- +import Layout from "../layouts/Layout.astro"; +import FeatureSection from "../components/sections/FeatureSection.astro"; +import { features } from "./index.astro"; +--- + + +

Thanks for downloading Mythic!

+

You're just 3 seconds away from greatness...

+

If your download hasn't started, please click here.

+ +

Please note that for newer versions of macOS, you may need to toggle the 'Allow apps from' setting in System Settings > Privacy & Security > Security to 'Anywhere'.

+

For any concerns, please consult the FAQ or join the Discord.

+ +
+
+ { + features.concat(features).map((feature, index) => ( +
+ +
+ )) + } +
+
+
+
+ + + + +