diff --git a/src/pages/Homepage.jsx b/src/pages/Homepage.jsx
new file mode 100644
index 00000000..77704bfb
--- /dev/null
+++ b/src/pages/Homepage.jsx
@@ -0,0 +1,31 @@
+import React, { useState, useEffect } from 'react';
+import { useNavigate } from 'react-router-dom';
+import LinearProgress from '@mui/material/LinearProgress';
+import { useClient } from '../context/client-context';
+
+const Homepage = () => {
+ const { client } = useClient();
+ const navigate = useNavigate();
+ const [loading, setLoading] = useState(false);
+
+ useEffect(() => {
+ setLoading(true);
+ client
+ .getCollections()
+ .then((data) => {
+ setLoading(false);
+ if (data.collections.length > 0) {
+ navigate('/collections');
+ } else {
+ navigate('/welcome');
+ }
+ })
+ .catch((error) => {
+ console.error(error);
+ });
+ }, [client]);
+
+ return <>{loading ? : null}>;
+};
+
+export default Homepage;
diff --git a/src/pages/Welcome.jsx b/src/pages/Welcome.jsx
new file mode 100644
index 00000000..06a4df33
--- /dev/null
+++ b/src/pages/Welcome.jsx
@@ -0,0 +1,79 @@
+import React from 'react';
+import { Link } from 'react-router-dom';
+import { Box, Button, Typography } from '@mui/material';
+import { styled } from '@mui/material/styles';
+
+const ButtonsContainer = styled(Box)`
+ display: flex;
+ justify-content: flex-start;
+ gap: 1rem;
+ margin: 2rem 0;
+`;
+
+const StyledButton = styled((props) => )`
+ background-color: #333;
+ color: white;
+ font-size: 1rem;
+ text-transform: capitalize;
+ &:hover {
+ background-color: #555;
+ }
+`;
+
+const StyledAbstract = styled(Typography)`
+ max-width: 600px;
+ margin-bottom: 2rem;
+`;
+
+const Welcome = () => {
+ return (
+
+
+
+ Welcome to Qdrant!
+
+
+
+
+
+ Begin by setting up your collection
+
+
+ Start building your app by creating a collection and inserting your vectors. Interactive tutorials will show
+ you how to organize data and perform searches.
+
+
+
+ Quickstart
+
+
+ Load Sample Data
+
+
+
+
+
+
+ Connect to your new project
+
+
+ Easily interact with your database using Qdrant SDKs and our REST API. Use these libraries to connect, query,
+ and manage your vector data from the app.
+
+
+
+ API Reference
+
+
+
+
+ );
+};
+
+export default Welcome;
diff --git a/src/routes.jsx b/src/routes.jsx
index 2e6cbdb9..1c2d859d 100644
--- a/src/routes.jsx
+++ b/src/routes.jsx
@@ -8,13 +8,16 @@ import Tutorial from './pages/Tutorial';
import Datasets from './pages/Datasets';
import Jwt from './pages/Jwt';
import Graph from './pages/Graph';
+import Welcome from './pages/Welcome';
+import Homepage from './pages/Homepage';
const routes = () => [
{
path: '/',
element: ,
children: [
- { path: '/', element: },
+ { path: '/', element: },
+ { path: '/welcome', element: },
{ path: '/console', element: },
{ path: '/datasets', element: },
{ path: '/collections', element: },