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

Tab titles #205

Merged
merged 6 commits into from
Mar 31, 2024
Merged

Tab titles #205

merged 6 commits into from
Mar 31, 2024

Conversation

SheepTester
Copy link
Member

Info

this doesnt fix an issue

it was a bit annoying trying to find a page in my browser history on the current membership portal. giving each page a title

Since we're using Next.JS and SSR, we benefit from being able to set the page title/description on the server side, so they can show up in the website previews on Discord. not that it really matters since pretty much every page

Changes

  • _app now takes a title and description component, which will be passed to SEO to set the page title/description. | ACM UCSD Membership Portal gets appended to the end of these titles, if specified (but maybe we could shorten these to just Page Title | ACM?)
  • added titles to every page except for the home page and login page

Type of Change

  • Bug Fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as
    expected)
  • Logistics Change (A change to a README, description, or dev workflow setup like
    linting/formatting)
  • Continuous Integration Change (Related to deployment steps or continuous integration
    workflows)
  • Other: (Fill In)

Testing

I have tested that my changes fully resolve the linked issue ...

  • locally on Desktop.
  • on the live deployment preview on Desktop.
  • on the live deployment preview on Mobile.
  • I have added new Cypress tests that are passing.

Checklist

  • I have performed a self-review of my own code.
  • I have followed the style guidelines of this project.
  • I have documented any new functions in /src/lib/* and commented hard to understand areas
    anywhere else.
  • My changes produce no new warnings.

Screenshots

image

Pages that did not change:
- The home page
- Login, because that's the website preview that'll show on Discord
- The 404 and 500 pages
Copy link

vercel bot commented Mar 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
membership-portal-ui-v2 🛑 Canceled (Inspect) Mar 31, 2024 1:26am

Copy link
Contributor

@alexzhang1618 alexzhang1618 left a comment

Choose a reason for hiding this comment

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

🔥 🔥 🔥 🔥 🔥 🔥

src/pages/admin/points.tsx Outdated Show resolved Hide resolved
src/pages/about.tsx Outdated Show resolved Hide resolved
@SheepTester SheepTester merged commit a407077 into main Mar 31, 2024
5 checks passed
@SheepTester SheepTester deleted the sean/title branch March 31, 2024 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants