From 01292ddfa2e8e7a015225043040bbff88aba4dcf Mon Sep 17 00:00:00 2001 From: Pierre-Louis Guidez Date: Thu, 11 Jan 2024 14:59:08 +0100 Subject: [PATCH] Implement redirect --- README.md | 20 +++++++------------- firebase.json | 9 ++++++++- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index a420b7e0bc..b1fdd257c7 100644 --- a/README.md +++ b/README.md @@ -3,28 +3,22 @@ **NOTE**: The Flutter Gallery is now deprecated, and no longer being active maintained. Flutter Gallery was a resource to help developers evaluate and use Flutter. -It is now being used primarily for testing. +It is now being used primarily for testing. For posterity, the web version remains [hosted here](https://gallery-flutter-dev.firebaseapp.com). We recommend Flutter developers check out the following resources: * **Wonderous**: -( -[web demo](https://wonderous.app/web/), +([web demo](https://wonderous.app/web/), [App Store](https://apps.apple.com/us/app/wonderous/id1612491897), [Google Play](https://play.google.com/store/apps/details?id=com.gskinner.flutter.wonders), -[source code](https://github.com/gskinnerTeam/flutter-wonderous-app) -):
+[source code](https://github.com/gskinnerTeam/flutter-wonderous-app)):
A Flutter app that showcases Flutter's support for elegant design and rich animations. -* **Material 3 Gallery** -( -[web demo](https://flutter.github.io/samples/web/material_3_demo/), -[source code](https://github.com/flutter/samples/tree/main/material_3_demo) -):
+* **Material 3 Demo** +([web demo](https://flutter.github.io/samples/web/material_3_demo/), +[source code](https://github.com/flutter/samples/tree/main/material_3_demo)):
A Flutter app that showcases Material 3 features in the Flutter Material library. * **Flutter Samples**: -( -[source code](https://github.com/flutter/samples) -):
+([samples](https://flutter.github.io/samples), [source code](https://github.com/flutter/samples)):
A collection of open source samples that illustrate best practices for Flutter. diff --git a/firebase.json b/firebase.json index 814a6a8f2b..4e78957575 100644 --- a/firebase.json +++ b/firebase.json @@ -12,6 +12,13 @@ { "target": "prod", "public": "build/web", + "redirects": [ + { + "source": "/", + "destination": "https://docs.flutter.dev/gallery", + "type": 301 + } + ], "ignore": [ "firebase.json", "**/.*", @@ -19,4 +26,4 @@ ] } ] -} \ No newline at end of file +}