File tree Expand file tree Collapse file tree 3 files changed +9
-12
lines changed Expand file tree Collapse file tree 3 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -6,20 +6,20 @@ const Hero = () => {
6
6
< >
7
7
8
8
< section
9
- id = "hero"
9
+ id = "hero"
10
10
className = "flex w-full pt-12 mx-auto mt-24 bg-right bg-cover md:pt-0 md:items-center"
11
11
>
12
12
< div className = "container mx-auto" >
13
13
< div className = "flex flex-col items-start justify-center w-full px-6 tracking-wide lg:w-1/2" >
14
- < h1 className = "my-4 text-2xl text-black" >
15
- Stripete Zig Zag Jigsaw Pute Sett
14
+ < h1 className = "p-4 my-4 text-2xl text-white bg- black rounded-lg " >
15
+ Stripete Zig Zag Pute Sett
16
16
</ h1 >
17
17
18
18
< a
19
- className = "inline-block px-6 py-3 text-xl leading-relaxed uppercase border border-gray-600 border-solid hover:underline"
19
+ className = "inline-block px-6 py-3 text-xl leading-relaxed text-white uppercase bg-black rounded-lg hover:underline"
20
20
href = "#"
21
21
>
22
- Kjøp Nå
22
+ se utvalget
23
23
</ a >
24
24
</ div >
25
25
</ div >
Original file line number Diff line number Diff line change 2
2
@tailwind components;
3
3
4
4
# hero {
5
- background-image : url ('https://images.unsplash.com/photo-1422190441165-ec2956dc9ecc?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80' );
6
- /*max-width: 1050px;*/
7
- height : 24rem ;
5
+ /*background-image: url('https://images.unsplash.com/photo-1422190441165-ec2956dc9ecc?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80');*/
6
+ background-image : url ("../public/images/hero.jpg" );
7
+ height : 385px ;
8
+ /*height: 24rem;*/
8
9
}
9
10
10
11
# mobile-menu {
23
24
margin-top : -20px ;
24
25
}
25
26
26
- # product-container {
27
- /* max-width: 1000px;*/
28
- }
29
-
30
27
/* Fix for annoying CSS bug with NavBar moving slightly on front page only */
31
28
/*@media only screen and (min-width: 769px) {*/
32
29
You can’t perform that action at this time.
0 commit comments