vibey icon indicating copy to clipboard operation
vibey copied to clipboard

[FEATURE]: Dynamic Page Titles for Consistency

Open s2sharpit opened this issue 1 year ago • 4 comments

Detailed description

Currently, the homepage title is set as "Vibey," but when navigating to other pages, the title remains the same, lacking the necessary context. To enhance user experience and maintain consistency, it would be beneficial to dynamically update the page titles across the website.

Context

Benefits:

  1. Improved User Experience: Dynamic page titles give users a clear understanding of their current location within the website.
  2. Consistent Branding: By appending "Vibey" to each page's title, we reinforce the brand and maintain a cohesive identity.
  3. SEO Optimization: Dynamic page titles with relevant keywords can positively impact search engine rankings, enhancing the website's visibility.

Possible implementation

No response

Additional information

Let's work together to enhance the website's usability and branding by implementing this simple yet effective improvement.

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

s2sharpit avatar Jul 28 '23 07:07 s2sharpit

To reduce notifications, issues are locked. Your issue will be unlock when we will add label as status: ready for dev. Check out the contributing guide for more information.

github-actions[bot] avatar Jul 28 '23 07:07 github-actions[bot]

@s2sharpit how will you update page title dynamically? Please tell me more with one example.

Deepu178 avatar Aug 03 '23 09:08 Deepu178

To update the page title dynamically in Next.js, we can use the Head component from next/head.

For the homepage, we want the title to be set to 'Vibey'. However, on other pages, we'll follow the format <page title> - Vibey to ensure a consistent branding experience.

Here's an example of how we can achieve this:

import Head from 'next/head';

function IndexPage() {
  return (
    <div>
      <Head>
        <title>Vibey</title>
      </Head>
      <p>Hello world!</p>
    </div>
  );
}

export default IndexPage;

s2sharpit avatar Aug 03 '23 09:08 s2sharpit

Assigned @s2sharpit Good luck

Deepu178 avatar Aug 08 '23 06:08 Deepu178