update to background components
This commit is contained in:
parent
a7487f4864
commit
4f1128e27a
@ -3,15 +3,19 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: black;
|
background: #18191a;
|
||||||
padding: 1rem 2rem;
|
padding: 1rem 2rem;
|
||||||
color: white;
|
color: white;
|
||||||
|
font-size: large;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar_logo{
|
.navbar_logo>img{
|
||||||
display: flex;
|
display: block;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
background-color: #18191a;
|
||||||
|
max-width: 150px;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar_logo>img{
|
.navbar_logo>img{
|
||||||
@ -32,7 +36,7 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.navbar_links>li:hover{
|
.navbar_links>li:hover{
|
||||||
color: var(--color-grey);
|
border-bottom: 1px solid #B3121E;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar_login{
|
.navbar_login{
|
||||||
@ -43,15 +47,14 @@
|
|||||||
.navbar_login>a{
|
.navbar_login>a{
|
||||||
margin: 0 1rem;
|
margin: 0 1rem;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: 0.5s ease;
|
|
||||||
}
|
}
|
||||||
.navbar_login>a:hover{
|
.navbar_login>a:hover{
|
||||||
border-bottom: 1px solid var(--color-golden);
|
border-bottom: 1px solid #B3121E;
|
||||||
}
|
}
|
||||||
.navbar_login>div{
|
.navbar_login>div{
|
||||||
width: 1px;
|
width: 1px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background-color: var(--color-grey);
|
background-color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Small Screen layout */
|
/* Small Screen layout */
|
||||||
@ -65,7 +68,7 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background-color: black;
|
background-color: #18191a;
|
||||||
transition: 0.5s ease;
|
transition: 0.5s ease;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
|
|||||||
@ -10,7 +10,7 @@ const Navbar = () => {
|
|||||||
return (
|
return (
|
||||||
<nav className="app_navbar">
|
<nav className="app_navbar">
|
||||||
<div className="navbar_logo">
|
<div className="navbar_logo">
|
||||||
<img src="jefes_logo.jpg" alt=""/>
|
<img src="logo.svg" alt="" />
|
||||||
</div>
|
</div>
|
||||||
<ul className="navbar_links">
|
<ul className="navbar_links">
|
||||||
<li className="p_opensans"><a href="#home">Home</a></li>
|
<li className="p_opensans"><a href="#home">Home</a></li>
|
||||||
|
|||||||
@ -1,11 +1,12 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import {PiCookingPotFill} from 'react-icons/pi'
|
import {PiCookingPotFill} from 'react-icons/pi'
|
||||||
|
|
||||||
|
|
||||||
const SubHeading = ({title}) => {
|
const SubHeading = ({title}) => {
|
||||||
return (
|
return (
|
||||||
<div style={{marginBottom:'1rem'}}>
|
<div style={{marginBottom:'1rem'}}>
|
||||||
<p className="p_cormorant">{title}</p>
|
<p className="p_cormorant">{title}</p>
|
||||||
<PiCookingPotFill/>
|
<PiCookingPotFill className='spoon_img'/>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,4 @@
|
|||||||
|
.app_aboutus{
|
||||||
|
background-color: #18191a;
|
||||||
|
|
||||||
|
}
|
||||||
@ -13,6 +13,11 @@ const AboutUs = () => {
|
|||||||
<h1 className="headtext_cormorant">About Us</h1>
|
<h1 className="headtext_cormorant">About Us</h1>
|
||||||
<PiCookingPotFill/>
|
<PiCookingPotFill/>
|
||||||
<p className="p_opensans">jflasjfuuhhgduiahdsajkfnaslfnsaieoljw</p>
|
<p className="p_opensans">jflasjfuuhhgduiahdsajkfnaslfnsaieoljw</p>
|
||||||
|
<button className="custom_button">Learn More</button>
|
||||||
|
</div>
|
||||||
|
<div className="app_aboutus_content_knife flex_center">
|
||||||
|
<img src="IMG_1114.webp" alt="" />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,11 +1,19 @@
|
|||||||
.app_header{
|
.app_header{
|
||||||
background-color: black;
|
background-color: #18191a;
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header_sectioner{
|
||||||
|
-webkit-transform: scaleX(-1);
|
||||||
|
transform: scaleX(-1);
|
||||||
|
}
|
||||||
|
|
||||||
.app_header_h1{
|
.app_header_h1{
|
||||||
font-family: var(--font-base);
|
font-family: var(--font-base);
|
||||||
color: var(--color-golden);
|
color: white;
|
||||||
letter-spacing: 0.04em;
|
letter-spacing: 0.04em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
text-align: center;
|
||||||
line-height: 117px;
|
line-height: 117px;
|
||||||
font-size: 90px;
|
font-size: 90px;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import SubHeading from '../../components/SubHeading/SubHeading'
|
import SubHeading from '../../components/SubHeading/SubHeading'
|
||||||
|
import './Header.css'
|
||||||
|
|
||||||
const Header = () => {
|
const Header = () => {
|
||||||
return (
|
return (
|
||||||
<div className="app_header app_wrapper section_padding">
|
<div className="app_header app_wrapper section_padding" id='home'>
|
||||||
<div className="app_wrapper_info">
|
<div className="app_wrapper_info">
|
||||||
<SubHeading title="Chase the new flavor"/>
|
<h1 className="app_header_h1">Authentic Mexican Cuisine</h1>
|
||||||
<h1 className="app_header_h1">The Key to Fine Dining</h1>
|
<img src="gun01.svg" alt="" className='header_sectioner'/>
|
||||||
<p className="p_opensans" style={{margin: '2rem 0'}}>Jefe's Mexican Cocina Y Cantina serves the best Mexican food in town. Be our guests and have an enjoyable experience with an authentic Mexican meal right here in Broken Arrow, OK.</p>
|
<p className="p_opensans" style={{margin: '2rem 0'}}>Jefe's Mexican Cocina Y Cantina serves the best Mexican food in town. Be our guests and have an enjoyable experience with an authentic Mexican meal right here in Broken Arrow, OK.</p>
|
||||||
<button type='button' className="custom_button">Explore Menu</button>
|
<button type='button' className="custom_button">Explore Menu</button>
|
||||||
</div>
|
</div>
|
||||||
@ -15,7 +15,6 @@ const Header = () => {
|
|||||||
<img src="img01.webp" alt="" />
|
<img src="img01.webp" alt="" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user