Need help making the Navbar responsive

The code: https://stackblitz.com/edit/github-ahneo9h2 The page is /playground I need to remove the ols entirely, I guess? Can someone help me do that?
4 Replies
13eck
13eck2w ago
Not sure about responsiveness, but src/layouts/Base.astro on line 40, your small font size is broken:
--fonts-sm: clamp(0.89rem, 0cqi + 0.89rem, 0.89rem);
--fonts-sm: clamp(0.89rem, 0cqi + 0.89rem, 0.89rem);
Clamping between 0.89rem and 0.89rem? Either you missed a number in the max or the font size should just be 0.89rem.
Lofty!
Lofty!OP2w ago
well I copied that from a calculator.. I'll go back and fix that. Thanks beck!
13eck
13eck2w ago
There is an error while building the site, though, so I can't see what it currently looks like, only read the code. And I'm not Astro expert…
The following environment variables defined in `env.schema` are invalid:

- OGP_SITENAME is missing
The following environment variables defined in `env.schema` are invalid:

- OGP_SITENAME is missing
Lofty!
Lofty!OP2w ago
well crap. Uh, There needs to be a .env file with OGP_SITENAME = "something" not sure why it wasn't in what I shared..

Did you find this page helpful?