Improve readability of supported hosting providers (#110)
This commit is contained in:
2 files changed
+32
-18
No files matched your search
+24
-12
@@ -14,18 +14,30 @@ export const Provider = ({ type }) => {
|
|||||||
const hostingProviders: HostingProvider[] = providersData[type as ProviderType]
|
const hostingProviders: HostingProvider[] = providersData[type as ProviderType]
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<table>
|
||||||
<ul>{hostingProviders.map((provider: HostingProvider) => (
|
<thead>
|
||||||
<li>
|
<tr>
|
||||||
<a href={provider.url}>{provider.name}</a>
|
<th>Provider</th>
|
||||||
{provider.description != null ? (
|
<th>Description</th>
|
||||||
<ReactMarkdown children={` ‐ ${provider.description}`} components={{ p: noP }} />
|
</tr>
|
||||||
) : (
|
</thead>
|
||||||
''
|
<tbody>
|
||||||
)}
|
{hostingProviders.map((provider: HostingProvider) => (
|
||||||
</li>
|
<tr>
|
||||||
))}</ul>
|
<td>
|
||||||
</div>
|
<a href={provider.url}>{provider.name}</a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
{provider.description != null ? (
|
||||||
|
<ReactMarkdown children={` ‐ ${provider.description}`} components={{ p: noP }} />
|
||||||
|
) : (
|
||||||
|
''
|
||||||
|
)}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
))}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,12 +7,6 @@ import { Provider } from "@site/src/components/Provider";
|
|||||||
|
|
||||||
:::caution
|
:::caution
|
||||||
|
|
||||||
This list is incomplete. Please open a [PR](https://github.com/GeyserMC/GeyserWebsite/pulls) or contact us on [Discord](https://discord.gg/geysermc) if the information is incorrect, or you want to add a new hosting provider!
|
|
||||||
|
|
||||||
:::
|
|
||||||
|
|
||||||
:::caution
|
|
||||||
|
|
||||||
These providers are not verified by the Geyser team, and the server providers below are reported as working by members of the community.
|
These providers are not verified by the Geyser team, and the server providers below are reported as working by members of the community.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
@@ -29,6 +23,14 @@ The below information is for the plugin versions of Geyser unless otherwise spec
|
|||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
:::info PLEASE NOTE
|
||||||
|
|
||||||
|
This list is incomplete. Please open a [PR](https://github.com/GeyserMC/GeyserWebsite/pulls) or contact us on [Discord](https://discord.gg/geysermc) if the information is incorrect, or you want to add a new hosting provider!
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
## Built-in Geyser \{#built-in-geyser}
|
## Built-in Geyser \{#built-in-geyser}
|
||||||
|
|
||||||
<Provider type="built_in" />
|
<Provider type="built_in" />
|
||||||
|
|||||||
Reference in new issue
Block a user