hyprland-website/src/routes/InstallSlice.svelte

54 lines
1.9 KiB
Svelte
Raw Normal View History

2023-08-05 20:33:07 +02:00
<script>
import { animateIn } from '$lib/Helper.mjs'
import archLogo from '$lib/images/logos/arch.svg'
import nixLogo from '$lib/images/logos/nixos.svg'
import bsdLogo from '$lib/images/logos/freebsd.svg'
import suseLogo from '$lib/images/logos/opensuse.svg'
import LinkOutIcon from '~icons/akar-icons/link-out'
import InstallButton from './InstallButton.svelte'
import Button from '$lib/components/Button.svelte'
2023-08-07 19:59:22 +02:00
import Title from '$lib/components/Title.svelte'
2023-08-05 20:33:07 +02:00
</script>
2023-08-17 16:45:47 +02:00
<section class="pb-6">
2023-08-07 19:59:22 +02:00
<Title class="mb-8">
<span slot="title">Install now</span><span slot="subtitle"> For your favourite distro </span>
</Title>
2023-08-05 20:33:07 +02:00
2023-08-07 19:59:22 +02:00
<div class="flex flex-col md:gap-6 gap-12 items-center" use:animateIn={{ slide: 24, fade: 0 }}>
2023-08-17 16:45:47 +02:00
<div
class="md:outline md:outline-1 flex flex-col gap-12 md:gap-6 md:outline-blue-500 md:from-blue-500/40 md:to-transparent md:bg-gradient-to-tr md:shadow-xl md:p-8 md:rounded-3xl"
2023-08-05 20:33:07 +02:00
>
2023-08-17 16:45:47 +02:00
<InstallButton name="Arch" command="pacman -S hyprland" image={archLogo}
><div slot="extra">
AUR git version: <a
class="hover:underline hover:text-white"
target="_blank"
href="https://aur.aachlinux.org/packages/hyprland-git/">hyprland-git</a
>
</div></InstallButton
>
<InstallButton name="NixOs" image={nixLogo}
><a
href="https://wiki.hyprland.org/Nix/"
target="_blank"
class="flex hover:underline gap-4 items-center justify-between w-full"
>See instructions <LinkOutIcon /></a
></InstallButton
>
<InstallButton name="FreeBSD" command="pkg install hyprland" image={bsdLogo} />
<InstallButton name="openSuse" command="zypper in hyprland" image={suseLogo}
><div slot="extra">or install “hyprland” via YaST2 Software.</div></InstallButton
>
</div>
2023-08-05 20:33:07 +02:00
2023-08-17 16:45:47 +02:00
<a
target="_blank"
href="https://wiki.hyprland.org/Getting-Started/Installation/#packages"
class="mt-10"
>
<Button size="lg" type="fancyOutline">Install other</Button>
2023-08-05 20:33:07 +02:00
</a>
</div>
</section>