Skip to content

Commit

Permalink
add remaining items to downloads page
Browse files Browse the repository at this point in the history
  • Loading branch information
FoggyMtnDrifter committed Apr 8, 2024
1 parent 269102e commit 06fb9c3
Show file tree
Hide file tree
Showing 2 changed files with 216 additions and 1 deletion.
189 changes: 189 additions & 0 deletions app/[locale]/download/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,82 @@ const DownloadPage = () => {
},
]}
/>
<DefaultImageCard
title={t("cards.liveImages.title")}
titleTooltip={false}
titleTooltipButtonLink=""
titleTooltipButtonLabel=""
versions={[
{
versionName: `${t("cards.defaultImages.x86_64.r9.versionName")}`,
versionId: "rocky-9",
currentVersion: "v9.3",
plannedEol: `${t("cards.defaultImages.x86_64.r9.plannedEol")}`,
downloadOptions: [
{
label: `${t("cards.liveImages.downloadOptions.gnome")}`,
link: "https://dl.rockylinux.org/pub/rocky/9/live/x86_64/Rocky-9-Workstation-x86_64-latest.iso",
},
{
label: `${t("cards.liveImages.downloadOptions.gnomeLite")}`,
link: "https://dl.rockylinux.org/pub/rocky/9/live/x86_64/Rocky-9-Workstation-Lite-x86_64-latest.iso",
},
{
label: `${t("cards.liveImages.downloadOptions.kde")}`,
link: "https://dl.rockylinux.org/pub/rocky/9/live/x86_64/Rocky-9-KDE-x86_64-latest.iso",
},
{
label: `${t("cards.liveImages.downloadOptions.xfce")}`,
link: "https://dl.rockylinux.org/pub/rocky/9/live/x86_64/Rocky-9-XFCE-x86_64-latest.iso",
},
{
label: `${t("cards.liveImages.downloadOptions.mate")}`,
link: "https://dl.rockylinux.org/pub/rocky/9/live/x86_64/Rocky-9-MATE-x86_64-latest.iso",
},
{
label: `${t("cards.liveImages.downloadOptions.cinnamon")}`,
link: "https://dl.rockylinux.org/pub/rocky/9/live/x86_64/Rocky-9-Cinnamon-x86_64-latest.iso",
},
],
links: [
{
name: `${t("cards.defaultImages.checksums")}`,
link: "https://dl.rockylinux.org/pub/rocky/9/live/x86_64/",
},
],
},
{
versionName: `${t("cards.defaultImages.x86_64.r8.versionName")}`,
versionId: "rocky-8",
currentVersion: "v9.3",
plannedEol: `${t("cards.defaultImages.x86_64.r8.plannedEol")}`,
downloadOptions: [
{
label: `${t("cards.liveImages.downloadOptions.gnome")}`,
link: "https://download.rockylinux.org/pub/rocky/8/Live/x86_64/Rocky-Workstation-8-x86_64-latest.iso",
},
{
label: `${t("cards.liveImages.downloadOptions.gnomeLite")}`,
link: "https://dl.rockylinux.org/pub/rocky/8/Live/x86_64/Rocky-8-Workstation-Lite-x86_64-latest.iso",
},
{
label: `${t("cards.liveImages.downloadOptions.xfce")}`,
link: "https://dl.rockylinux.org/pub/rocky/8/Live/x86_64/Rocky-8-XFCE-x86_64-latest.iso",
},
{
label: `${t("cards.liveImages.downloadOptions.mate")}`,
link: "https://dl.rockylinux.org/pub/rocky/8/Live/x86_64/Rocky-8-MATE-x86_64-latest.iso",
},
],
links: [
{
name: `${t("cards.defaultImages.checksums")}`,
link: "https://dl.rockylinux.org/pub/rocky/8/live/x86_64/",
},
],
},
]}
/>
</div>
</TabsContent>
<TabsContent value="aarch64">
Expand Down Expand Up @@ -412,6 +488,104 @@ const DownloadPage = () => {
},
]}
/>
<DefaultImageCard
title={t("cards.liveImages.title")}
titleTooltip={false}
titleTooltipButtonLink=""
titleTooltipButtonLabel=""
versions={[
{
versionName: `${t("cards.defaultImages.x86_64.r9.versionName")}`,
versionId: "rocky-9",
currentVersion: "v9.3",
plannedEol: `${t("cards.defaultImages.x86_64.r9.plannedEol")}`,
downloadOptions: [
{
label: `${t("cards.liveImages.downloadOptions.gnome")}`,
link: "https://dl.rockylinux.org/pub/rocky/9/live/aarch64/Rocky-9-Workstation-aarch64-latest.iso",
},
{
label: `${t("cards.liveImages.downloadOptions.gnomeLite")}`,
link: "https://dl.rockylinux.org/pub/rocky/9/live/aarch64/Rocky-9-Workstation-Lite-aarch64-latest.iso",
},
{
label: `${t("cards.liveImages.downloadOptions.kde")}`,
link: "https://dl.rockylinux.org/pub/rocky/9/live/aarch64/Rocky-9-KDE-aarch64-latest.iso",
},
{
label: `${t("cards.liveImages.downloadOptions.xfce")}`,
link: "https://dl.rockylinux.org/pub/rocky/9/live/aarch64/Rocky-9-XFCE-aarch64-latest.iso",
},
{
label: `${t("cards.liveImages.downloadOptions.mate")}`,
link: "https://dl.rockylinux.org/pub/rocky/9/live/aarch64/Rocky-9-MATE-aarch64-latest.iso",
},
{
label: `${t("cards.liveImages.downloadOptions.cinnamon")}`,
link: "https://dl.rockylinux.org/pub/rocky/9/live/aarch64/Rocky-9-Cinnamon-aarch64-latest.iso",
},
],
links: [
{
name: `${t("cards.defaultImages.checksums")}`,
link: "https://dl.rockylinux.org/pub/rocky/9/live/aarch64/",
},
],
},
]}
/>
<DefaultImageCard
title={t("cards.rpiImages.title")}
titleTooltip={false}
titleTooltipButtonLink=""
titleTooltipButtonLabel=""
versions={[
{
versionName: `${t("cards.defaultImages.x86_64.r9.versionName")}`,
versionId: "rocky-9",
currentVersion: "v9.3",
plannedEol: `${t("cards.defaultImages.x86_64.r9.plannedEol")}`,
downloadOptions: [
{
label: `${t("cards.rpiImages.download")}`,
link: "https://dl.rockylinux.org/pub/sig/9/altarch/aarch64/images/RockyLinuxRpi_9-latest.img.xz",
},
],
links: [
{
name: `${t("cards.defaultImages.checksum")}`,
link: "https://dl.rockylinux.org/pub/sig/9/altarch/aarch64/images/RockyLinuxRpi_9-latest.img.xz.sha256sum",
},
{
name: `${t("cards.rpiImages.readMe")}`,
link: "https://dl.rockylinux.org/pub/sig/9/altarch/aarch64/images/README.txt",
},
],
},
{
versionName: `${t("cards.defaultImages.x86_64.r8.versionName")}`,
versionId: "rocky-8",
currentVersion: "v8.9",
plannedEol: `${t("cards.defaultImages.x86_64.r8.plannedEol")}`,
downloadOptions: [
{
label: `${t("cards.rpiImages.download")}`,
link: "https://dl.rockylinux.org/pub/sig/8/altarch/aarch64/images/RockyLinuxRpi_8-latest.img.xz",
},
],
links: [
{
name: `${t("cards.defaultImages.checksum")}`,
link: "https://dl.rockylinux.org/pub/sig/8/altarch/aarch64/images/RockyLinuxRpi_8-latest.img.xz.sha256sum",
},
{
name: `${t("cards.rpiImages.readMe")}`,
link: "https://dl.rockylinux.org/pub/sig/8/altarch/aarch64/images/README.txt",
},
],
},
]}
/>
</div>
</TabsContent>
<TabsContent value="ppc64le">
Expand Down Expand Up @@ -642,6 +816,21 @@ const DownloadPage = () => {
</TabsContent>
</Tabs>
</div>
<hr className="my-8" />
<div>
<h1 className="text-xl font-bold font-display tracking-tight sm:text-2xl">
{t("getInvolved.title")}
</h1>
<p className="mt-2 text-base">{t("getInvolved.text")}</p>
</div>
<hr className="my-8" />
<div className="mt-6">
<h1 className="text-lg font-bold font-display tracking-tight sm:text-xl">
{t("exportCompliance.title")}
</h1>
<p className="mt-2 text-sm">{t("exportCompliance.text1")}</p>
<p className="mt-1 text-sm">{t("exportCompliance.text2")}</p>
</div>
</div>
</div>
</>
Expand Down
28 changes: 27 additions & 1 deletion messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"aboutName": "About",
"resourcesName": "Resources",
"communityName": "Community",
"supportName": "Support",
"supportName": "Help",
"contributeName": "Contribute",
"openMainMenu": "Open Main Menu",
"about": {
Expand Down Expand Up @@ -190,6 +190,7 @@
},
"torrent": "Torrent (DVD ISO)",
"checksum": "CHECKSUM",
"checksums": "CHECKSUMS",
"baseOs": "BaseOS Packages",
"archived": "Archived Releases",
"x86_64": {
Expand Down Expand Up @@ -232,7 +233,32 @@
"fullImage": "Full Image",
"minimalImage": "Minimal Image"
}
},
"liveImages": {
"title": "Desktop/Workstation Live Images",
"downloadOptions": {
"gnome": "GNOME",
"gnomeLite": "GNOME (Lite)",
"kde": "KDE",
"xfce": "XFCE",
"mate": "MATE",
"cinnamon": "Cinnamon"
}
},
"rpiImages": {
"title": "Raspberry Pi Images",
"download": "Download",
"readMe": "README"
}
},
"getInvolved": {
"title": "Get Involved",
"text": "As you download and use Rocky Linux, the Rocky Enterprise Software Foundation invites you to be a part of the community as a contributor. There are many ways to contribute to the project, from documentation, QA, and testing to coding changes for SIGs, providing mirroring or hosting, and helping other users."
},
"exportCompliance": {
"title": "Export Compliance/Customs Information",
"text1": "By downloading Rocky Linux software, you acknowledge that you understand all of the following:",
"text2": "Rocky Linux software and technical information may be subject to the U.S. Export Administration Regulations (the “EAR”) and other U.S. and foreign laws and may not be exported, re-exported or transferred (a) to a prohibited destination country under the EAR or U.S. sanctions regulations (currently Cuba, Iran, North Korea, Sudan, Syria, and the Crimea Region of Ukraine, subject to change as posted by the United States government); (b) to any prohibited destination or to any end user who has been prohibited from participating in U.S. export transactions by any federal agency of the U.S. government; or (c) for use in connection with the design, development or production of nuclear, chemical or biological weapons, or rocket systems, space launch vehicles, or sounding rockets, or unmanned air vehicle systems."
}
}
}

0 comments on commit 06fb9c3

Please sign in to comment.