This repository has been archived by the owner on Feb 9, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 768
London class 10-Junita Lama-react module-cyf hotel-week 1/2/3 #586
Open
Junitalama
wants to merge
32
commits into
CodeYourFuture:master
Choose a base branch
from
Junitalama:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
fef7b0c
Exercise 1 to 3
Junitalama 21492f0
Update App.css
Junitalama d388ab2
Update App.css
Junitalama 25576fa
updated
Junitalama 18950dd
Update TouristInfoCards.js
Junitalama 6560f38
Update App.css
Junitalama eb3ff79
Update App.css
Junitalama c946f1d
Update TouristInfoCards.js
Junitalama 26b54d3
Update App.css
Junitalama 1dfa988
Update App.css
Junitalama cc961b1
Update App.css
Junitalama e42ed6c
updated exercise 7
Junitalama 97d86a0
exercise 8
Junitalama 2f391bf
FORMATTED
Junitalama 123de22
Update TouristInfoCards.js
Junitalama 8b696f8
level 2
Junitalama bd96a2e
15
Junitalama c821b78
search bar done
Junitalama c158c75
added cuctomer profile components
Junitalama 839b935
added usestate for search
Junitalama 6e6ae66
added new column and button to show customer profile
Junitalama dd1ee0b
added styling for show profile buuton
Junitalama 0e83935
styling done for show profile
Junitalama b914cc1
added props in customerprofile component
Junitalama 3b77b70
updated and display customer profile
Junitalama 3e16fc3
exercise 21
Junitalama fad679e
updated formatting
Junitalama 6f62c07
formatting
Junitalama 46fe0f5
formatting
Junitalama 87a7bf4
formatting
Junitalama 5fe4c35
loading and error done
Junitalama c8c6cef
formatted
Junitalama File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from "react"; | ||
const Heading = () => { | ||
const name = "CYF HOTEL" | ||
return <header className="App-header"> | ||
<div><img src ="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQMiyT0CsbbuRmEjXFYugoingNpNK51BhAOtg&usqp=CAU" className = "logo"alt = "hotel-logo"></img></div> | ||
<div><h2>{name}</h2></div> | ||
</header> | ||
} | ||
|
||
export default Heading; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import React from "react"; | ||
|
||
const SearchButton = () => { | ||
return <button className = "btn btn-primary">search</button> | ||
} | ||
|
||
export default SearchButton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import React from "react"; | ||
|
||
const TouristInfoCard = () =>{ | ||
return <div class="card"> | ||
<div> | ||
<img src="https://peoplemakeglasgow.com/imager/general/45177/East-End-Glasgow-Cathedral-Image-Block_8dc3bdbc8660ad389ec95cdf9b15d797.jpg" class="card-img-top" alt="glasgow-pic"></img> | ||
<div class="card-body"> | ||
<h5 class="card-title">Glasgow</h5> | ||
<p class="card-text">You’re guaranteed to find accommodation in Glasgow which suits your taste and budget. Whether you’re looking for something uniquely Glaswegian, a trendy hotel, a vibrant hostel or a comfortable city centre apartment, you can be assured of a warm welcome.</p> | ||
<a href="https://peoplemakeglasgow.com/" class="btn btn-primary">MORE INFO</a> | ||
</div></div> | ||
<div> | ||
<img src="https://eu-assets.simpleview-europe.com/manchester2016/imageresizer/?image=%2Fdbimgs%2FManOne-03%284%29.jpg&action=Background_Overlay" class="card-img-top" alt="glasgow-pic"></img> | ||
<div class="card-body"> | ||
<h5 class="card-title">Manchester</h5> | ||
<p class="card-text">Manchester city centre is jam-packed with unique and eclectic restaurants, bars, shops, museums, galleries, hotels and places to stay whilst the surrounding Greater Manchester boroughs offer a patch-work of visitor experiences including quaint market towns, traditional pubs and beautiful green spaces and waterways to be explored on foot or bike. The city region is easily navigated, with great transport links both in and around Greater Manchester..</p> | ||
<a href="https://www.visitmanchester.com/" class="btn btn-primary">MORE INFO</a> | ||
</div></div> | ||
<div> | ||
<img src="https://cdn-lnp.dataweavers.io/-/media/images/london/visit/things-to-do/sightseeing/london-attractions/coca-cola-london-eye/the-london-eye-2-640x360.jpg?rev=95097c3d2aab47109d7b0e944c804d1b?mw=640&hash=EA6D4D5963997B5F368154E65A7FA187" class="card-img-top" alt="glasgow-pic"></img> | ||
<div class="card-body"> | ||
<h5 class="card-title">London</h5> | ||
<p class="card-text">Welcome to London! Discover the best of London with Visit London, the official guide to England’s exciting capital. Find things to do in London, from iconic sightseeing spots and fun-filled days out to top restaurants, theatre and unmissable London events. If you’re not able to visit just yet, plan ahead to make the most of your next visit.</p> | ||
<a href="https://www.visitlondon.com/" class="btn btn-primary">MORE INFO</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
} | ||
|
||
export default TouristInfoCard; |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In React, we can convert all instances of 'class' to 'className'. Can you think why we can't use the word 'class' as an attribute?