[REPO REFACTOR]: changed to a better git repository structure with branches

This commit is contained in:
2025-11-01 03:47:44 +01:00
parent 373fabb372
commit ce9ba4b449
85 changed files with 18740 additions and 0 deletions

9
blog/authors.yml Normal file
View File

@@ -0,0 +1,9 @@
yangshun:
name: Gallardo7761
title: Owner, Dev
url: https://gallardo.dev
image_url: https://github.com/gallardo7761.png
page: true
socials:
x: gallardo7761
github: gallardo7761

0
blog/tags.yml Normal file
View File

View File

@@ -0,0 +1,11 @@
# /blockworld
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="blockworld"
description="Bloquea un mundo"
usage="/blockworld <mundo>"
aliases={["bworld","bw"]}
examples={["/blockworld world_nether"]}
/>

View File

@@ -0,0 +1,10 @@
# /day
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="day"
description="Establece el tiempo del mundo a día."
usage="/day"
examples={["/day"]}
/>

View File

@@ -0,0 +1,10 @@
# /deopme
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="deopme"
description="Te quita el op."
usage="/deopme"
examples={["/deopme"]}
/>

View File

@@ -0,0 +1,10 @@
# /freeze
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="freeze"
description="Congela a un jugador."
usage="/freeze <jugador>"
examples={["/freeze Notch"]}
/>

View File

@@ -0,0 +1,10 @@
# /gma
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="gma"
description="Te pone a ti o a otro jugador en modo Aventura."
usage="/gma [jugador]"
examples={["/gma"]}
/>

View File

@@ -0,0 +1,10 @@
# /gmc
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="gmc"
description="Te pone a ti o a otro jugador en modo Creativo."
usage="/gmc [jugador]"
examples={["/gmc"]}
/>

View File

@@ -0,0 +1,10 @@
# /gms
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="gms"
description="Te pone a ti o a otro jugador en modo Survival."
usage="/gms [jugador]"
examples={["/gms"]}
/>

View File

@@ -0,0 +1,10 @@
# /gmsp
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="gmsp"
description="Te pone a ti o a otro jugador en modo Espectador."
usage="/gmsp [jugador]"
examples={["/gmsp"]}
/>

View File

@@ -0,0 +1,10 @@
# /heal
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="heal"
description="Te cura a ti o a otro jugador."
usage="/heal [jugador]"
examples={["/heal Notch"]}
/>

View File

@@ -0,0 +1,10 @@
# /invsee
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="invsee"
description="Te permite ver el inventario de un jugador."
usage="/invsee <jugador>"
examples={["/invsee Notch"]}
/>

View File

@@ -0,0 +1,10 @@
# /night
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="night"
description="Establece el tiempo del mundo a noche."
usage="/night"
examples={["/night"]}
/>

View File

@@ -0,0 +1,10 @@
# /opme
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="opme"
description="Te pone el op."
usage="/opme"
examples={["/opme"]}
/>

View File

@@ -0,0 +1,10 @@
# /rain
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="rain"
description="Establece el clima del mundo a Lluvia."
usage="/rain"
examples={["/rain"]}
/>

View File

@@ -0,0 +1,10 @@
# /specialitem
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="specialitem"
description="Te da a ti o a otro jugador un objeto especial por su nombre."
usage="/specialitem <item> [jugador]"
examples={["/specialitem admin_stick"]}
/>

View File

@@ -0,0 +1,10 @@
# /spy
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="spy"
description="Te permite espiar los mensajes y comandos que mandan los jugadores."
usage="/spy"
examples={["/spy"]}
/>

View File

@@ -0,0 +1,10 @@
# /sun
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="sun"
description="Establece el clima del mundo a Soleado."
usage="/sun"
examples={["/sun"]}
/>

View File

@@ -0,0 +1,10 @@
# /thunder
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="thunder"
description="Establece el clima del mundo a Truenos."
usage="/thunder"
examples={["/thunder"]}
/>

View File

@@ -0,0 +1,10 @@
# /vanish
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="vanish"
description="Te permite ocultarte de los demás jugadores, haciéndote invisible."
usage="/vanish"
examples={["/vanish"]}
/>

View File

@@ -0,0 +1,13 @@
# /do
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="do"
description="Te permite describir algo que le pasa a tu personaje o su entorno. Debe ser en tercera persona y en tiempo condicional. Es útil para describir por ejemplo emociones o eventos medioambientales."
usage="/do <acción de entorno>"
examples={[
"/do ¿Le cogería de la mano?",
"/do Sí"
]}
/>

View File

@@ -0,0 +1,13 @@
# /me
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="me"
description="Te permite realizar una acción. Debe ser en tercera persona y en tiempo presente. Es útil para describir acciones que no se pueden expresar con comandos normales."
usage="/do <acción de entorno>"
examples={[
"/do ¿Le tomaría la mano?",
"/do Se acerca a la fogata y se sienta junto a ella, disfrutando del calor"
]}
/>

View File

@@ -0,0 +1,12 @@
# /tpa
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="tpa"
description="Manda una solicitud de teletransporte a un jugador."
usage="/tpa <jugador>"
examples={[
"/tpa Notch"
]}
/>

View File

@@ -0,0 +1,13 @@
# /tpaccept
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="tpaccept"
description="Acepta una solicitud de teletransporte a un jugador. Si no especificas el jugador, se acepta la primera solicitud de/hacia ti en la cola."
usage="/tpaccept [jugador]"
examples={[
"/tpaccept Notch",
"/tpaccept"
]}
/>

View File

@@ -0,0 +1,12 @@
# /tpahere
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="tpa"
description="Manda una solicitud de teletransporte de un jugador a ti."
usage="/tpahere <jugador>"
examples={[
"/tpahere Notch"
]}
/>

View File

@@ -0,0 +1,13 @@
# /tpdeny
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="tpdeny"
description="Rechaza una solicitud de teletransporte a un jugador. Si no especificas el jugador, se rechaza la primera solicitud de/hacia ti en la cola."
usage="/tpdeny [jugador]"
examples={[
"/tpdeny Notch",
"/tpdeny"
]}
/>

View File

@@ -0,0 +1,12 @@
# /launch
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="launch"
description="Manda a un jugador por los aires por los loles."
usage="/launch <jugador>"
examples={[
"/launch Notch"
]}
/>

View File

@@ -0,0 +1,12 @@
# /disposal
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="disposal"
description="Abre el menú de la papelera para eliminar items. Se eliminarán cuando cierres el menú."
usage="/disposal"
examples={[
"/disposal"
]}
/>

View File

@@ -0,0 +1,14 @@
# /globalchest
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="globalchest"
description="Abre el menú del cofre global a ti o a otro jugador."
usage="/globalchest [jugador]"
aliases={["gc"]}
examples={[
"/globalchest",
"/globalchest Notch"
]}
/>

View File

@@ -0,0 +1,12 @@
# /home
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="home"
description="Te teletransporta a tu hogar."
usage="/home"
examples={[
"/home"
]}
/>

View File

@@ -0,0 +1,13 @@
# /lobby
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="lobby"
description="Te teletransporta a ti o a otro jugador al lobby si hay."
usage="/lobby [jugador]"
examples={[
"/lobby",
"/lobby Notch"
]}
/>

View File

@@ -0,0 +1,12 @@
# /payxp
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="payxp"
description="Paga experiencia a otro jugador."
usage="/payxp <jugador>"
examples={[
"/payxp Notch"
]}
/>

View File

@@ -0,0 +1,12 @@
# /recinv
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="recinv"
description="Recupera tu inventario de la última muerte (SÓLO DE LA ÚLTIMA MUERTE). Tu inventario se guardará siempre que no mueras muy cerca del spawn o de otro jugador, para que el PVP sea justo. Además para recuperarlo tendrás que pagar 10 niveles de XP."
usage="/recinv"
examples={[
"/recinv"
]}
/>

View File

@@ -0,0 +1,12 @@
# /sendcoords
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="sendcoords"
description="Manda tus coordenadas a otro jugador."
usage="/sendcoords <player>"
examples={[
"/sendcoords Notch"
]}
/>

View File

@@ -0,0 +1,12 @@
# /sethome
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="sethome"
description="Establece tu hogar. Sólo puedes tener uno."
usage="/sethome"
examples={[
"/sethome"
]}
/>

View File

@@ -0,0 +1,13 @@
# /spawn
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="spawn"
description="Te teletransporta a ti o a otro jugador al spawn."
usage="/spawn [jugador]"
examples={[
"/spawn",
"/spawn Notch"
]}
/>

View File

