Skip to content

Commit

Permalink
CSS Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
olijeffers0n committed Mar 3, 2024
1 parent 9f624e6 commit 92d8a53
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
10 changes: 1 addition & 9 deletions docs/waterfall/README.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sunsetted: true
sunsettingMessage: We recommend you transition to Velocity.
sunsettingMessage: We recommend you transition to [Velocity](/velocity).
---

import DocCardList from "@theme/DocCardList";
Expand All @@ -10,14 +10,6 @@ import { useCurrentSidebarCategory } from "@docusaurus/theme-common";

Waterfall is the BungeeCord fork that aims to improve performance and stability.

:::danger

**The Paper team strongly recommends using [Velocity](../velocity) over Waterfall**. Waterfall is a legacy solution,
and only receives critical updates and whatever is released from upstream BungeeCord. All future
development by PaperMC is done on [Velocity](../velocity).

:::

---

<DocCardList items={useCurrentSidebarCategory().items} />
2 changes: 1 addition & 1 deletion docs/waterfall/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
slug: /configuration
description: Configuration guide for Waterfall.
sunsetted: true
sunsettingMessage: We recommend you transition to Velocity.
sunsettingMessage: We recommend you transition to [Velocity](/velocity).
---

import React from 'react';
Expand Down
2 changes: 1 addition & 1 deletion docs/waterfall/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
slug: /getting-started
description: How to get started with running Waterfall.
sunsetted: true
sunsettingMessage: We recommend you transition to Velocity.
sunsettingMessage: We recommend you transition to [Velocity](/velocity).
---

# Getting Started
Expand Down
6 changes: 3 additions & 3 deletions src/theme/DocItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import {HtmlClassNameProvider} from '@docusaurus/theme-common';
import {DocProvider} from '@docusaurus/theme-common/internal';
import DocItemMetadata from '@theme/DocItem/Metadata';
import DocItemLayout from '@theme/DocItem/Layout';
import ReactMarkdown from 'react-markdown';
import style from '@site/src/css/markdown-styles.module.css';
import type {Props} from '@theme/DocItem';

function SunsettedPage(message: string) {
return (
<div className={"sunset-message"}>
<strong>
{message}
</strong>
<ReactMarkdown className={style.reactMarkDown} >{"**" + message + "**"}</ReactMarkdown>
</div>
);
}
Expand Down

0 comments on commit 92d8a53

Please sign in to comment.