Skip to content

Commit

Permalink
modlist copied
Browse files Browse the repository at this point in the history
  • Loading branch information
7rs committed Jun 11, 2024
1 parent 22416ab commit a24d150
Show file tree
Hide file tree
Showing 14 changed files with 1,234 additions and 69 deletions.
18 changes: 9 additions & 9 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
"version": "0.0.0",
"configurations": [
{
"command": "bun run dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Chaos

Chaos documentation.

```sh
bun install && bun run dev
```
4 changes: 2 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ export default defineConfig({
directory: 'guides'
}
}, {
label: 'Reference',
label: 'Modlist',
autogenerate: {
directory: 'reference'
directory: 'mods'
}
}]
}), tailwind()]
Expand Down
17 changes: 17 additions & 0 deletions src/components/LinkImage.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
import Link from "@components/Link.astro";
export interface Props {
href: string;
src: string;
alt?: string;
openInNewTab?: boolean;
className?: string;
}
const { href, src, alt, openInNewTab = true, className } = Astro.props;
---

<Link href={href} openInNewTab={openInNewTab}>
<img src={src} alt={alt} class={className} />
</Link>
48 changes: 29 additions & 19 deletions src/components/ModCard.astro
Original file line number Diff line number Diff line change
@@ -1,33 +1,39 @@
---
import Link from "@components/Link.astro"
import LinkImage from "@components/LinkImage.astro";
export interface Props {
title: string;
modrinth?: { id: string; name: string };
curseforge?: { id: string; name: string };
source?: { author: string; name: string; service: "github" | "gitlab" };
}
const { title, modrinth, curseforge, source } = Astro.props;
const { modrinth, curseforge, source } = Astro.props;
---

