From bac3e5f03a69bced1b70f1b52d4093051ab278c5 Mon Sep 17 00:00:00 2001 From: Jose Celano Date: Fri, 26 Jun 2026 17:47:01 +0100 Subject: [PATCH 1/2] feat: add demo shutdown banner and replace demo links with issue reference Closes #228 --- src/lib/components/organisms/Hero.svelte | 4 +- .../singletons/TorrustIndexPost.svelte | 2 +- src/lib/constants/constants.ts | 4 +- src/routes/(home)/+page.svelte | 2 +- src/routes/+layout.svelte | 39 +++++++++++++++++++ 5 files changed, 45 insertions(+), 6 deletions(-) diff --git a/src/lib/components/organisms/Hero.svelte b/src/lib/components/organisms/Hero.svelte index 8cff33f..f250f7a 100644 --- a/src/lib/components/organisms/Hero.svelte +++ b/src/lib/components/organisms/Hero.svelte @@ -14,14 +14,14 @@ title={'index'} details={'The Index is a feature-rich torrent indexing site split between an API (backend) built with Rust, and our reference web app that consumes the API, built with Vue 3.'} version={'https://github.com/torrust/torrust-index/releases'} - liveDemo={'https://index.torrust-demo.com/torrents'} + liveDemo={'https://github.com/torrust/torrust-website/issues/228'} learnMore={'/torrent-index'} /> diff --git a/src/lib/components/singletons/TorrustIndexPost.svelte b/src/lib/components/singletons/TorrustIndexPost.svelte index c5f583d..7936b9a 100644 --- a/src/lib/components/singletons/TorrustIndexPost.svelte +++ b/src/lib/components/singletons/TorrustIndexPost.svelte @@ -25,7 +25,7 @@

We have also taken into consideration cloud environments, making it easy to deploy the index to multiple hosting providers (using either VMs or containers). We run a demo sitedemo site on Digital Ocean to collect direct feedback about how easy it is to manage the application on production. Our goal is to make sure sysadmins can: diff --git a/src/lib/constants/constants.ts b/src/lib/constants/constants.ts index db13c06..9e80f17 100644 --- a/src/lib/constants/constants.ts +++ b/src/lib/constants/constants.ts @@ -175,7 +175,7 @@ export const indexTableData = [ polls: 'No', webfeed: 'No', repo: 'https://github.com/torrust/torrust-index', - demo: 'https://index.torrust-demo.com/torrents' + demo: 'https://github.com/torrust/torrust-website/issues/228' }, { name: 'UNIT3D', @@ -384,7 +384,7 @@ export const trackerTableData = [ language: 'Rust', os: 'Linux,MacOs', repo: 'https://github.com/torrust/torrust-tracker', - demo: 'udp://tracker.torrust-demo.com:6969/announce' + demo: 'https://github.com/torrust/torrust-website/issues/228' }, { name: 'Torrust-Actix', diff --git a/src/routes/(home)/+page.svelte b/src/routes/(home)/+page.svelte index dd1fbe9..25ceeaa 100644 --- a/src/routes/(home)/+page.svelte +++ b/src/routes/(home)/+page.svelte @@ -56,7 +56,7 @@ } } - h2 { + .container { text-align: center; color: rgba(245, 245, 245, 0.96); padding-top: 4rem; diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index d365d62..c20fe4d 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -36,6 +36,13 @@

+
+

+ All public demo services are currently shut down. + Learn more. +

+
{@render children?.()} @@ -44,6 +51,38 @@