From 5be7d594816f77b5058674e0b1e4ab482a0c009f Mon Sep 17 00:00:00 2001 From: Hellen Date: Wed, 17 Jan 2024 17:04:54 +0300 Subject: [PATCH] feat: add remix playground (#160) --- src/assets/icons/remix-logo.svg | 17 +++++++++++++++++ src/content/landing.ts | 15 +++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 src/assets/icons/remix-logo.svg diff --git a/src/assets/icons/remix-logo.svg b/src/assets/icons/remix-logo.svg new file mode 100644 index 00000000000..e05840bc4f3 --- /dev/null +++ b/src/assets/icons/remix-logo.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/content/landing.ts b/src/content/landing.ts index 0132cfc2913..63b7a15d0c8 100644 --- a/src/content/landing.ts +++ b/src/content/landing.ts @@ -10,6 +10,7 @@ import featureUnionAsset from '../assets/feature-union.svg'; import craLogo from '../assets/icons/cra-logo.svg'; import githubIcon from '../assets/icons/github.svg'; import nextLogo from '../assets/icons/next-logo.svg'; +import remixLogo from '../assets/icons/remix-logo.svg'; import rocketIcon from '../assets/icons/rocket.svg'; import viteLogo from '../assets/icons/vite-logo.svg'; import {CustomBlock} from '../blocks/constants'; @@ -203,6 +204,20 @@ const typedLanding: CustomPageContent = { title: 'Open Vite Playground', }, }, + { + title: 'Remix', + icon: remixLogo, + commands: [ + 'npx create-remix my-app --template gravity-ui/gravity-ui-remix-example', + 'cd my-app', + 'npm run dev', + ], + button: { + href: 'https://codesandbox.io/p/devbox/gravityui-remix-template-2y5ykj', + target: '_blank', + title: 'Open Remix Playground', + }, + }, ], }, {