<article>
<h2 id={title.toLowerCase()}>{title}</h2>
<section>
<div class="flex gap-2 flex-wrap">
<!-- Modrinth Badge -->
{
modrinth && (
<Link href={`https://modrinth.com/mod/${modrinth.name}`} openInNewTab>
<img class="mt-auto" src={`https://img.shields.io/modrinth/dt/${modrinth.id}?logo=modrinth`} />
</Link>
<LinkImage
href={`https://modrinth.com/mod/${modrinth.name}`}
src={`https://img.shields.io/modrinth/dt/${modrinth.id}?logo=modrinth`}
alt="modrinth badge"
className="mt-auto"
/>
)
}
<!-- CurseForge Badge -->
{
curseforge && (
<Link href={`https://www.curseforge.com/minecraft/mc-mods/${curseforge.name}`} openInNewTab>
<img src={`https://img.shields.io/curseforge/dt/${curseforge.id}?logo=curseforge`} />
</Link>
<LinkImage
href={`https://www.curseforge.com/minecraft/mc-mods/${curseforge.name}`}
src={`https://img.shields.io/curseforge/dt/${curseforge.id}?logo=curseforge`}
alt="curseforge badge"
/>
)
}
<!-- GitHub/Lab Badge -->
{
() => {
if (source == null) {
Expand All @@ -37,19 +43,23 @@ const { title, modrinth, curseforge, source } = Astro.props;
switch (source.service) {
case "gitlab":
return (
<Link href={`https://gitlab/${source.author}/${source.name}`} openInNewTab>
<img src={`https://img.shields.io/gitlab/last-commit/${source.author}/${source.name}?logo=gitlab`} />
</Link>
<LinkImage
href={`https://gitlab.com/${source.author}/${source.name}`}
src={`https://img.shields.io/gitlab/last-commit/${source.author}/${source.name}?logo=gitlab`}
alt="gitlab badge"
/>
);
default:
return (
<Link href={`https://github/${source.author}/${source.name}`} openInNewTab>
<img src={`https://img.shields.io/github/last-commit/${source.author}/${source.name}?logo=github`} />
</Link>
<LinkImage
href={`https://github.com/${source.author}/${source.name}`}
src={`https://img.shields.io/github/last-commit/${source.author}/${source.name}?logo=github`}
alt="github badge"
/>
);
}
}
}
</div>
<p><slot /></p>
</article>
<slot />
</section>
129 changes: 129 additions & 0 deletions src/content/docs/mods/3d.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
---
title: ️💎 3D Graphics
description: 3D graphics
---

import ModCard from '@components/ModCard.astro';

[iris]: https://modrinth.com/mod/iris
[embeddium]: https://modrinth.com/mod/embeddium
[rubidium]: https://modrinth.com/mod/rubidium

## Oculus

<ModCard
modrinth={{ name: 'oculus', id: 'GchcoXML' }}
curseforge={{ name: 'oculus', id: '581495' }}
source={{ author: 'asek3', name: 'oculus', service: 'github' }}
>
A forge port of [Iris Shaders][iris].
Requires [embeddium][embeddium] or [rubidium][rubidium].
</ModCard>

## BSL Shaders

<ModCard
modrinth={{ name: 'bsl-shaders', id: 'Q1vvjJYV' }}
curseforge={{ name: 'bsl-shaders', id: '322506' }}
>

</ModCard>

## Complementary Shaders - Reimagined

<ModCard
modrinth={{ name: 'complementary-reimagined', id: 'HVnmMxH1' }}
curseforge={{ name: 'complementary-reimagined', id: '627557' }}
source={{ author: 'complementarydevelopment', name: 'complementaryreimagined', service: 'github' }}
>

</ModCard>

## MakeUp - Ultra Fast

<ModCard
modrinth={{ name: 'makeup-ultra-fast-shaders', id: 'izsIPI7a' }}
curseforge={{ name: 'makeup-ultra-fast-shader', id: '431203' }}
source={{ author: 'javiergcim', name: 'makeupultrafast', service: 'github' }}
>

</ModCard>

## Super Duper Vanilla

<ModCard
modrinth={{ name: 'super-duper-vanilla', id: 'LMIZZNxZ' }}
curseforge={{ name: 'super-duper-vanilla-shaders', id: '534748' }}
source={{ author: 'eldeston', name: 'super-duper-vanilla', service: 'github' }}
>

</ModCard>

## Biome Particle Weather

<ModCard
modrinth={{ name: 'biome_particle_weather', id: 'XH09j5fH' }}
curseforge={{ name: 'biome-particle-weather', id: '575109' }}
source={{ author: 'shadowmaster435', name: 'impactful_weather', service: 'github' }}
>

</ModCard>

## Fast Better Grass

<ModCard
modrinth={{ name: 'fast-better-grass', id: 'dspVZXKP' }}
curseforge={{ name: 'fast-better-grass', id: '819030' }}
>

</ModCard>

## Make Bubbles Pop

<ModCard
modrinth={{ name: 'make_bubbles_pop', id: 'gPCdW0Wr' }}
curseforge={{ name: 'make-bubbles-pop', id: '605235' }}
source={{ author: 'tschipcraft', name: 'make_bubbles_pop', service: 'github' }}
>

</ModCard>

## 3d Skin Layers

<ModCard
modrinth={{ name: '3dskinlayers', id: 'zV5r3pPn' }}
curseforge={{ name: 'skin-layers-3d', id: '521480' }}
source={{ author: 'tr7zw', name: '3d-skin-layers', service: 'github' }}
>

</ModCard>

## Not Enough Animations

<ModCard
modrinth={{ name: 'not-enough-animations', id: 'MPCX6s5C' }}
curseforge={{ name: 'not-enough-animations', id: '433760' }}
source={{ author: 'tr7zw', name: 'notenoughanimations', service: 'github' }}
>

</ModCard>

## Spawn Animations

<ModCard
modrinth={{ name: 'spawn-animations', id: 'zrzYrlm0' }}
curseforge={{ name: 'spawn-animations', id: '811803' }}
source={{ author: 'tschipcraft', name: 'spawnanimations', service: 'github' }}
>

</ModCard>

## Visual Workbench

<ModCard
modrinth={{ name: 'visual-workbench', id: 'kfqD1JRw' }}
curseforge={{ name: 'visual-workbench', id: '500273' }}
source={{ author: 'fuzss', name: 'visualworkbench', service: 'github' }}
>

</ModCard>
Loading

0 comments on commit a24d150

Please sign in to comment.