Skip to content

Commit

Permalink
Edits for mobile (nav, hero sections)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kawtar Choubari committed Sep 7, 2023
1 parent dd9cdb2 commit 11a02d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/home/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ export default function Hero() {
return (
<div className="flex flex-col md:flex-row justify-between gap-10 pt-12 pb-44 md:pt-32 mx-8 md:px-20">
<div className="md:basis-7/12 pr-16">
<h1 className="text-5xl pb-10 font-serif font-bold leading-tight">
<h1 className="text-5xl pb-5 md:pb-10 font-serif font-bold leading-tight">
<span className="text-accent">Coding</span> &
<span className="text-accent"> Storytelling</span>:
<br />
That's what I do!
</h1>
<div className="flex flex-wrap mb-8">
<div className="flex flex-wrap mb-6 md:mb-8">
<code className="bg-blue-300 p-1.5 mr-2 my-1 rounded-sm font-medium text-dark">
Engineering
</code>
Expand Down
3 changes: 1 addition & 2 deletions components/nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export function Nav() {
</button>
</div>
</div>

<div
id="navbar-multi-level"
className={`pb-3 mt-4 md:block md:pb-0 md:mt-0 ${
Expand All @@ -79,7 +78,7 @@ export function Nav() {
} font-bold text-xl hover:text-darker dark:hover:text-light`}
key={link.label}
>
<Link href={link.href}>
<Link href={link.href} onClick={() => setNavbar(false)}>
{link.label}
<span
className={`text-4xl leading-3 ${
Expand Down

0 comments on commit 11a02d5

Please sign in to comment.