Update site with latest isos and changelog

This commit is contained in:
ferrreo 2023-03-11 15:42:03 +00:00
parent eb1dec4f38
commit 60225ceaac
4 changed files with 57 additions and 35 deletions

View File

@ -1,6 +1,6 @@
--- ---
import { Icon } from 'astro-icon'; import { Icon } from "astro-icon";
import { getPermalink } from '~/utils/permalinks'; import { getPermalink } from "~/utils/permalinks";
export interface Props { export interface Props {
prevUrl: string; prevUrl: string;
@ -9,20 +9,31 @@ export interface Props {
nextText?: string; nextText?: string;
} }
const { prevUrl, nextUrl, prevText = 'Newer posts', nextText = 'Older posts' } = Astro.props; const {
prevUrl,
nextUrl,
prevText = "Newer posts",
nextText = "Older posts",
} = Astro.props;
--- ---
{ {
(prevUrl || nextUrl) && ( (prevUrl || nextUrl) && (
<div class="container flex"> <div class="container flex">
<div class="flex flex-row mx-auto container justify-between"> <div class="flex flex-row mx-auto container justify-between">
<a href={getPermalink(prevUrl)} class={`btn btn-ghost px-3 mr-2 ${!prevUrl ? 'invisible' : ''}`}> <a
href={getPermalink(prevUrl)}
class={`btn btn-ghost px-3 mr-2 ${!prevUrl ? "invisible" : ""}`}
>
<div class="flex flex-row align-middle"> <div class="flex flex-row align-middle">
<Icon name="tabler:chevron-left" class="w-6 h-6" /> <Icon name="tabler:chevron-left" class="w-6 h-6" />
<p class="ml-2">{prevText}</p> <p class="ml-2">{prevText}</p>
</div> </div>
</a> </a>
<a href={getPermalink(nextUrl)} class={`btn btn-ghost px-3 ${!nextUrl ? 'invisible' : ''}`}> <a
href={getPermalink(nextUrl)}
class={`btn btn-ghost px-3 ${!nextUrl ? "invisible" : ""}`}
>
<div class="flex flex-row align-middle"> <div class="flex flex-row align-middle">
<span class="mr-2">{nextText}</span> <span class="mr-2">{nextText}</span>
<Icon name="tabler:chevron-right" class="w-6 h-6" /> <Icon name="tabler:chevron-right" class="w-6 h-6" />

View File

@ -1,12 +1,13 @@
---
import { getPermalink } from '~/utils/permalinks';
---
<div <div
class="bg-primary-900 dark:bg-slate-800 text-center dark:border-slate-800 dark:text-slate-400 border-b border-primary-900 text-sm px-3 py-2 text-gray-200 overflow-hidden whitespace-nowrap text-ellipsis" class="bg-primary-900 dark:bg-slate-800 text-center dark:border-slate-800 dark:text-slate-400 border-b border-primary-900 text-sm px-3 py-2 text-gray-200 overflow-hidden whitespace-nowrap text-ellipsis"
> >
<span class="text-xs py-0.5 px-1 bg-primary-800 dark:bg-slate-700 dark:text-slate-300 font-semibold">NEW</span> <span
class="text-xs py-0.5 px-1 bg-primary-800 dark:bg-slate-700 dark:text-slate-300 font-semibold"
>NEW</span
>
<a <a
href="https://discord.gg/6HKR2YRvNg" href="https://discord.gg/6HKR2YRvNg"
class="hover:underline text-gray-200 dark:text-slate-400 px-1">We have a new Discord, check it out here!</a> class="hover:underline text-gray-200 dark:text-slate-400 px-1"
>We have a new Discord, check it out here!</a
>
</div> </div>

View File

@ -57,13 +57,13 @@ const {
} }
</div> </div>
<div class="mx-auto max-w-6xl p-4 md:px-8"> <div class="mx-auto max-w-6xl p-4 md:px-8">
<div class={`md:flex ${isReversed ? 'md:flex-row-reverse' : ''} md:gap-16`}> <div>
<div class="md:basis-1/2 self-center"> <div class="max-w-screen-xl sm:mx-auto">
{content && <div class="mb-12 text-lg text-gray-600 dark:text-slate-400" set:html={content} />} {content && <div class="mb-12 text-lg text-gray-600 dark:text-slate-400" set:html={content} />}
{ {
items && ( items && (
<div class="space-y-8"> <div class="grid grid-cols-1 sm:grid-cols-2 gap-x-4 gap-y-8 lg:gap-x-8 md:grid-cols-3">
{items.map(({ title: title2, description, icon }) => ( {items.map(({ title: title2, description, icon }) => (
<div class="flex"> <div class="flex">
<div class="flex-shrink-0"> <div class="flex-shrink-0">

View File

@ -110,32 +110,42 @@ const meta = {
<!-- Content Widget **************** --> <!-- Content Widget **************** -->
<!-- <Content <Content
highlight="Inside template" highlight="March 2023 Update"
title="And what's inside? ..." title="Changelog"
content="Ne dicta praesent ocurreret has, diam theophrastus at pro. Eos etiam regione ut, persius eripuit quo id. Sit te euismod tacimates." content=""
items={[ items={[
{ {
title: "Per ei quaeque sensibus", title: "Global",
description: description:
"Ex usu illum iudico molestie. Pro ne agam facete mediocritatem, ridens labore facete mea ei. Pro id apeirian dignissim.", "* Removed RAM requirements from the installer </br> \
* Moved to github powered build system and self hosted package repo </br> \
* Added Support for xbootldr /boot systemd-boot no longer copies kernels to efi </br> \
* Added Swap Options in the installer </br> \
* Added Neofetch art </br> \
* Almost every single package in the PikaOS repos has been updated to latest upstream </br> \
* Patched mintdrivers to show new open source nvidia drivers </br> \
* Fixed a bug where gamescope-session becomes default after install game-utils </br> \
* Fixed a bug where sound is gone after install media codecs </br> \
* Rebased Kernel to CachyOS 6.2.1 and applied the full set of nobara patches to it </br> \
* Updated Linux firmware to latest git </br> \
* Updated ffmpeg to 6.0 and added 5.1.2 fallback for compatibility </br> \
* Fixed a bug where fish wouldn't source /etc/profile </br> \
* Updated AMDGPU to 5.4.3 (RDNA3 AMF Support, Updated firmware for all amdgpus)",
}, },
{ {
title: "Cu imperdiet posidonium sed", title: "Gnome",
description: description:
"Amet utinam aliquando ut mea, malis admodum ocurreret nec et, elit tibique cu nec. Nec ex maluisset inciderint, ex quis.", "* Fixed arcmenu missing dependency </br> \
* Updated VRR session to 43.1",
}, },
{ {
title: "Nulla omittam sadipscing mel ne", title: "KDE",
description: description:
"At sed possim oporteat probatus, justo graece ne nec, minim commodo legimus ut vix. Ut eos iudico quando soleat, nam modus.", "* Updated to 5.27.2",
}, },
]} ]}
image={{ />
src: import("~/assets/images/caos.jpg"),
alt: "Colorful Image",
}}
/> -->
<!-- Features2 Widget ************** --> <!-- Features2 Widget ************** -->
<!-- <!--
@ -264,17 +274,17 @@ const meta = {
{ {
text: "Gnome", text: "Gnome",
hrefEU: hrefEU:
"https://pika-os.com/PikaOS-Gnome-2210-amd64_23.02.17.iso", "https://pika-os.com/PikaOS-Gnome-2210-amd64_23.03.11.iso",
hrefWW: "https://cdn.pika-os.com/PikaOS-Gnome-2210-amd64_23.02.17.iso", hrefWW: "https://cdn.pika-os.com/PikaOS-Gnome-2210-amd64_23.03.11.iso",
md5: "https://pika-os.com/PikaOS-Gnome-2210-amd64_23.02.17.md5", md5: "https://pika-os.com/PikaOS-Gnome-2210-amd64_23.03.11.md5",
isComgingSoon: false, isComgingSoon: false,
}, },
{ {
text: "KDE", text: "KDE",
hrefEU: hrefEU:
"https://pika-os.com/PikaOS-KDE-2210-amd64_23.02.18.iso", "https://pika-os.com/PikaOS-KDE-2210-amd64_23.03.11.iso",
hrefWW: "https://cdn.pika-os.com/PikaOS-KDE-2210-amd64_23.02.18.iso", hrefWW: "https://cdn.pika-os.com/PikaOS-KDE-2210-amd64_23.03.11.iso",
md5: "https://pika-os.com/PikaOS-KDE-2210-amd64_23.02.18.md5", md5: "https://pika-os.com/PikaOS-KDE-2210-amd64_23.03.11.md5",
isComgingSoon: false, isComgingSoon: false,
}, },
]} ]}