diff --git a/studio/components/interfaces/Home/ExampleProject.tsx b/studio/components/interfaces/Home/ExampleProject.tsx index 39227ed3c47..bfed4470d29 100644 --- a/studio/components/interfaces/Home/ExampleProject.tsx +++ b/studio/components/interfaces/Home/ExampleProject.tsx @@ -1,5 +1,7 @@ import { FC } from 'react' import { Typography, IconChevronRight } from '@supabase/ui' +import { useStore } from 'hooks' +import Link from 'next/link' interface Props { framework: string @@ -9,48 +11,51 @@ interface Props { } const ExampleProject: FC = ({ framework, title, description, url }) => { + const { ui } = useStore() + const { isDarkTheme } = ui + return ( - -
-
- {`${framework} -
-
-
{title}
-

{description}

-
+ +
- +
+ {`${framework} +
+
+
{title}
+

{description}

+
+
+ +
-
- + + ) } diff --git a/studio/components/interfaces/Home/Home.constants.ts b/studio/components/interfaces/Home/Home.constants.ts index f2cab0a2e69..d19e89231bb 100644 --- a/studio/components/interfaces/Home/Home.constants.ts +++ b/studio/components/interfaces/Home/Home.constants.ts @@ -33,7 +33,7 @@ export const EXAMPLE_PROJECTS = [ framework: 'NextJS', title: 'Next.js Realtime chat app', description: 'Next.js Slack clone app using Supabase realtime subscriptions', - url: 'https://github.com/supabase/supabase/tree/master/examples/nextjs-slack-clone', + url: 'https://github.com/supabase/supabase/tree/master/examples/slack-clone/nextjs-slack-clone', }, { framework: 'NextJS', @@ -63,36 +63,36 @@ export const EXAMPLE_PROJECTS = [ framework: 'JavaScript', title: 'Vanilla-js Auth app', description: 'Example app of real-time chat using supabase realtime api', - url: 'https://github.com/supabase/supabase/tree/master/examples/javascript-auth', + url: 'https://github.com/supabase/supabase/tree/master/examples/auth/javascript-auth', }, { framework: 'React', title: 'React Native todo list app', description: 'React Native Todo List example with Expo', - url: 'https://github.com/supabase/supabase/tree/master/examples/expo-todo-list', + url: 'https://github.com/supabase/supabase/tree/master/examples/todo-list/expo-todo-list', }, { framework: 'NextJS', title: 'NextJS todo list app', description: 'NextJS todo list example', - url: 'https://github.com/supabase/supabase/tree/master/examples/nextjs-todo-list', + url: 'https://github.com/supabase/supabase/tree/master/examples/todo-list/nextjs-todo-list', }, { framework: 'React', title: 'React todo List app', description: 'React todo List example', - url: 'https://github.com/supabase/supabase/tree/master/examples/react-todo-list', + url: 'https://github.com/supabase/supabase/tree/master/examples/todo-list/react-todo-list', }, { framework: 'Svelte', title: 'Svelte todo list app', description: 'Sveltejs todo with TailwindCSS and Snowpack', - url: 'https://github.com/supabase/supabase/tree/master/examples/sveltejs-todo-list', + url: 'https://github.com/supabase/supabase/tree/master/examples/todo-list/sveltejs-todo-list', }, { framework: 'VueJS', title: 'Vue.js todo list app', description: 'Vue.js todo app using TypeScript', - url: 'https://github.com/supabase/supabase/tree/master/examples/vue3-ts-todo-list', + url: 'https://github.com/supabase/supabase/tree/master/examples/todo-list/vue3-ts-todo-list', }, ] diff --git a/studio/public/img/libraries/expo-dark-icon.svg b/studio/public/img/libraries/expo-dark-icon.svg new file mode 100644 index 00000000000..a6f238b6784 --- /dev/null +++ b/studio/public/img/libraries/expo-dark-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/studio/public/img/libraries/nextjs-dark-icon.svg b/studio/public/img/libraries/nextjs-dark-icon.svg new file mode 100644 index 00000000000..99afa3413d3 --- /dev/null +++ b/studio/public/img/libraries/nextjs-dark-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/studio/public/img/libraries/nextjs-icon.svg b/studio/public/img/libraries/nextjs-icon.svg index 99afa3413d3..c45d6e63fb9 100644 --- a/studio/public/img/libraries/nextjs-icon.svg +++ b/studio/public/img/libraries/nextjs-icon.svg @@ -1,3 +1,3 @@ - + diff --git a/studio/public/img/libraries/nextjs.svg b/studio/public/img/libraries/nextjs.svg deleted file mode 100644 index 843612152bb..00000000000 Binary files a/studio/public/img/libraries/nextjs.svg and /dev/null differ