Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Title update #49

Merged
merged 4 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/CarouselWrapper.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const images: ReactImageGalleryItem[] = await Promise.all(
originalAlt:
"A wide-angle view of a packed lecture hall with rows of students seated at desks, some with raised hands, engaging with a presenter speaking at the front.",
description:
"With over 500 attendees last year, DeltaHacks 10 is shaping up to be the biggest one yet!",
"With over 500 attendees last year, DeltaHacks 11 is shaping up to be the biggest one yet!",
},
{
image: DSC01770,
Expand Down
14 changes: 7 additions & 7 deletions src/components/FAQ.astro
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const questions: Array<{
"Absolutely nothing! All you need is a personal computer to bring along with you to the event!",
},
{
question: "Will DeltaHacks 10 be in person or virtual?",
answer: "DeltaHacks 10 will be taking place fully in person this year.",
question: "Will DeltaHacks 11 be in person or virtual?",
answer: "DeltaHacks 11s will be taking place fully in person this year.",
},
{
question: "Will attendees still get awesome swag?",
Expand All @@ -49,17 +49,17 @@ const questions: Array<{
{
question: "What do I need to participate?",
answer:
"DeltaHacks 10 will be in person. Bring in your laptop, reusable water bottle, and prepare to build some amazing projects!",
"DeltaHacks 11 will be in person. Bring in your laptop, reusable water bottle, and prepare to build some amazing projects!",
},
{
question: "Will hardware be provided?",
answer:
"Yes we will have hardware available provided by MLH! Feel free to bring your own hardware if you have the material to include into your hack. ",
"Yes, we will have hardware available provided by MLH! Feel free to bring your own hardware if you have the material to include into your hack. ",
},
{
question: "When will hacker applications be released?",
answer:
"Hacker applications will be released in the First week of November. Follow us on socials to stay up to date and find out as soon as applications open.",
"Hacker applications will be released around McMaster's Reading Week (). Follow us on socials and join our newsletter to stay up to date and find out as soon as applications open.",
},
{
question: "How big can a team be?",
Expand All @@ -82,9 +82,9 @@ const questions: Array<{
"Projects are judged by event sponsors and experts from the tech sector. Projects are presented to judges at the exposition and evaluated on multiple factors such as presentation, creativity, practical application, and originality.",
},
{
question: "What's happening January 12th?",
question: "What's happening January 10th?",
answer:
"Our IN PERSON Hackathon event days are January 13th-14th. Friday the 12th will consist of VIRTUAL Pre Hackathon Events to get you prepped and excited for the main hackathon!! Join us for our Meme Contest & Online Team Match Making, Beginners Guide to Hackathon, A Leetcode Workshop, and end the Night playing games with McMaster Extra Life!",
"Our IN PERSON Hackathon event days are January 11th-12th. Friday the 10th will consist of VIRTUAL Pre Hackathon Events to get you prepped and excited for the main hackathon!!!",
},
];
---
Expand Down
2 changes: 1 addition & 1 deletion src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const { id } = Astro.props;
class="tagline text-xl font-semibold leading-6 tracking-tight text-cyan-900 sm:w-4/5"
>
The annual hackathon for change, taking place at McMaster University
from January 13 to 14, 2024.
from January 11 to 12, 2024.
</p>
</div>

Expand Down
6 changes: 3 additions & 3 deletions src/layouts/main.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@ import "@fontsource/poppins/700.css";
}

<!-- HTML Meta Tags -->
<title>DeltaHacks 10</title>
<title>DeltaHacks</title>
<meta name="description" content="The hackathon for change." />

Comment on lines 27 to 28
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Consider enhancing meta descriptions and dynamically setting image URLs.

While updating the titles, consider the following improvements:

  1. The description meta tag currently uses a generic message. Consider making it more specific to DeltaHacks, possibly including the year or any unique aspects of the current event.

  2. The image meta tags use a static image URL. If the event branding changes yearly, consider implementing a dynamic way to set these URLs, ensuring they always reflect the current event's branding.

Example of a more specific description:

<meta name="description" content="DeltaHacks: The annual hackathon for change at McMaster University. Join us for 24 hours of innovation, coding, and making a difference." />

For dynamic image URLs, consider using a variable or config file to set the current year's image:

<meta property="og:image" content={`https://deltahacks.com/meta-${currentYear}.png`} />

Also applies to: 33-35, 41-43

<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://deltahacks.com/" />
<meta property="og:type" content="website" />
<meta property="og:title" content="DeltaHacks 10" />
<meta property="og:title" content="DeltaHacks" />
<meta property="og:description" content="The hackathon for change." />
<meta property="og:image" content="https://deltahacks.com/meta.png" />

<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:domain" content="deltahacks.com" />
<meta property="twitter:url" content="https://deltahacks.com/" />
<meta name="twitter:title" content="DeltaHacks 10" />
<meta name="twitter:title" content="DeltaHacks" />
<meta name="twitter:description" content="The hackathon for change." />
<meta name="twitter:image" content="https://deltahacks.com/meta.png" />

Expand Down
Loading