feat: add cloud services dropdown menu in header
- Replaced individual cloud service pages with CallToAction components for Compute, Storage and GPU - Added dropdown menu in header to consolidate cloud service navigation options - Removed redundant page components (Compute.tsx, Storage.tsx, Gpu.tsx) that shared identical layouts - Updated route components to use new CallToAction components - Added ChevronDownIcon to visually indicate dropdown functionality
This commit is contained in:
		
							
								
								
									
										12
									
								
								src/App.tsx
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								src/App.tsx
									
									
									
									
									
								
							@@ -5,9 +5,9 @@ import CloudPage from './pages/cloud/CloudPage'
 | 
			
		||||
import NetworkPage from './pages/network/NetworkPage'
 | 
			
		||||
import AgentsPage from './pages/agents/AgentsPage'
 | 
			
		||||
import DownloadPage from './pages/download/DownloadPage'
 | 
			
		||||
import Compute from './pages/compute/Compute'
 | 
			
		||||
import Storage from './pages/storage/Storage'
 | 
			
		||||
import Gpu from './pages/gpu/Gpu'
 | 
			
		||||
import { CallToAction as ComputeCallToAction } from './pages/compute/CallToAction'
 | 
			
		||||
import { CallToAction as StorageCallToAction } from './pages/storage/CallToAction'
 | 
			
		||||
import { CallToAction as GpuCallToAction } from './pages/gpu/CallToAction'
 | 
			
		||||
 | 
			
		||||
function App() {
 | 
			
		||||
  return (
 | 
			
		||||
@@ -19,9 +19,9 @@ function App() {
 | 
			
		||||
          <Route path="network" element={<NetworkPage />} />
 | 
			
		||||
          <Route path="agents" element={<AgentsPage />} />
 | 
			
		||||
                    <Route path="download" element={<DownloadPage />} />
 | 
			
		||||
          <Route path="compute" element={<Compute />} />
 | 
			
		||||
          <Route path="storage" element={<Storage />} />
 | 
			
		||||
          <Route path="gpu" element={<Gpu />} />
 | 
			
		||||
          <Route path="compute" element={<ComputeCallToAction />} />
 | 
			
		||||
          <Route path="storage" element={<StorageCallToAction />} />
 | 
			
		||||
          <Route path="gpu" element={<GpuCallToAction />} />
 | 
			
		||||
        </Route>
 | 
			
		||||
      </Routes>
 | 
			
		||||
    </BrowserRouter>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user