File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { socialLinks } from "../data";
4
4
const Hero = ( ) => {
5
5
return (
6
6
< section className = "bg-emerald-100" >
7
- < div className = "mx-auto grid max-w-7xl gap-y-8 px -8 py-24 md:grid-cols-2 md:items-center" >
7
+ < div className = "align-element grid gap-y-8 py-24 md:grid-cols-2 md:items-center" >
8
8
{ /* Info */ }
9
9
< article >
10
10
< h1 className = "text-7xl font-bold tracking-wider" > { "I'm Praveen" } </ h1 >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { navLinks } from "../data";
3
3
const Navbar = ( ) => {
4
4
return (
5
5
< nav className = "bg-emerald-100" >
6
- < div className = "mx-auto flex max-w-7xl flex-col px-8 py-4 sm:flex-row sm:items-center sm:gap-x-16 sm:py-8" >
6
+ < div className = "align-element flex flex-col py-4 sm:flex-row sm:items-center sm:gap-x-16 sm:py-8" >
7
7
< h2 className = "text-3xl font-bold" >
8
8
Web< span className = "text-emerald-600" > Dev</ span >
9
9
</ h2 >
Original file line number Diff line number Diff line change 1
1
@tailwind base;
2
2
@tailwind components;
3
3
@tailwind utilities;
4
+
5
+ @layer components {
6
+ .align-element {
7
+ @apply mx-auto max-w-7xl px-8;
8
+ }
9
+ }
You can’t perform that action at this time.
0 commit comments