mirror of
https://github.com/JonasunderscoreJones/wiki.jonasjones.dev.git
synced 2025-10-23 14:19:18 +02:00
new pages, style, dark/light mode toggle, etc...
This commit is contained in:
parent
09c002f1ae
commit
57ab995f83
29 changed files with 342 additions and 111 deletions
|
@ -2,21 +2,32 @@
|
|||
import Header from '$lib/components/Header.svelte';
|
||||
import Footer from '$lib/components/Footer.svelte';
|
||||
import Navbar from '$lib/components/Navbar.svelte';
|
||||
import { isDarkMode } from '$lib/stores/darkModeStore';
|
||||
import '$lib/styles/style.css';
|
||||
|
||||
//change background color based on dark mode
|
||||
//$: document.body.style.backgroundColor = $isDarkMode ? '#fff' : '#16181c';
|
||||
|
||||
</script>
|
||||
|
||||
<Header />
|
||||
|
||||
<div class="container">
|
||||
<div class="column navbar"><Navbar /></div>
|
||||
<div class="column content">
|
||||
<main>
|
||||
<slot />
|
||||
</main>
|
||||
<body style="background-color: {$isDarkMode ? '#fff' : '#16181c'};padding:0">
|
||||
<div style="height:2rem"></div>
|
||||
<Header />
|
||||
<div class="container" class:invert={$isDarkMode}>
|
||||
<div class="column"><Navbar /></div>
|
||||
<div class="column content flex_grow" style="margin-left: 0;">
|
||||
<main>
|
||||
<slot />
|
||||
<!-- Please god forgive me -->
|
||||
<h1 style="color: #26292f;margin:0;padding:0" class="unselectable">YOU CANT SEE THIS YOU CANT SEE THIS YOU CANT SEE THIS YOU CANT SEE THIS</h1>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class:invert={$isDarkMode}>
|
||||
<Footer />
|
||||
</div>
|
||||
<div style="height:2rem"></div>
|
||||
</body>
|
||||
|
||||
<Footer />
|
||||
|
|
|
@ -1,65 +1,10 @@
|
|||
# Welcome to the Svelte Markdown Wiki!
|
||||
# Welcome to my humble Wiki!
|
||||
|
||||
Every page here is a Markdown file. Svelte does the rest!
|
||||
|
||||
---
|
||||
## Different headers
|
||||
### Even smaller header
|
||||
|
||||
You can use **bold**, *italic*, and ~~strikethrough~~ text.
|
||||
|
||||
You can also use [links](/).
|
||||
|
||||
You can use `code` blocks.
|
||||
|
||||
You can use tables:
|
||||
|
||||
| Header 1 | Header 2 |
|
||||
| -------- | -------- |
|
||||
| Cell 1 | Cell 2 |
|
||||
|
||||
You can use blockquotes:
|
||||
|
||||
> This is a blockquote.
|
||||
> It can span multiple lines.
|
||||
> > You can even nest blockquotes.
|
||||
> > > And nest them deeper.
|
||||
> > > > And deeper.
|
||||
> > > > > And deeper.
|
||||
|
||||
You can use horizontal rules:
|
||||
Every project of mine that requires a wiki will be hosted here.
|
||||
|
||||
---
|
||||
|
||||
You can use ordered lists:
|
||||
|
||||
1. Item 1
|
||||
2. Item 2
|
||||
3. Item 3
|
||||
1. Item 3.1
|
||||
2. Item 3.2
|
||||
4. Item 4
|
||||
5. Item 5
|
||||
|
||||
You can use unordered lists:
|
||||
|
||||
- Item 1
|
||||
- Item 2
|
||||
- Item 3
|
||||
- Item 3.1
|
||||
- Item 3.2
|
||||
- Item 4
|
||||
- Item 5
|
||||
|
||||
|
||||
You can use codeblocks:
|
||||
|
||||
```js
|
||||
const foo = 'bar';
|
||||
```
|
||||
|
||||
|
||||
|
||||
You can use images:
|
||||
|
||||

