-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing rococo backend completely, while as for frontend, adding a temporary deprecation page
- Loading branch information
1 parent
82e3560
commit 3f1858a
Showing
19 changed files
with
66 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,51 @@ | ||
<!-- Temporary page; take down some time after rococo shutdown --> | ||
<script lang="ts"> | ||
import faqMd from "$lib/assets/FAQ.md?raw"; | ||
import Faucet from "$lib/components/Faucet.svelte"; | ||
import Card from "$lib/components/Card.svelte"; | ||
import MarkUp from "$lib/components/MarkUp.svelte"; | ||
import FrequentlyAskedQuestions from "$lib/components/screens/FrequentlyAskedQuestions.svelte"; | ||
import SocialTags from "$lib/components/SocialTags.svelte"; | ||
import { type NetworkData, Rococo } from "$lib/utils/networkData"; | ||
import { testnet } from "$lib/utils/stores"; | ||
import { onMount } from "svelte"; | ||
let network: NetworkData = Rococo; | ||
let faq: string = faqMd | ||
.replaceAll("<NETWORK-TOKEN>", network.currency) | ||
.replaceAll("<NETWORK-NAME>", network.networkName); | ||
// Keeping the FAQ section just because it's easier than either: | ||
// * removing "Questions" section from navbar | ||
// * getting around broken link test | ||
let faq: string = ` | ||
# Rococo decomission plan | ||
https://forum.polkadot.network/t/rococo-to-be-deprecated-in-october/8702 | ||
`; | ||
onMount(() => { | ||
testnet.set(network); | ||
}); | ||
</script> | ||
|
||
<Faucet {network} {faq} /> | ||
<main> | ||
<SocialTags /> | ||
<div class="flex items-center justify-center mt-16 mb-4 md:my-16"> | ||
<Card title="Rococo faucet has been deprecated"> | ||
<h3 class="card-subtitle"> | ||
Rococo network is being shut down. <br /> | ||
Please use it's successor, <a href="https://github.com/paseo-network">Paseo network</a> | ||
</h3> | ||
</Card> | ||
</div> | ||
<MarkUp {faq} /> | ||
<FrequentlyAskedQuestions {faq} /> | ||
</main> | ||
|
||
<style lang="postcss"> | ||
main { | ||
@apply mx-auto my-0 md:p-8; | ||
max-width: 720px; | ||
text-align: center; | ||
} | ||
@media (min-width: 768px) { | ||
main { | ||
min-height: 90vh; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export default function() { | ||
process.env.SMF_CONFIG_NETWORK = "rococo" | ||
process.env.SMF_CONFIG_NETWORK = "westend" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters