Skip to content

Instantly share code, notes, and snippets.

@brennerhaverlock
Created October 13, 2021 19:15
Show Gist options
  • Select an option

  • Save brennerhaverlock/2b49b9de15196d5943bf92618f702b50 to your computer and use it in GitHub Desktop.

Select an option

Save brennerhaverlock/2b49b9de15196d5943bf92618f702b50 to your computer and use it in GitHub Desktop.
const LoginPage = () => {
const logo = "/assets/images/no-placeholder/logo.png"
return (
<Fragment>
<Head>
<title>Login - [Store Name] </title>
</Head>
@brennerhaverlock
Copy link
Author

I'd like to change the title element based on another page that contains the user's input for "Store Name". I'm somewhat new to JS, is there a easy way to do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment