-
Notifications
You must be signed in to change notification settings - Fork 3
[NextJS] Load correct font and a few other global things #1583
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
Conversation
1a77912 to
bc9b418
Compare
98d37de to
9bab4f4
Compare
shanbady
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approving - pending conflict resolution with nextjs
shanbady
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems the frontend doesnt come up in a codespace. its possible that some of the env variables need to get added to the env/codespaces.env
6bca115 to
3c6099e
Compare
Probably is env var issue. I think this is worth fixing, but we should handle it in a separate PR. |
shanbady
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll create a separate issue for getting the codespaces to work. I'm guessing some of it may have to do with the hostname settings etc
3c6099e to
f08d8f9
Compare
* load adobe font * add noindex based on MITOL_NOINDEX * add appzi script * validate env * comment, fix ci * build nextjs for production
* load adobe font * add noindex based on MITOL_NOINDEX * add appzi script * validate env * comment, fix ci * build nextjs for production
* load adobe font * add noindex based on MITOL_NOINDEX * add appzi script * validate env * comment, fix ci * build nextjs for production
What are the relevant tickets?
Closes https://github.com/mitodl/hq/issues/5473
Description (What does it do?)
This PR:
NEXT_PUBLIC_APPZI_URL.How can this be tested?
View any page in the app and inspect text. Check that the Neue Haas Grotesk font is being used.
In your env file, set
NEXT_PUBLIC_APPZI_URL="https://w.appzi.io/w.js?token=Q2pSI"(this is not a secret env var, hence NEXT_PUBLIC and client side availability). Restart NextJS / Docker. The Appzi feedback form should appear on enter-right, just like prod.Set
MITOL_NOINDEX=truein your env file. and restart NextJS / Docker. The site should now include a noindex tag in<head>