|
||||
<script>
|
||||
import Navbar from '$lib/components/Navbar.svelte';
|
||||
</script>
|
||||
<Navbar />
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
# Exampletopic
|
||||
This is an example topic.
|
|
@ -1,2 +0,0 @@
|
|||
# Introduction
|
||||
This is the introduction.
|
|
@ -1,2 +0,0 @@
|
|||
# Q & A
|
||||
This is an example Q&A page
|
8
src/routes/Microcraft/+page.md
Normal file
8
src/routes/Microcraft/+page.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Microcraft
|
||||
---
|
||||
|
||||
A mod that aims to provide tools to connect Microcontrollers to Minecraft.
|
||||
|
||||
This is still in the making but a wiki page will be made soon.
|
||||
|
||||
As of right now, only the GitHub wiki has been copied over.
|
16
src/routes/Microcraft/BoardProgramEditors/+page.md
Normal file
16
src/routes/Microcraft/BoardProgramEditors/+page.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# > Board Program Editors
|
||||
---
|
||||
|
||||
A Board Program Editor is an editor that will be used to edit the Program that will be uploaded to the Microcontroller. This mod offers a sample program for each board that will manually be updated as pi-map entries are added by the user.
|
||||
### Available Editors
|
||||
The available editors and their ID for the config file are:
|
||||
|
||||
| Editor | config ID | Default |
|
||||
| ------------- |:-------------:| -----:|
|
||||
| The ingame editor provided by the mod itself | `igname` | YES |
|
||||
| Arduino IDE | `arduinoide` | - |
|
||||
| Notepad++ | `notepadpp` | - |
|
||||
| Visual Studio Code | `code` | - |
|
||||
| Sublime Text | `sublime` | - |
|
||||
| Custom editor | `custom` | - |
|
||||
| Open in file explorer | `filepath` | - |
|
24
src/routes/Microcraft/MicrocontrollerBoards/+page.md
Normal file
24
src/routes/Microcraft/MicrocontrollerBoards/+page.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# > Microcontroller Boards
|
||||
---
|
||||
|
||||
### Supported Boards
|
||||
As of the latest version the following boards are supported (and their's ID's for the config file):
|
||||
- Arduino Nano [tested]: `A-nano`
|
||||
- Arduino Pro Mini: `A-pro_mini`
|
||||
- Arduino Uno: `A-uno`
|
||||
|
||||
| Board Name | config ID | Default |
|
||||
| ------------- |:-------------:| -----:|
|
||||
| Arduino Nano | `A-nano` | YES |
|
||||
| Arduino Pro Mini | `A-pro_mini` | - |
|
||||
| Arduino Uno | `A-uno` | - |
|
||||
|
||||
### Planned Boards
|
||||
The following boards are planned to be added to the mod but are not yet implemented:
|
||||
- Raspberry PI Pico
|
||||
- Arduino Micro
|
||||
- Arduino Zero
|
||||
|
||||
### What to do if my Microcontroller is not (yet) supported?
|
||||
The mod offers a way for you to manually map functions to pins. Just select the `Custom` Board and add a pin entry.
|
||||
You can also write an issue and **mark it as a board-request**
|
10
src/routes/Microcraft/PinmapEntries/+page.md
Normal file
10
src/routes/Microcraft/PinmapEntries/+page.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
# > Pin Map Entries
|
||||
---
|
||||
|
||||
A Pin-Map-Entry is an entry that can be mapped to a pin of a Microcontroller.
|
||||
### List of all Entries
|
||||
All currently supported entries are:
|
||||
- no entries //TODO for later me: add entries (shout at me if I forget to add them when the first official version of the mod get's released and this is still not updated)
|
||||
|
||||
### Not supported Entries
|
||||
If an entry is not supported by the mod it cannot be used natively. There are plans for a library that can be implemented into any mod to make any entry possible. This would open the doors to the implementation of any (even mod-specific) feature. BUT: Don't get too excited yet, it's only a plan.
|
16
src/routes/Minecraft-Server-Status/+page.md
Normal file
16
src/routes/Minecraft-Server-Status/+page.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Minecraft-server-Status
|
||||
---
|
||||
|
||||
This small python script allows you to view any Minecraft server's status Information
|
||||
##### Usage
|
||||
Download the file, install python (if not already installed), install `mcstatus` (`pip install mcstatus`) and `time` (`pip install time`) and launch the program by executing it with `python cmd.py` on windows and `python3 cmd.py` on MacOS and Linux (replace 'cmd.py' with correct filename). Make sure that you first locate your download location with the command `cd Downloads` (replace 'Downloads' with your custom location if needed).
|
||||
|
||||
##### Status Infos
|
||||
1. Minecraft Version
|
||||
2. MOTD (message of the day)
|
||||
3. host (IP address of the server and port)
|
||||
4. Software (Minecraft version and Mod/Plugin Loader if any installed on the server)
|
||||
5. Plugins (if any installed)
|
||||
6. Ping (number of miliseconds it took for the script to reach the server)
|
||||
7. Players (`online Players`/`Max Players`)
|
||||
8. Players Online (list of online Players)
|
|
@ -1,5 +1,11 @@
|
|||
# About
|
||||
|
||||
This is the wiki for all my projects that require a wiki.
|
||||
|
||||
View them at [my projects page](https://jonasjones.dev/projects).
|
||||
|
||||
---
|
||||
|
||||
A Wiki Template by Jonas_Jones
|
||||
|
||||
[GitHub Repository](https://github.com/J-onasJones/SvelteMarkdownWiki)
|
||||
[Svelte-Markdown-Wiki](https://github.com/J-onasJones/SvelteMarkdownWiki)
|
|
@ -1,3 +1,3 @@
|
|||
# Contact
|
||||
|
||||
This is the contact page.
|
||||
The ways to contact me are on my [website](https://jonasjones.dev) right below my logo!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue