Anchor link to another page to test ViewTransitions

This commit is contained in:
prototypa
2024-04-14 13:41:17 -04:00
parent f234e63eb4
commit cc6dbfbcdf
2 changed files with 3 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ const metadata = {
<HeroText tagline="Contact" title="Let's Connect!" /> <HeroText tagline="Contact" title="Let's Connect!" />
<ContactUs <ContactUs
id="form"
title="Drop us a message today!" title="Drop us a message today!"
subtitle="For quicker answers, explore our FAQs section. You may find the solution you're looking for right there! If not, our support team is delighted to help you." subtitle="For quicker answers, explore our FAQs section. You may find the solution you're looking for right there! If not, our support team is delighted to help you."
inputs={[ inputs={[

View File

@@ -9,6 +9,7 @@ import Features3 from '~/components/widgets/Features3.astro';
import Testimonials from '~/components/widgets/Testimonials.astro'; import Testimonials from '~/components/widgets/Testimonials.astro';
import Steps from '~/components/widgets/Steps.astro'; import Steps from '~/components/widgets/Steps.astro';
import BlogLatestPosts from '~/components/widgets/BlogLatestPosts.astro'; import BlogLatestPosts from '~/components/widgets/BlogLatestPosts.astro';
import { getPermalink } from '~/utils/permalinks';
const metadata = { const metadata = {
title: 'Personal Homepage Demo', title: 'Personal Homepage Demo',
@@ -44,7 +45,7 @@ const metadata = {
id="hero" id="hero"
title="Sarah Johnson" title="Sarah Johnson"
tagline="Personal Web Demo" tagline="Personal Web Demo"
actions={[{ variant: "primary", target: '_blank', text: 'Hire me', href: '/' }]} actions={[{ variant: "primary", text: 'Hire me', href: getPermalink("/contact#form") }]}
> >
<Fragment slot="subtitle"> <Fragment slot="subtitle">
I'm a Graphic Designer passionate about crafting visual stories. <br /> With 5 years of experience and a degree I'm a Graphic Designer passionate about crafting visual stories. <br /> With 5 years of experience and a degree