@@ -0,0 +1,14 @@
# /warp
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="warp"
description="Mira, añade y elimina warps personales. No son warps tradicionales a los que puedes hacerte TP, sino una especie de marcadores que guardan coordenadas de sitios que puedan ser de tu interés."
usage="/warp [add|remove] <nombre>"
examples={[
"/warp",
"/warp add Cueva",
"/warp remove Cueva"
]}
/>

View File

@@ -0,0 +1,14 @@
# /toorbo
import CommandDoc from '@site/src/components/CommandDoc/CommandDoc';
<CommandDoc
name="toorbo"
description="Comando base del plugin."
usage="/toorbo [config | reload]"
examples={[
"/toorbo",
"/toorbo config",
"/toorbo reload"
]}
/>

View File

@@ -0,0 +1,3 @@
# Encarnar esqueletos
<img src="/img/gifs/RottenFleshFinal.gif" />

View File

@@ -0,0 +1,3 @@
# Recoger cultivos
<img src="/img/gifs/CultivosFinal.gif" />

View File

@@ -0,0 +1,3 @@
# Cocinar en hogueras
<img src="/img/gifs/HoguerasFinal.gif" />

View File

@@ -0,0 +1,3 @@
# Romper spawners
<img src="/img/gifs/SpawnerFinal.gif" />

View File

@@ -0,0 +1,3 @@
# Formatear el texto
<img src="/img/gifs/LibrosFinal.gif" />

View File

@@ -0,0 +1,3 @@
# "Podar" mobs
<img src="/img/gifs/TijerasFinal.gif" />

View File

@@ -0,0 +1,3 @@
# Usar el totem con Pillagers
<img src="/img/gifs/TotemFinal.gif" />

View File

@@ -0,0 +1,3 @@
# Zombificar aldeanos
<img src="/img/gifs/ZombificationFinal.gif" />

View File

@@ -0,0 +1,6 @@
# Cocinar carne podrida
import CraftRenderer from '@site/src/components/CraftRenderer/CraftRenderer';
import { CRAFTS } from '@site/src/CRAFTS.jsx';
<CraftRenderer craft={CRAFTS["campfire_rotten_flesh"]} />

View File

@@ -0,0 +1,6 @@
# Palo del admin
import CraftRenderer from '@site/src/components/CraftRenderer/CraftRenderer';
import { CRAFTS } from '@site/src/CRAFTS.jsx';
<CraftRenderer craft={CRAFTS["admin_stick"]} />

View File

@@ -0,0 +1,6 @@
# Poción de zombificación
import CraftRenderer from '@site/src/components/CraftRenderer/CraftRenderer';
import { CRAFTS } from '@site/src/CRAFTS.jsx';
<CraftRenderer craft={CRAFTS["zombification_potion"]} />

View File

@@ -0,0 +1,6 @@
# Rompe-Spawners
import CraftRenderer from '@site/src/components/CraftRenderer/CraftRenderer';
import { CRAFTS } from '@site/src/CRAFTS.jsx';
<CraftRenderer craft={CRAFTS["spawner_breaker"]} />

View File

@@ -0,0 +1,6 @@
# Tijeras
import CraftRenderer from '@site/src/components/CraftRenderer/CraftRenderer';
import { CRAFTS } from '@site/src/CRAFTS.jsx';
<CraftRenderer craft={CRAFTS["scissors"]} />

View File

@@ -0,0 +1,21 @@
---
sidebar_position: 1
---
import Link from '@docusaurus/Link';
# Introducción
Aquí iremos metiendo toda la ayuda e información que podamos ir recopilando para ayudaros y hacer experiencia en MiarmaCraft la mejor posible.
En la sección de la izquierda podéis ver el índice por el cual podéis navegar por las diferentes secciones de la guía.
**⚠️ IMPORTANTE:** `[]` argumento opcional y `<>` argumento obligatorio.
## ¿Qué es MiarmaCraft?
MiarmaCraft es un **servidor de Minecraft semi-premium** que se basa en la comunidad y la diversión.
Nuestro objetivo es crear un entorno amigable y acogedor para todos los jugadores, donde puedan disfrutar de Minecraft sin preocuparse por la toxicidad o el drama.
Nos esforzamos por mantener un ambiente positivo y respetuoso, donde todos puedan sentirse cómodos y disfrutar del juego.
## ¿Tienes dudas?
Puedes preguntar en Discord si tienes la suerte de estar en él. De momento es un servidor privado por miedo a las raids y ataques de trolls (ya nos ha pasado).
Lamentamos los inconvenientes que esto pueda causar, pero has de entender que MiarmaCraft es un servidor de amigos que hemos abierto al público y queremos que siga siendo un lugar agradable para todos.
De todos modos, puedes preguntar por el propio chat del juego, que te responderemos seguramente :)

