-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 🚧 experimental JSON+LD support
this allows for rich results
- Loading branch information
1 parent
a554612
commit 27b1328
Showing
2 changed files
with
90 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ import { | |
TECHNICAL_PAPERS_SUBPAGE_DEADLINES, | ||
WORKSHOP_PROPOSAL_DATES, | ||
} from "@/app/lib/config/importantdates.config"; | ||
import { createMetadata } from "@/app/lib/utils/createMetadata"; | ||
import { createJSON_LD, createMetadata } from "@/app/lib/utils/createMetadata"; | ||
import Alert from "@/app/lib/components/Alert"; | ||
import { mergeDates } from "@/app/lib/utils/mergeDates"; | ||
|
||
|
@@ -30,6 +30,24 @@ export default function Home() { | |
|
||
return ( | ||
<> | ||
{createJSON_LD({ | ||
type: "Event", | ||
name: "ASSETS '24", | ||
alternateName: | ||
"The 26th International ACM SIGACCESS Conference on Computers and Accessibility", | ||
image: "https://assets24.sigaccess.org/ogp/opengraph2.jpg", | ||
url: "https://assets24.sigaccess.org/", | ||
typeSpecific: { | ||
location: { | ||
name: "Sheraton Hotel Newfoundland", | ||
streetAddress: "115 Cavendish Square", | ||
locality: "St. John's", | ||
region: "Newfoundland and Labrador", | ||
country: "Canada", | ||
postalCode: "A1C 3K2", | ||
}, | ||
}, | ||
})} | ||
<main id=""> | ||
<Hero /> | ||
<Container id="content"> | ||
|
@@ -55,38 +73,38 @@ export default function Home() { | |
heading={"Hotel booking is Live"} | ||
> | ||
{/* <div className=""> */} | ||
<p className="text-white break-words"> | ||
{`The hotel is offering ASSETS attendees a group rate of CAD$199 per night. Please use the `} | ||
<Link | ||
href="https://www.marriott.com/events/start.mi?id=1716409363485&key=GRP" | ||
target="_blank" | ||
colour={"secondary"} | ||
className={"text-white"} | ||
> | ||
{`ASSETS'24 Sheraton Hotel Newfoundland booking link`} | ||
</Link> | ||
{` to make your reservation.`} | ||
</p> | ||
<p className="text-white mt-4"> | ||
{` If you find that the booking link says there is no availability | ||
<p className="text-white break-words"> | ||
{`The hotel is offering ASSETS attendees a group rate of CAD$199 per night. Please use the `} | ||
<Link | ||
href="https://www.marriott.com/events/start.mi?id=1716409363485&key=GRP" | ||
target="_blank" | ||
colour={"secondary"} | ||
className={"text-white"} | ||
> | ||
{`ASSETS'24 Sheraton Hotel Newfoundland booking link`} | ||
</Link> | ||
{` to make your reservation.`} | ||
</p> | ||
<p className="text-white mt-4"> | ||
{` If you find that the booking link says there is no availability | ||
for your desired dates, we recommend emailing `} | ||
<Link | ||
className={'break-words'} | ||
href={"mailto:[email protected]"} | ||
> | ||
[email protected] | ||
</Link> | ||
{` to ask their help with checking availability and assisting with | ||
<Link | ||
className={"break-words"} | ||
href={"mailto:[email protected]"} | ||
> | ||
[email protected] | ||
</Link> | ||
{` to ask their help with checking availability and assisting with | ||
the booking. Please tell them that you are booking for | ||
ASSETS'24.`} | ||
</p> | ||
<p className="text-white mt-4"> | ||
{`For more information, please see the `} | ||
<Link | ||
href={"/attending/overview/"} | ||
>{`Attending Overview`}</Link> | ||
{` page.`} | ||
</p> | ||
</p> | ||
<p className="text-white mt-4"> | ||
{`For more information, please see the `} | ||
<Link | ||
href={"/attending/overview/"} | ||
>{`Attending Overview`}</Link> | ||
{` page.`} | ||
</p> | ||
{/* </div> */} | ||
</Alert> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters