forked from emre/www_projectmycelium_com
refactor: update CTA buttons with external links and navigation improvements
- Changed "Deploy a Model" button in agents CallToAction to external link (myceliumcloud.tf) with target="_blank" - Updated "Host a Node" button path from /host to /nodes in agents and cloud CallToAction - Changed cloud CallToAction "Start Deploying" button to external link with target="_blank" - Updated CloudHeroNew buttons to external links for myceliumcloud.tf and docs - Removed onGetStartedClick handler from CloudHeroNew in
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
|
||||
import { useRef } from 'react'
|
||||
import { AnimatedSection } from '../../components/AnimatedSection'
|
||||
import { CallToAction } from './CallToAction'
|
||||
import { HomeTab } from './HomeTab'
|
||||
@@ -11,15 +10,10 @@ import { HomeDesign } from './HomeDesign';
|
||||
|
||||
|
||||
export default function HomePage() {
|
||||
const sliderRef = useRef<HTMLDivElement>(null)
|
||||
|
||||
const handleScrollToSlider = () => {
|
||||
sliderRef.current?.scrollIntoView({ behavior: 'smooth' })
|
||||
}
|
||||
return (
|
||||
<div>
|
||||
<AnimatedSection>
|
||||
<HomeAurora onGetStartedClick={handleScrollToSlider} />
|
||||
<HomeAurora />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
|
||||
Reference in New Issue
Block a user