140
docusaurus.config.js Normal file
View File

@@ -0,0 +1,140 @@
// @ts-check
// `@type` JSDoc annotations allow editor autocompletion and type checking
// (when paired with `@ts-check`).
// There are various equivalent ways to declare your Docusaurus config.
// See: https://docusaurus.io/docs/api/docusaurus-config
import { themes as prismThemes } from 'prism-react-renderer';
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'miarma.net Docs',
tagline: '',
favicon: 'img/favicon.ico',
// Future flags, see https://docusaurus.io/docs/api/docusaurus-config#future
future: {
v4: true, // Improve compatibility with the upcoming Docusaurus v4
},
// Set the production url of your site here
url: 'https://docs.miarma.net',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/',
// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'MiarmaTeam', // Usually your GitHub org/user name.
projectName: 'docs', // Usually your repo name.
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en', 'es'],
},
presets: [
[
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: './sidebars.js',
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
routeBasePath: '/', // Serve the docs at the root URL
},
/*blog: {
showReadingTime: true,
feedOptions: {
type: ['rss', 'atom'],
xslt: true,
},
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
// Useful options to enforce blogging best practices
onInlineTags: 'warn',
onInlineAuthors: 'warn',
onUntruncatedBlogPosts: 'warn',
}, */
theme: {
customCss: './src/css/custom.css',
},
}),
],
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// Replace with your project's social card
image: 'img/logomiarma.png',
navbar: {
title: 'miarma.net',
logo: {
alt: 'miarma.net Logo',
src: 'img/logomiarma.png',
},
items: [
{
type: 'docSidebar',
sidebarId: 'mmcSidebar',
position: 'left',
label: 'MiarmaCraft',
},
//{ to: '/blog', label: 'Blog', position: 'left' },
{
href: 'https://github.com/MiarmaTeam',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'MiarmaCraft',
to: '/MiarmaCraft/intro',
},
],
},
{
title: 'Más',
items: [
{
label: 'GitHub',
href: 'https://github.com/MiarmaTeam',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} MiarmaTeam. Hecho gracias a Docusaurus.`,
},
colorMode: {
defaultMode: 'dark',
disableSwitch: true,
respectPrefersColorScheme: false,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
}),
};
export default config;

17463
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

45
package.json Normal file
View File

@@ -0,0 +1,45 @@
{
"name": "docs",
"version": "0.0.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
"serve": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "3.8.1",
"@docusaurus/preset-classic": "3.8.1",
"@mdx-js/react": "^3.0.0",
"bootstrap": "^5.3.7",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.3.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.8.1",
"@docusaurus/types": "3.8.1"
},
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 3 chrome version",
"last 3 firefox version",
"last 5 safari version"
]
},
"engines": {
"node": ">=18.0"
}
}

35
sidebars.js Normal file
View File

@@ -0,0 +1,35 @@
// @ts-check
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
@type {import('@docusaurus/plugin-content-docs').SidebarsConfig}
*/
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
mmcSidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
},
],
*/
};
export default sidebars;

63
src/CRAFTS.jsx Normal file
View File

@@ -0,0 +1,63 @@
export const CRAFTS = {
admin_stick: {
name: "admin_stick",
title: "ADMIN STICK",
titleFormat: "colorC formatL",
image: "/img/recipes/admin_stick.png",
description: "Un palo para dominarlos a todos!",
descriptionFormat: "colorD formatR",
tag: "minecraft:stick",
},
bolsita: {
name: "bolsita",
title: "Bolsita",
titleFormat: "colorE formatR",
image: "/img/recipes/bolsita.png",
subimage: "/img/recipes/two_slots_bundle.png",
description: ["0/64", "Mete tus items aquí"],
descriptionFormat: "color7 formatR",
tag: "minecraft:bundle",
},
campfire_rotten_flesh: {
name: "campfire_rotten_flesh",
title: "Filete crudo",
titleFormat: "colorF formatR",
image: "/img/recipes/rotten_flesh.png",
description: "Comida y bebida",
descriptionFormat: "color9 formatR",
tag: "minecraft:beef",
paired_item: {
name: "Hueso",
description: "Ingredientes",
tag: "minecraft:bone",
chance: "50%",
},
},
scissors: {
name: "scissors",
title: "Tijeras",
titleFormat: "colorE formatL",
image: "/img/recipes/scissors.png",
description: "Vacas, cerdos, zombies",
descriptionFormat: "color7 formatR",
tag: "minecraft:shears",
},
spawner_breaker: {
name: "spawner_breaker",
title: "Rompe-Spawners",
titleFormat: "color6 formatL",
image: "/img/recipes/spawner_breaker.png",
description: "50% de romper el spawner o romperse",
descriptionFormat: "colorD formatR",
tag: "minecraft:golden_pickaxe",
},
zombification_potion: {
name: "zombification_potion",
title: "Poción de Zombificación",
titleFormat: "colorZombPot formatL",
image: "/img/recipes/zombification_potion.png",
description: "Convierte a un aldeano en zombie",
descriptionFormat: "colorB formatR",
tag: "minecraft:splash_potion",
},
};

View File

@@ -0,0 +1,37 @@
import styles from './CommandDoc.module.css';
const CommandDoc = ({
name,
description,
usage,
aliases,
examples,
warning
}) => (
<div className={styles.commandContainer}>
<h2 className={styles.sectionTitle}>Descripción</h2>
<p className={styles.commandDescription}>{description}</p>
<h2 className={styles.sectionTitle}>Uso</h2>
<pre className={styles.codeBlock}>{usage}</pre>
{aliases && aliases.length > 0 && (
<span className={styles.aliases}>
Alias: <code>{aliases.join(', ')}</code>
</span>
)}
<h2 className={styles.sectionTitle}>Ejemplo</h2>
{examples.map((example, idx) => (
<pre key={idx} className={styles.codeBlock}>{example}</pre>
))}
{warning && (
<p className={styles.warning}>
{warning}
</p>
)}
</div>
);
export default CommandDoc;

View File

@@ -0,0 +1,49 @@
.commandContainer {
padding: 1.5rem;
background: var(--ifm-background-color);
border-radius: 12px;
border: 1px solid var(--ifm-color-emphasis-200);
margin-bottom: 2rem;
transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.commandTitle {
font-size: 1.5rem;
font-weight: 600;
color: var(--ifm-color-content);
margin-bottom: 0.25rem;
}
.commandDescription {
font-size: 1rem;
color: var(--ifm-color-content-secondary);
margin-bottom: 1rem;
line-height: 1.5;
}
.sectionTitle {
font-size: 1.125rem;
font-weight: 600;
color: var(--ifm-color-primary);
margin: 1rem 0 0.5rem;
}
.codeBlock {
font-size: 0.95rem;
font-family: var(--ifm-font-family-monospace);
background: var(--ifm-pre-background);
color: var(--ifm-pre-color);
padding: 0.5rem 0.75rem;
border-radius: 6px;
overflow-x: auto;
border: 1px solid var(--ifm-color-emphasis-100);
}
.warning {
font-size: 0.9rem;
color: var(--ifm-color-warning);
background-color: var(--ifm-color-warning-background);
padding: 0.5rem;
border-radius: 6px;
margin-top: 1rem;
}

View File

@@ -0,0 +1,210 @@
.item-ui {
border: #25035c 2px solid;
background-color: #110211;
border-radius: 5px;
padding: 10px;
/* responsive height and width */
width: 100%;
height: 100%;
}
.item-ui > .title {
font-size: 18px;
margin-bottom: 0px;
}
.item-ui > .description {
font-size: 18px;
margin-bottom: 0px;
}
.item-ui > .tag {
font-size: 18px;
margin-bottom: 0px;
}
.item-ui > img {
margin-bottom: 5px;
}
.color4 {
color: #aa0000;
}
.colorC {
color: #ff5555;
}
.color6 {
color: #ffaa00;
}
.colorE {
color: #ffff55;
}
.color2 {
color: #00aa00;
}
.colorA {
color: #55ff55;
}
.color3 {
color: #00aaaa;
}
.colorB {
color: #55ffff;
}
.color1 {
color: #0000aa;
}
.color9 {
color: #5555ff;
}
.color5 {
color: #aa00aa;
}
.colorD {
color: #ff55ff;
}
.colorF {
color: #ffffff;
}
.color7 {
color: #aaaaaa;
}
.color8 {
color: #555555;
}
.color0 {
color: #000000;
}
.colorZombPot {
color: #5f7d48;
}
.formatR {
font-family: 'Minecraft';
}
.formatL {
font-family: 'MinecraftBold';
}
.formatM {
text-decoration: line-through;
}
.formatN {
text-decoration: underline;
}
.formatO {
font-family: 'MinecraftItalic';
}
.formatOL {
font-family: 'MinecraftBoldItalic';
}
/* CraftRenderer.css */
.item {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 3rem;
gap: 1rem;
}
@media (min-width: 768px) {
.item {
flex-direction: row;
align-items: center;
}
}
.item-image {
margin-right: 1rem;
min-width: 250px;
}
.item-image img {
width: 100%;
height: auto;
display: block;
}
.item-ui {
text-align: center;
}
@media (min-width: 768px) {
.item-ui {
text-align: left;
}
}
.title {
margin: 0;
padding: 0;
}
.description {
margin: 0;
padding: 0;
}
.tag {
margin: 0;
padding: 0;
display: inline-block;
}
/* Estilos extra que usas */
.anchor {
display: block;
position: relative;
top: -80px; /* Por si tienes navbar fija */
visibility: hidden;
}
.big-centered-number {
font-size: 2rem;
font-weight: bold;
text-align: center;
margin: 0;
padding: 0;
}
/* Simulación de algunas clases de color / formato */
.color8 {
color: #b87eff;
}
.formatR {
font-family: 'Minecraftia', monospace;
font-weight: 700;
}
/* Márgenes laterales simulando me-3 / ms-2 de Bootstrap */
.me-3 {
margin-right: 1rem;
}
.ms-2 {
margin-left: 0.5rem;
}

View File

@@ -0,0 +1,78 @@
import './CraftRenderer.css';
export default function CraftRenderer({ craft }) {
switch (craft.name) {
case "admin_stick":
case "scissors":
case "spawner_breaker":
case "zombification_potion":
return <RenderDefault craft={craft} />;
case "bolsita":
return <RenderBundle craft={craft} />;
case "campfire_rotten_flesh":
return <RenderCampfire craft={craft} />;
default:
return <RenderDefault craft={craft} />;
}
}
function RenderDefault({ craft }) {
return (
<div className="item d-flex flex-column flex-md-row align-items-center mb-5">
<a id={craft.name} className="anchor" />
<div className="item-image me-3">
<img className="img-fluid" src={craft.image} alt={craft.name} />
</div>
<div className="item-ui text-center text-md-start">
<h3 className={`title ${craft.titleFormat} m-0 p-0`}>{craft.title}</h3>
<p className={`description ${craft.descriptionFormat} m-0 p-0`}>{craft.description}</p>
<span className="tag color8 formatR m-0 p-0">{craft.tag}</span>
</div>
</div>
);
}
function RenderBundle({ craft }) {
return (
<div className="item d-flex flex-column flex-md-row align-items-center mb-5">
<a id={craft.name} className="anchor" />
<div className="item-image me-3">
<img className="img-fluid" src={craft.image} alt={craft.name} />
</div>
<div className="item-ui text-center text-md-start">
<h3 className={`title ${craft.titleFormat} m-0 p-0`}>{craft.title}</h3>
<img className="img-fluid" src={craft.subimage} alt="TwoSlots" />
<p className={`description ${craft.descriptionFormat} m-0 p-0`}>{craft.description[0]}</p>
<p className={`description ${craft.descriptionFormat} m-0 p-0`}>{craft.description[1]}</p>
<span className="tag color8 formatR m-0 p-0">{craft.tag}</span>
</div>
</div>
);
}
function RenderCampfire({ craft }) {
return (
<div className="item d-flex flex-column flex-md-row align-items-center mb-5">
<a id={craft.name} className="anchor" />
<div className="item-image me-3">
<img
className="img-fluid"
src={craft.image}
alt={craft.name}
style={{ maxWidth: "200px", height: "auto" }}
/>
</div>
<div className="item-ui me-3 text-center text-md-start">
<h3 className={`title ${craft.titleFormat} m-0 p-0`}>{craft.title}</h3>
<p className={`description ${craft.descriptionFormat} m-0 p-0`}>{craft.description}</p>
<span className="tag color8 formatR m-0 p-0">{craft.tag}</span>
</div>
<p className="big-centered-number m-0 p-0 formatR">{craft.paired_item.chance}</p>
<div className="item-ui ms-2 text-center text-md-start">
<h3 className={`title ${craft.titleFormat} m-0 p-0`}>{craft.paired_item.name}</h3>
<p className={`description ${craft.descriptionFormat} m-0 p-0`}>{craft.paired_item.description}</p>
<span className="tag color8 formatR m-0 p-0">{craft.paired_item.tag}</span>
</div>
</div>
);
}

30
src/css/custom.css Normal file
View File

@@ -0,0 +1,30 @@
/**
* Any CSS included here will be global. The classic template
* bundles Infima by default. Infima is a CSS framework designed to
* work well for content-centric websites.
*/
/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #2e8555;
--ifm-color-primary-dark: #29784c;
--ifm-color-primary-darker: #277148;
--ifm-color-primary-darkest: #205d3b;
--ifm-color-primary-light: #33925d;
--ifm-color-primary-lighter: #359962;
--ifm-color-primary-lightest: #3cad6e;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
--ifm-color-primary: #25c2a0;
--ifm-color-primary-dark: #21af90;
--ifm-color-primary-darker: #1fa588;
--ifm-color-primary-darkest: #1a8870;
--ifm-color-primary-light: #29d5b0;
--ifm-color-primary-lighter: #32d8b4;
--ifm-color-primary-lightest: #4fddbf;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

45
src/pages/index.js Normal file
View File

@@ -0,0 +1,45 @@
import clsx from 'clsx';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import Heading from '@theme/Heading';
import styles from './index.module.css';
function HomepageHeader() {
const {siteConfig} = useDocusaurusContext();
return (
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className="container">
<Heading as="h1" className="hero__title">
{siteConfig.title}
</Heading>
</div>
</header>
);
}
export default function Home() {
const {siteConfig} = useDocusaurusContext();
return (
<Layout title={siteConfig.title} description="miarma.net official docs">
<HomepageHeader />
<main className={styles.mainContainer}>
<section>
<h1>Bienvenido a la documentación de <strong>miarma.net</strong> 👋</h1>
<p>
Aquí encontrarás toda la info de los proyectos que hemos desarrollado, tanto
a nivel individual (en plan yo sólo solito: Gallardo7761) como en equipo.
</p>
</section>
<hr />
<section>
<h2>IMPORTANTE: ¡Bombardeen la ETSII! 🔥</h2>
<img src='/img/gifs/etsii.gif' className={styles.homeImg} alt='etsii' />
<br /><small>(Es broma... ¿o no?)</small>
</section>
</main>
</Layout>
);
}

View File

@@ -0,0 +1,52 @@
/**
* CSS files with the .module.css suffix will be treated as CSS modules
* and scoped locally.
*/
.heroBanner {
padding: 4rem 0;
text-align: center;
position: relative;
overflow: hidden;
}
@media screen and (max-width: 996px) {
.heroBanner {
padding: 2rem;
}
}
.buttons {
display: flex;
align-items: center;
justify-content: center;
}
.mainContainer {
margin: 2rem auto;
max-width: 800px;
text-align: center;
font-size: 1.2rem;
line-height: 1.6;
padding: 0 1rem;
}
.homeImg {
width: 100%;
border-radius: 25px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 600px;
height: auto;
margin: 0 auto;
animation: hueCycle 2s infinite linear;
filter: hue-rotate(0deg);
}
@keyframes hueCycle {
0% {
filter: hue-rotate(0deg);
}
100% {
filter: hue-rotate(360deg);
}
}

0
static/.nojekyll Normal file
View File

BIN
static/img/bg_dirt.webp Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
static/img/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
static/img/gifs/CultivosFinal.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

BIN
static/img/gifs/HoguerasFinal.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 MiB

BIN
static/img/gifs/LibrosFinal.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

BIN
static/img/gifs/SpawnerFinal.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 MiB

BIN
static/img/gifs/TijerasFinal.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 MiB

BIN
static/img/gifs/TotemFinal.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 MiB

BIN
static/img/gifs/etsii.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 MiB

BIN
static/img/logomiarma.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
static/img/pypereading.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
static/img/recipes/bolsita.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
static/img/recipes/scissors.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB