From 8e85be96a154b371b4cf1fb1924155d96150f949 Mon Sep 17 00:00:00 2001 From: Pauline Date: Wed, 20 Dec 2023 01:58:22 -0500 Subject: chore(lint): bump deps and fix linting/format --- apps/website/src/pages/blog/[...slug].astro | 4 +-- apps/website/src/pages/blog/index.astro | 12 +++---- apps/website/src/pages/index.astro | 2 +- apps/website/src/pages/projects/oneconfig.astro | 44 +++++++++++++------------ 4 files changed, 31 insertions(+), 31 deletions(-) (limited to 'apps/website/src/pages') diff --git a/apps/website/src/pages/blog/[...slug].astro b/apps/website/src/pages/blog/[...slug].astro index d9995e7..abdde0a 100644 --- a/apps/website/src/pages/blog/[...slug].astro +++ b/apps/website/src/pages/blog/[...slug].astro @@ -19,7 +19,5 @@ const { Content } = await post.render(); --- - + - - diff --git a/apps/website/src/pages/blog/index.astro b/apps/website/src/pages/blog/index.astro index c8f8203..4bccad4 100644 --- a/apps/website/src/pages/blog/index.astro +++ b/apps/website/src/pages/blog/index.astro @@ -1,25 +1,25 @@ --- /// -import Layout from '../../layouts/Layout.astro'; -import FormattedDate from '../../components/base/FormattedDate.astro' import { getCollection } from 'astro:content'; +import FormattedDate from '../../components/base/FormattedDate.astro'; +import Layout from '../../layouts/Layout.astro'; const posts = (await getCollection('blog')).sort( - (a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf() + (a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf(), ); --- - +
    { posts.map(post => (
  • - +

    {post.data.title}

    - +

  • diff --git a/apps/website/src/pages/index.astro b/apps/website/src/pages/index.astro index 6f88bf5..ccc6852 100644 --- a/apps/website/src/pages/index.astro +++ b/apps/website/src/pages/index.astro @@ -1,6 +1,6 @@ --- -import Layout from "@layouts/Layout.astro"; import Section from '@components/base/Section.astro'; +import Layout from '@layouts/Layout.astro'; ---
    diff --git a/apps/website/src/pages/projects/oneconfig.astro b/apps/website/src/pages/projects/oneconfig.astro index 7badc11..e9728a1 100644 --- a/apps/website/src/pages/projects/oneconfig.astro +++ b/apps/website/src/pages/projects/oneconfig.astro @@ -1,27 +1,27 @@ --- +import Button from '@components/base/Button.astro'; +import Card from '@components/base/Card.astro'; import Header from '@components/base/Header.astro'; -import Logo from '@components/logos/Logo.astro'; +import Paragraph from '@components/base/Paragraph.astro'; import Section from '@components/base/Section.astro'; -import Button from '@components/base/Button.astro'; +import Slider from '@components/base/Slider.astro'; +import Logo from '@components/logos/Logo.astro'; -import Paragraph from '@components/base/Paragraph.astro'; import Layout from '@layouts/Layout.astro'; import { Code } from 'astro:components'; -import Slider from '@components/base/Slider.astro'; -import Card from '@components/base/Card.astro'; ---
    - +
    Meet OneConfig, the library designed for everyone.
    -
    @@ -33,13 +33,13 @@ import Card from '@components/base/Card.astro';
    - stuff + stuff
    - stuff + stuff
    @@ -55,13 +55,14 @@ import Card from '@components/base/Card.astro';
    - stuff + stuff
    -
    - + +}`} + lang="java"/>
    @@ -83,7 +85,7 @@ import Card from '@components/base/Card.astro'; With our simple APIs and documentation, it's easier than ever to integrate your mods with OneConfig.
    -
    @@ -95,17 +97,17 @@ import Card from '@components/base/Card.astro'; We take pride in having the cleanest and most intuitive UI of any mod, config library, or client out there.
    -
    - +
- +
A unified HUD editor
Thanks to OneConfig's HUD API, you can customize any OneConfig-powered HUD to your liking, without having to worry about the hassle of finding the right command or keybind. @@ -119,7 +121,7 @@ import Card from '@components/base/Card.astro'; Discover a wide range of mods integrated with OneConfig to enhance your experience.
-
@@ -148,10 +150,10 @@ import Card from '@components/base/Card.astro';
- +
-
-- cgit