trypear / pear-landing-page

Landing page for PearAI, the Open Source AI-Powered Code Editor
https://trypear.ai
19 stars 31 forks source link

Navbar styling changes #82

Closed Ellahinator closed 3 days ago

Ellahinator commented 1 week ago

I decided to make some changes to the navbar as I believe it is too big and not a big fan of the gradient background. I gained inspiration from Apple's navbar: image

Changes:

  1. Removed gradient bg
  2. Height smaller
  3. Fixed the Pear Logo SVG removing awkward empty space
  4. Font smaller
  5. Increased bg blur
  6. Using secondary colors instead of gray
  7. Centered Hamburger icon on mobile
  8. Added small shadow

Desktop

Before: image After: image

Mobile

Before: image After: image

also was facing a weird lint error on a bunch of files preventing deployment so I had to make a minor change to eslintrc.json

...
62:10  Error: Delete `␍`  prettier/prettier
63:1  Error: Delete `␍`  prettier/prettier
64:46  Error: Delete `␍`  prettier/prettier
65:18  Error: Delete `␍`  prettier/prettier
66:16  Error: Delete `␍`  prettier/prettier
67:22  Error: Delete `␍`  prettier/prettier
68:32  Error: Delete `␍`  prettier/prettier
69:29  Error: Delete `␍`  prettier/prettier
70:38  Error: Delete `␍`  prettier/prettier
71:10  Error: Delete `␍`  prettier/prettier
72:5  Error: Delete `␍`  prettier/prettier
73:3  Error: Delete `␍`  prettier/prettier
...
vercel[bot] commented 1 week ago

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

Name Status Preview Comments Updated (UTC)
pear-landing-page ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 1:52am
pear-landing-page-uwmp ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 1:52am
vercel[bot] commented 1 week ago

@Ellahinator is attempting to deploy a commit to the PearAI Team on Vercel.

A member of the Team first needs to authorize it.