Skip to content

It resolves #7 #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
6 changes: 3 additions & 3 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}

.services {
background-image: url('/images/img-2.jpg');
background-image: url('../src/images/img-2.jpg');
background-position: center;
background-size: cover;
background-repeat: no-repeat;
Expand All @@ -26,7 +26,7 @@
}

.products {
background-image: url('/images/img-1.jpg');
background-image: url('../src/images/img-1.jpg');
background-position: center;
background-size: fill;
background-repeat: no-repeat;
Expand All @@ -35,7 +35,7 @@
}

.sign-up {
background-image: url('/images/img-8.jpg');
background-image: url('../src/images/img-8.jpg');
background-position: center;
background-size: cover;
background-repeat: no-repeat;
Expand Down
16 changes: 11 additions & 5 deletions src/components/Cards.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import React from 'react';
import './Cards.css';
import CardItem from './CardItem';
import image9 from '../images/img-9.jpg'
import image2 from '../images/img-2.jpg'
import image3 from '../images/img-3.jpg'
import image4 from '../images/img-4.jpg'
import image8 from '../images/img-8.jpg'


function Cards() {
return (
Expand All @@ -10,33 +16,33 @@ function Cards() {
<div className='cards__wrapper'>
<ul className='cards__items'>
<CardItem
src='images/img-9.jpg'
src= { image9 }
text='Explore the hidden waterfall deep inside the Amazon Jungle'
label='Adventure'
path='/services'
/>
<CardItem
src='images/img-2.jpg'
src= {image2}
text='Travel through the Islands of Bali in a Private Cruise'
label='Luxury'
path='/services'
/>
</ul>
<ul className='cards__items'>
<CardItem
src='images/img-3.jpg'
src={image3}
text='Set Sail in the Atlantic Ocean visiting Uncharted Waters'
label='Mystery'
path='/services'
/>
<CardItem
src='images/img-4.jpg'
src={image4}
text='Experience Football on Top of the Himilayan Mountains'
label='Adventure'
path='/products'
/>
<CardItem
src='images/img-8.jpg'
src= {image8}
text='Ride through the Sahara Desert on a guided camel tour'
label='Adrenaline'
path='/sign-up'
Expand Down
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
File renamed without changes
File renamed without changes