Skip to content

Commit

Permalink
change customer -> buyer
Browse files Browse the repository at this point in the history
  • Loading branch information
huhn511 committed Apr 11, 2019
1 parent d998e88 commit 750a7c4
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions src/Components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import Footer from './Footer'
import Home from './Pages/Home'
import Shop from './Pages/Shop'
import Delivery from './Pages/Delivery'
import Customer from './Pages/Customer'
import Buyer from './Pages/Buyer'
import Imprint from './Pages/Imprint'


Expand All @@ -42,7 +42,7 @@ export default class extends Component {
<Route exact path='/' component={Home} />
<Route path='/shop' component={Shop} exact />
<Route path='/delivery' component={Delivery} exact />
<Route path='/customer' component={Customer} exact />
<Route path='/buyer' component={Buyer} exact />
<Route path='/imprint' component={Imprint} exact />
</Switch>
<Footer />
Expand Down
6 changes: 3 additions & 3 deletions src/Components/Navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ export default class extends Component {
>Delivery
</Link>
<Link
to="/customer"
to="/buyer"
scroll={el => el.scrollIntoView({ behavior: 'smooth', block: 'start' })}
className={`${this.props.location.pathname === '/customer' ? 'active' : ''} nav-item`}
>Customer
className={`${this.props.location.pathname === '/buyer' ? 'active' : ''} nav-item`}
>Buyer
</Link>
</div>
</nav>
Expand Down
20 changes: 10 additions & 10 deletions src/Components/Pages/Customer.js → src/Components/Pages/Buyer.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@ export default class extends Component {
}

const heroSmallData = {
id: 'customer-hero',
background_url: '../assets/heros/customer_hero.jpg',
id: 'buyer-hero',
background_url: '../assets/heros/buyer_hero.jpg',
avatar: true,
avatar_url: '../assets/avatars/customer-circled.jpg'
avatar_url: '../assets/avatars/buyer-circled.jpg'
}
const videoPromoData = {
id: 'customer-promo',
title: 'Customer',
id: 'buyer-promo',
title: 'Buyer',
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
}
const shopData = {
id: 'shop',
border: true,
background: 'white',
image_type: 'mobile',
image_path: '../assets/mockups/customer/shop_cart.jpg',
image_path: '../assets/mockups/buyer/shop_cart.jpg',
image_right: true,
title: 'Shop',
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
Expand Down Expand Up @@ -68,7 +68,7 @@ const productData = {
border: true,
background: 'white',
image_type: 'mobile',
image_path: '../assets/mockups/customer/product.jpg',
image_path: '../assets/mockups/buyer/product.jpg',
image_right: false,
title: 'Product',
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
Expand Down Expand Up @@ -99,7 +99,7 @@ const cartData = {
border: true,
background: 'white',
image_type: 'mobile',
image_path: '../assets/mockups/customer/cart.jpg',
image_path: '../assets/mockups/buyer/cart.jpg',
image_right: true,
title: 'Cart',
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
Expand Down Expand Up @@ -130,7 +130,7 @@ const paymentData = {
border: true,
background: 'white',
image_type: 'mobile',
image_path: '../assets/mockups/customer/payment.jpg',
image_path: '../assets/mockups/buyer/payment.jpg',
image_right: false,
title: 'Payment',
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
Expand Down Expand Up @@ -161,7 +161,7 @@ const deliveryData = {
border: true,
background: 'white',
image_type: 'mobile',
image_path: '../assets/mockups/customer/confirm_delivery.jpg',
image_path: '../assets/mockups/buyer/confirm_delivery.jpg',
image_right: true,
title: 'Delivery',
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
Expand Down
File renamed without changes

0 comments on commit 750a7c4

Please sign in to comment.