Skip to content

Commit

Permalink
ui tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ukdaaan committed Nov 23, 2024
1 parent 947f435 commit 3f16f74
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 923 deletions.
859 changes: 0 additions & 859 deletions .astro/astro/content.d.ts

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ export default defineConfig({
}),
],
title: "setup.md",
customCss: [
'./src/styles/custom.css',
'./src/fonts/font-face.css',
],
logo: {
replacesTitle: true,
light: "./src/assets/logo-dark.png",
Expand Down
8 changes: 4 additions & 4 deletions src/content/docs/about.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ If you don't already have a Github account you will be required to make one befo
If you're an administrator looking for docs that we don't currently have information on then this is probably the section for you, it will explain how to raise a new Github issue with the information required for us to get the ball rolling with your request.

<ul class="pl-5 list-disc">
<li>Head on over to the [setup.md Github repository](https://smd.gg/repoissue)</li>
<li>Head on over to the [setup.md Github repository](https://github.com/setupmd/docs/issues/new/choose)</li>
<li>In the menu bar at the top select 'Issues'</li>
<li>Select 'New Issue'</li>
<li>Select 'Feature Request'</li>
Expand All @@ -38,14 +38,14 @@ Ensure you fill out the form with as much information as you can as this will he

### Writing Content

If you're interested in writing content / migrating your own doc environment over to our wiki a Github PR is your best option. Please also ensure you have followed our [styling guide](https://contribute.setup.md) to ensure your PR doesn't get rejected for lack of continuity.
If you're interested in writing content / migrating your own doc environment over to our wiki a Github PR is your best option.

#### Single Articles

If you're going to write a single article you can do so with the following steps, before you consider uploading a document please ensure you are using a template from our [sister github repository](https://github.com/setupmd/templates/tree/main/Docs).

<ul class="pl-5 list-disc">
<li>Head on over to the [setup.md Github repository](https://smd.gg/pr)</li>
<li>Head on over to the [setup.md Github repository](https://github.com/setupmd/docs)</li>
<li>In the menu bar at the top select 'Pull Requests'</li>
<li>Select 'New Pull Request'</li>
<li>Select the branch of your forked repo that you wish to commit as a PR</li>
Expand All @@ -56,7 +56,7 @@ The setup.md contributors will then verify the PR is good and will approve your

#### Migrating Wikis

If you already use docusaurus for your own project, adding your content here is super easy and should be a drag and drop migration. You'll need to [submit a PR](https://smd.gg/pr) but it's recommended you reach out to us on [Discord](https://smd.gg/discord) so we can setup some indexing for your future content.
If you already use docusaurus for your own project, adding your content here is super easy and should be a drag and drop migration. You'll need to [submit a PR](https://github.com/setupmd/docs/compare) but it's recommended you reach out to us on [Discord](https://www.setup.md/discord-invite) so we can setup some indexing for your future content.

---

Expand Down
3 changes: 0 additions & 3 deletions src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ import { Card, CardGrid } from '@astrojs/starlight/components';
<Card title="Easily Contributable" icon="github">
Version 3 of the wiki launches with a focus on improving contribution requirements.
</Card>
<Card title="Translation Support" icon="translate">
With V3 we now have the functionality to implement translations following the i18n standard. **SOON!**
</Card>
<Card title="Community Backed" icon="discord">
We're still backed by the amazing members of the [Admincraft](https://discord.gg/8a3W4BjVDf) community.
</Card>
Expand Down
37 changes: 2 additions & 35 deletions src/content/docs/information/docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,6 @@ sidebar:
order: 1
---

If you're not looking for complete guides you'll spend your time in the 'documentation' section of setup.md, we'll cover the basic topics: economy, hosting, permissions, plugins, troubleshooting and more!
This the the setup.md wiki, we've collated some of our most useful bits of information that anyone can use as a reference point for developing their Minecraft server. This wiki is primarily maintained by the wonderful Admincraft community, thou we thank external contributors who have added to our project.

Below is a breakdown of each category and what you can expect to find within each of them.

#### Server Enhancements

Topic | Summary
------------ |------------
Anti-X Tools | A section designed to discuss the tools that claim to modify / remove / restrict access to certain functionality within your server.
Economy | This section focuses on the core aspects to build an economy within your server with plugin recommendations.
Permissions | This section focuses on delivering an understanding of permissions, how they should be deployed along side plugin advice.
Plugins | This section takes a look at some of the must have premium and free plugins along side any recommended configuration files.


#### Hosting

Topic | Summary
------------ |------------
Providers | A brief recommendation on some trusted providers within the hosting space providing Minecraft and cloud services.
Software | A review of both OS types and server management products.
Types | A brief overview on the different types of hosting that is available when looking to host a Minecraft server.


#### Tools

Topic | Summary
------------ |------------
Databases | An explanation on when you might utilise a database over flat file in Minecraft.
Software | A look at the alternative server jar files you can use compared to the vanilla files from Mojang.
startup | The available server flags that can be used within your Bat file or control panel.


#### Troubleshooting

Topic | Summary
------------ |------------
We have attempted to cover all of the key areas when it comes to running a server, you can find these top level categories on the left hand side (minus guides which are walkthroughs for deployment).
2 changes: 1 addition & 1 deletion src/content/docs/jarapi.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ hero:
file: ../../assets/javaicon.png
actions:
- text: Source Code
link: https://smd.gg/api
link: https://github.com/setupmd/server-jar-api
icon: github
variant: primary
---
Expand Down
21 changes: 0 additions & 21 deletions src/content/docs/mchost.mdx

This file was deleted.

Binary file added src/fonts/Satoshi.woff2
Binary file not shown.
8 changes: 8 additions & 0 deletions src/fonts/font-face.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@font-face {
font-family: 'Satoshi';
/* Use a relative path to the local font file in `url()`. */
src: url('./Satoshi.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}
38 changes: 38 additions & 0 deletions src/styles/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
:root {
--sl-content-width: 60rem;
--sl-text-5xl: 3.5rem;
}

/* Dark mode colors. */
:root {
--sl-color-accent-low: #2f193a;
--sl-color-accent: #903ab6;
--sl-color-accent-high: #d8bde7;
--sl-color-white: #ffffff;
--sl-color-gray-1: #eceef2;
--sl-color-gray-2: #c6c8ce;
--sl-color-gray-3: #a0a4ae;
--sl-color-gray-4: #545861;
--sl-color-gray-5: #353841;
--sl-color-gray-6: #24272f;
--sl-color-black: #17181c;
}
/* Light mode colors. */
:root[data-theme='light'] {
--sl-color-accent-low: #e3ceee;
--sl-color-accent: #7a209e;
--sl-color-accent-high: #442054;
--sl-color-white: #17181c;
--sl-color-gray-1: #24272f;
--sl-color-gray-2: #353841;
--sl-color-gray-3: #545861;
--sl-color-gray-4: #888b96;
--sl-color-gray-5: #c0c2c7;
--sl-color-gray-6: #eceef2;
--sl-color-gray-7: #f5f6f8;
--sl-color-black: #ffffff;
}

:root {
--sl-font: 'Satoshi', serif;
}

0 comments on commit 3f16f74

Please sign in to comment.