mirror of
https://github.com/xHyroM/website.git
synced 2024-11-22 06:51:05 +01:00
build: prettier
This commit is contained in:
parent
c79bd6ccae
commit
8a5009eeaf
10 changed files with 170 additions and 173 deletions
|
@ -1,5 +1,8 @@
|
|||
module.exports = {
|
||||
plugins: [require.resolve("prettier-plugin-astro")],
|
||||
plugins: [
|
||||
require.resolve("prettier-plugin-astro"),
|
||||
require.resolve("prettier-plugin-tailwindcss"),
|
||||
],
|
||||
overrides: [
|
||||
{
|
||||
files: "*.astro",
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
<script>
|
||||
import { Fireworks } from "fireworks-js";
|
||||
|
||||
export const fireworksContainer =
|
||||
document.querySelector<HTMLDivElement>(".fireworks-container")!;
|
||||
export const fireworksContainer = document.querySelector<HTMLDivElement>(
|
||||
".fireworks-container"
|
||||
)!;
|
||||
|
||||
const fireworks = new Fireworks(fireworksContainer, {
|
||||
rocketsPoint: {
|
||||
|
|
|
@ -22,9 +22,7 @@ const navItems = [
|
|||
---
|
||||
|
||||
<header class="h-16 border-b-[1px] border-neutral-800 text-xl text-white">
|
||||
<Container
|
||||
class="flex justify-around md:justify-between items-center h-full"
|
||||
>
|
||||
<Container class="flex justify-around md:justify-between items-center h-full">
|
||||
<a class="text-2xl font-extrabold" href="/">xHyroM</a>
|
||||
<nav>
|
||||
<ul
|
||||
|
@ -33,10 +31,7 @@ const navItems = [
|
|||
{
|
||||
navItems.map((item) => (
|
||||
<li class=" transition-all hover:-translate-y-[2px]">
|
||||
<a
|
||||
href={item.link}
|
||||
class="hover:text-hyroGold text-neutral-300"
|
||||
>
|
||||
<a href={item.link} class="hover:text-hyroGold text-neutral-300">
|
||||
{item.name}
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -30,7 +30,7 @@ const Head = head || DefaultHead;
|
|||
<script>
|
||||
import "../scripts/menu.js";
|
||||
</script>
|
||||
</body><style is:global>
|
||||
<style is:global>
|
||||
::-webkit-scrollbar {
|
||||
width: 16px;
|
||||
}
|
||||
|
@ -42,4 +42,5 @@ const Head = head || DefaultHead;
|
|||
background-color: #aaaaaa;
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -18,12 +18,12 @@ const {
|
|||
|
||||
<Layout head={PostHead} title={title} date={date}>
|
||||
<Navbar />
|
||||
<h1 class="text-white text-5xl w-full text-center py-32 font-extrabold">
|
||||
<h1 class="w-full py-32 text-center text-5xl font-extrabold text-white">
|
||||
{title}
|
||||
</h1>
|
||||
|
||||
<Container>
|
||||
<main class="text-white text-2xl prose">
|
||||
<main class="prose text-2xl text-white">
|
||||
<article>
|
||||
<slot />
|
||||
</article>
|
||||
|
|
|
@ -13,32 +13,29 @@ import Layout from "../layouts/Layout.astro";
|
|||
<Container>
|
||||
<main class="text-2xl text-white">
|
||||
<p class="mb-4">
|
||||
We're sorry, but it looks like the page you were trying to visit
|
||||
has been misplaced. It's not entirely clear where it's gone, but
|
||||
we suspect it may have gotten lost in the vast expanse of the
|
||||
internet.
|
||||
We're sorry, but it looks like the page you were trying to visit has
|
||||
been misplaced. It's not entirely clear where it's gone, but we suspect
|
||||
it may have gotten lost in the vast expanse of the internet.
|
||||
</p>
|
||||
|
||||
<p class="mb-4">
|
||||
We've searched high and low, but alas, we can't seem to find it.
|
||||
It's possible that it's hiding behind a particularly stubborn
|
||||
firewall, or maybe it's taking a much-needed vacation on a
|
||||
remote server farm.
|
||||
We've searched high and low, but alas, we can't seem to find it. It's
|
||||
possible that it's hiding behind a particularly stubborn firewall, or
|
||||
maybe it's taking a much-needed vacation on a remote server farm.
|
||||
</p>
|
||||
|
||||
<p class="mb-4">
|
||||
Despite our best efforts, we just can't seem to locate the page
|
||||
you were looking for. We apologize for any inconvenience this
|
||||
may have caused.
|
||||
Despite our best efforts, we just can't seem to locate the page you were
|
||||
looking for. We apologize for any inconvenience this may have caused.
|
||||
</p>
|
||||
|
||||
<p class="mb-4">
|
||||
In the meantime, why not take a look around our <a
|
||||
class="text-hyroGold"
|
||||
href="/">homepage</a
|
||||
> and see if you can find something else that piques your interest?
|
||||
Who knows, you might just stumble upon something even better than
|
||||
what you were originally looking for.
|
||||
> and see if you can find something else that piques your interest? Who knows,
|
||||
you might just stumble upon something even better than what you were originally
|
||||
looking for.
|
||||
</p>
|
||||
|
||||
<p>Thanks for stopping by, and we hope to see you again soon!</p>
|
||||
|
|
Loading…
Reference in a new issue