<script>
	import Header from './header.svelte';
	import Footer from './footer.svelte';

	import Highlight from 'svelte-highlight';
	import bash from 'svelte-highlight/languages/bash';
	import arta from 'svelte-highlight/styles/arta';
</script>

<svelte:head>
	<title>Home | LURE Web</title>
	<meta name="description" content="LURE Web home page" />
	{@html arta}
</svelte:head>

<Header />

<section class="container content">
	<div class="has-text-centered">
		<img src="/lure-no-text.svg" width="200" alt="LURE logo without text" />
		<p class="title">LURE</p>
		<p class="subtitle">The community repository missing from your Linux distro</p>
	</div>
	<hr />
	<p class="title">What does LURE do?</p>
	<p class="subtitle">LURE allows you to:</p>
	<ul>
		<li>Access a wide range of software beyond what's available in official repositories</li>
		<li>Get new versions of software as they come out, before official repositories ship them</li>
		<li>Install unofficial software without having to deal with a separate package manager</li>
		<li>Release software for Linux without having to package it for different distributions</li>
	</ul>
	<hr />
	<p class="title">Install LURE</p>
	<p class="subtitle">
		Paste this into your Linux terminal and the install script will set everything up for you
	</p>
	<Highlight language={bash} code="curl -fsSL lure.elara.ws/install | bash" />
	<p>
		LURE is also available on the AUR as <a
			href="https://aur.archlinux.org/packages/linux-user-repository-bin"
		>
			<code>linux-user-repository-bin</code>
		</a>
		and distro packages are provided at the
		<a href="https://gitea.elara.ws/lure/lure/releases/latest">latest Gitea release</a>.
	</p>
</section>

<Footer />
