Skip to content

Commit

Permalink
💄 update mobile nav to be glassmorphism
Browse files Browse the repository at this point in the history
  • Loading branch information
satnaing committed Aug 11, 2022
1 parent 066c07e commit cdcd91e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const Header: React.FC = () => {
</div>
</div>

<nav className="fixed md:hidden bottom-4 z-30 left-1/2 transform -translate-x-1/2 bg-bglight dark:bg-carddark dark:text-textlight w-11/12 rounded drop-shadow-lg">
<nav className="fixed glassmorphism md:hidden bottom-4 z-30 left-1/2 transform -translate-x-1/2 bg-bglight dark:bg-carddark dark:text-textlight w-11/12 rounded drop-shadow-lg">
<ul className="flex justify-evenly items-center py-1">
{navLinks.map((navLink) => (
<li key={navLink.url}>
Expand Down
2 changes: 1 addition & 1 deletion components/blog/BlogHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const BlogHeader: React.FC = () => {
</div>
</div>

<nav className="fixed md:hidden bottom-4 z-30 left-1/2 transform -translate-x-1/2 bg-bglight dark:bg-carddark dark:text-textlight w-11/12 rounded drop-shadow-lg">
<nav className="fixed glassmorphism md:hidden bottom-4 z-30 left-1/2 transform -translate-x-1/2 bg-bglight dark:bg-carddark dark:text-textlight w-11/12 rounded drop-shadow-lg">
<ul className="flex justify-evenly items-center py-1">
{navLinks.map((navLink) => (
<li key={navLink.url}>
Expand Down

1 comment on commit cdcd91e

@vercel
Copy link

@vercel vercel bot commented on cdcd91e Aug 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sat-naing-portfolio – ./

sat-naing-portfolio-git-main-satnaing.vercel.app
sat-naing-portfolio-satnaing.vercel.app
satnaing.vercel.app

Please sign in to comment.