Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributes+10
- Airbnb-Clone/.firebase/hosting.YnVpbGQ.cacheAdded+18
- Airbnb-Clone/.firebasercAdded+5
- Airbnb-Clone/.gitignoreAdded+23
- Airbnb-Clone/README.mdAdded+68
- Airbnb-Clone/firebase.jsonAdded+16
- Airbnb-Clone/package-lock.jsonAdded
- Airbnb-Clone/package.jsonAdded+43
- Airbnb-Clone/public/favicon.icoAdded
- Airbnb-Clone/public/index.htmlAdded+43
- Airbnb-Clone/public/manifest.jsonAdded+25
- Airbnb-Clone/public/robots.txtAdded+3
- Airbnb-Clone/src/App.cssAdded
- Airbnb-Clone/src/App.jsAdded+31
- Airbnb-Clone/src/Banner.cssAdded+44
- Airbnb-Clone/src/Banner.jsAdded+24
- Airbnb-Clone/src/Card.cssAdded+34
- Airbnb-Clone/src/Card.jsAdded+17
- Airbnb-Clone/src/Footer.cssAdded+11
- Airbnb-Clone/src/Footer.jsAdded+13
- Airbnb-Clone/src/Header.cssAdded+42
- Airbnb-Clone/src/Header.jsAdded+35
- Airbnb-Clone/src/Home.cssAdded+4
- Airbnb-Clone/src/Home.jsAdded+52
- Airbnb-Clone/src/Search.cssAdded+47
- Airbnb-Clone/src/Search.jsAdded+38
- Airbnb-Clone/src/SearchPage.cssAdded+15
- Airbnb-Clone/src/SearchPage.jsAdded+86
- Airbnb-Clone/src/SearchResult.cssAdded+71
- Airbnb-Clone/src/SearchResult.jsAdded+45
- Airbnb-Clone/src/index.cssAdded+16
- Airbnb-Clone/src/index.jsAdded+17
- Airbnb-Clone/src/reportWebVitals.jsAdded+13
- Airbnb_clone/.firebase/hosting.YnVpbGQ.cacheAdded+20
- Airbnb_clone/.firebasercAdded+5
- Airbnb_clone/.gitignoreAdded+23
- Airbnb_clone/README.mdAdded+70
- Airbnb_clone/firebase.jsonAdded+16
- Airbnb_clone/package-lock.jsonAdded
- Airbnb_clone/package.jsonAdded+39
- Airbnb_clone/public/favicon.icoAdded
- Airbnb_clone/public/index.htmlAdded+43
- Airbnb_clone/public/logo192.pngAdded
- Airbnb_clone/public/logo512.pngAdded
- Airbnb_clone/public/manifest.jsonAdded+25
- Airbnb_clone/public/robots.txtAdded+3
- Airbnb_clone/src/App.cssAdded
- Airbnb_clone/src/App.jsAdded+49
- Airbnb_clone/src/Banner.cssAdded+45
- Airbnb_clone/src/Banner.jsAdded+31
96 unmodified lines97989996 unmodified lineswp-calypso/desktop/resource/icon.icns filter=lfs diff=lfs merge=lfs -textwp-calypso/desktop/resource/icon.ico filter=lfs diff=lfs merge=lfs -textwp-calypso/test/e2e/image-uploads/test-unsupported-file-01.mkv filter=lfs diff=lfs merge=lfs -text96 unmodified lines97989910010110210310410510610710810996 unmodified lineswp-calypso/desktop/resource/icon.icns filter=lfs diff=lfs merge=lfs -textwp-calypso/desktop/resource/icon.ico filter=lfs diff=lfs merge=lfs -textwp-calypso/test/e2e/image-uploads/test-unsupported-file-01.mkv filter=lfs diff=lfs merge=lfs -textSpotify-clone/src/Spotify_Font_Font_Family_Fontmirror/Circular/Circular/CircularStd-Light[[:space:]]Italic.otf filter=lfs diff=lfs merge=lfs -textamazon-clone-react/public/favicon.ico filter=lfs diff=lfs merge=lfs -textmovies/public/fonts/InterVariable/Inter-Black.woff2 filter=lfs diff=lfs merge=lfs -textmovies/public/fonts/InterVariable/Inter-Bold.woff2 filter=lfs diff=lfs merge=lfs -textmovies/public/fonts/InterVariable/Inter-ExtraBold.woff2 filter=lfs diff=lfs merge=lfs -textmovies/public/fonts/InterVariable/Inter-Medium.woff2 filter=lfs diff=lfs merge=lfs -textmovies/public/fonts/InterVariable/Inter-Regular.woff2 filter=lfs diff=lfs merge=lfs -textmovies/public/fonts/InterVariable/Inter-SemiBold.woff2 filter=lfs diff=lfs merge=lfs -textroseflix/public/videos/cinematic.m4v filter=lfs diff=lfs merge=lfs -textyoutube-clone/public/favicon.ico filter=lfs diff=lfs merge=lfs -text
123456789101112131415161718favicon.ico,1604301206157,eae62e993eb980ec8a25058c39d5a51feab118bd2100c4deebb2a9c158ec11f9manifest.json,1604301206157,5c997de1364b8be939319fa9209abd77f2caf7f8844999a9e2e9173f844e7840robots.txt,1604301206157,b2090cf9761ef60aa06e4fab97679bd43dfa5e5df073701ead5879d7c68f1ec5asset-manifest.json,1604309269585,d2bf24474addef27f9b716e64bebaa5ec5262bce85cbc3d9dcf0747412c2811bindex.html,1604309269585,88be8b2f023c78072234dce952ab1198d3a9af944245347f3f9a5c7205649941static/css/2.06382735.chunk.css,1604309269591,5cda2e5e88bb352b4b3497348f745b31a10ddbb394484d2540c4d110fa467137static/css/main.8b02f555.chunk.css,1604309269585,7fe2335c4bfd8b21a41b2efc030322f7450793ed15ada5f3650a4d4b02d20373static/js/2.bd616622.chunk.js.LICENSE.txt,1604309269591,4f24375b733919dbb38eb374c4528270cbba14083b03ea33112bf217373d25abstatic/css/main.8b02f555.chunk.css.map,1604309269591,52b5b133c6493189bce7dd4e1beaf4c48830b04fe31101899f760d9283b74a2fstatic/js/3.958dbca3.chunk.js,1604309269591,466974489fe2e6192a3556022d906f53a0999b4277c25b985b42342c4ac9d174static/css/2.06382735.chunk.css.map,1604309269591,ee8dbc3fa361ed807df2c7ce72dda8bd3de9955486a4d9533c80af70817cfd35static/js/3.958dbca3.chunk.js.map,1604309269592,0b0ebb9fde8fca52e81c8747df6a5a568709af0f4b02807889faf244291bea74static/js/main.4007068b.chunk.js,1604309269586,9b9f91552789d8a503668da2c8522f8740f7b3b5766fe084d909e2d1886a9b8fstatic/js/runtime-main.411a7838.js,1604309269591,2fd08b834054564225e6495dfb3287e119913be1163d23e1b7edda48a52c0280static/js/main.4007068b.chunk.js.map,1604309269591,7c7b0bff80e7242fe3e6a40515db762b4a307efc93ce2fd85c338942207a4374static/js/runtime-main.411a7838.js.map,1604309269591,39d6f2d2fae946db57027a9ff987a7d65f9bd653512c5e57bf58d9c41db139c1static/js/2.bd616622.chunk.js,1604309269591,91f9899b99be917d943f414d004cbda9834ceed4e29bb86d78975967f8e28b5dstatic/js/2.bd616622.chunk.js.map,1604309269592,7966114545aec199f95026a9a2853d2a096e046d661c041bb9b1a879b4539cad12345{ "projects": { "default": "vistrit-airbnb" }}1234567891011121314151617181920212223# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies/node_modules/.pnp.pnp.js
# testing/coverage
# production/build
# misc.DS_Store.env.local.env.development.local.env.test.local.env.production.local
npm-debug.log*yarn-debug.log*yarn-error.log*1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768# Deployed at https://vistrit-airbnb.web.app/
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.\You will also see any lint errors in the console.
### `npm test`
Launches the test runner in the interactive watch mode.\See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `npm run build`
Builds the app for production to the `build` folder.\It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
### Analyzing the Bundle Size
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
### Making a Progressive Web App
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
### Advanced Configuration
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
### Deployment
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
### `npm run build` fails to minify
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)12345678910111213141516{ "hosting": { "public": "build", "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ], "rewrites": [ { "source": "**", "destination": "/index.html" } ] }}12345678910111213141516171819202122232425262728293031323334353637383940414243{ "name": "airbnb-clone", "version": "0.1.0", "private": true, "dependencies": { "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "@testing-library/jest-dom": "^5.11.5", "@testing-library/react": "^11.1.0", "@testing-library/user-event": "^12.1.10", "date-fns": "^2.16.1", "react": "^17.0.1", "react-date-range": "^1.1.3", "react-dom": "^17.0.1", "react-router-dom": "^5.2.0", "react-scripts": "4.0.0", "web-vitals": "^0.2.4" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }}12345678910111213141516171819202122232425262728293031323334353637383940414243<!DOCTYPE html><html lang="en"> <head> <meta charset="utf-8" /> <link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="theme-color" content="#000000" /> <meta name="description" content="Web site created using create-react-app" /> <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> <!-- manifest.json provides metadata used when your web app is installed on a user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ --> <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> <!-- Notice the use of %PUBLIC_URL% in the tags above. It will be replaced with the URL of the `public` folder during the build. Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> <title>Vistrit's airbnb</title> </head> <body> <noscript>You need to enable JavaScript to run this app.</noscript> <div id="root"></div> <!-- This HTML file is a template. If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file. The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`. To create a production bundle, use `npm run build` or `yarn build`. --> </body></html>12345678910111213141516171819202122232425{ "short_name": "React App", "name": "Create React App Sample", "icons": [ { "src": "favicon.ico", "sizes": "64x64 32x32 24x24 16x16", "type": "image/x-icon" }, { "src": "logo192.png", "type": "image/png", "sizes": "192x192" }, { "src": "logo512.png", "type": "image/png", "sizes": "512x512" } ], "start_url": ".", "display": "standalone", "theme_color": "#000000", "background_color": "#ffffff"}123# https://www.robotstxt.org/robotstxt.htmlUser-agent: *Disallow:12345678910111213141516171819202122232425262728293031import React from 'react';import './App.css';import Home from './Home'import Header from './Header'import Footer from './Footer'import SearchPage from './SearchPage'
import { BrowserRouter as Router, Switch, Route } from "react-router-dom";
function App() { return ( <div className="app"> <Router> <Header /> <Switch> <Route path="/search"> <SearchPage /> </Route> <Route path="/"> <Home /> </Route> </Switch> <Footer /> </Router> </div> );}
export default App;1234567891011121314151617181920212223242526272829303132333435363738394041424344.banner { background: url("https://media.cntraveler.com/photos/5db1d0dd11c1e500092e7133/master/pass/airbnb-ski-aspen-28328347.jpg") center center; height: 50vh; position: relative; } .banner__info { background-color: black; color: white; padding-top: 25vh; padding-left: 50px; padding-right: 50px; padding-bottom: 40px; width: 300px; } .banner__search { display: flex; flex-direction: column; } .banner__searchButton { background-color: white !important; font-weight: 900 !important; text-transform: inherit !important; color: #ff7779 !important; } .banner__info > button { background-color: #ff7779; color: white; text-transform: inherit; margin-top: 20px; font-weight: 600; } .banner__info > button:hover { background-color: white; color: #ff7779; } .banner__info > h5 { margin-top: 10px; }123456789101112131415161718192021222324import React, { useState } from 'react'import './Banner.css'import { Button } from "@material-ui/core";import Search from './Search';import { useHistory } from "react-router-dom";
function Banner() { const [showSearch, setShowSearch] = useState(false);
return ( <div className='banner'> <div className='banner__search'> {showSearch && <Search />}
<Button onClick={() => setShowSearch(!showSearch)} className='banner__searchButton' variant='outlined'> {showSearch ? "Hide" : "Search Dates"} </Button> </div> </div> )}
export default Banner12345678910111213141516171819202122232425262728293031323334.card { margin: 10px; border-radius: 10px; overflow: hidden; box-shadow: 0px 6px 18px -9px rgba(0, 0, 0, 0.75); transition: transform 100ms ease-in; cursor: pointer; } .card:hover { transform: scale(1.07); } .card > img { object-fit: fill; min-width: 300px; min-height: 200px; width: 100%; } .card__info { margin-top: -9px; border-radius: 10px; padding: 20px; padding-top: 20px; border: 1; } .card__info > h2 { font-size: 18px; font-weight: 600; } .card__info > h4 { font-size: 14px; font-weight: 300; margin-top: 8px; margin-bottom: 8px; }1234567891011121314151617import React from 'react';import './Card.css'
function Card({ src, title, description, price }) { return ( <div className='card'> <img src={src} alt="" /> <div className="card__info"> <h2>{title}</h2> <h4>{description}</h4> <h3>{price}</h3> </div> </div> )}
export default Card1234567891011.footer { border-top: 1px solid lightgray; padding: 20px; background-color: #f7f7f7; text-align: center;}
.footer > p { padding: 5px; font-size: 14px;}12345678910111213import React from 'react';import './Footer.css'
function Footer() { return ( <div className='footer'> <p>© 2020 Vistrit's Airbnb clone!</p> <p>Privacy · Terms · Sitemap · Company Details</p> </div> )}
export default Footer123456789101112131415161718192021222324252627282930313233343536373839404142.header { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background-color: white; z-index: 100; width: 100%; } .header__icon { object-fit: contain; height: 100px; margin-left: 20px; } .header__center { display: flex; flex: 1; align-items: center; max-width: fit-content; padding: 10px; height: 30px; border: 1px solid lightgray; border-radius: 999px; } .header__center > input { border: none; padding: 10px; outline-width: 0; width: 250px; } .header__right { display: flex; align-items: center; justify-content: space-between; width: 15vw; margin-right: 80px; }1234567891011121314151617181920212223242526272829303132333435import React from 'react'import './Header.css'import SearchIcon from "@material-ui/icons/Search";import LanguageIcon from "@material-ui/icons/Language";import ExpandMoreIcon from "@material-ui/icons/ExpandMore";import { Avatar } from "@material-ui/core";import { Link } from "react-router-dom";
function Header() { return ( <div className='header'> <Link to='/'> <img className="header__icon" src="https://i.pinimg.com/originals/3c/bf/be/3cbfbe148597341fa56f2f87ade90956.png" alt="" /> </Link> <div className='header__center'> <input type="text" /> <SearchIcon /> </div>
<div className='header__right'> <p>Become a host</p> <LanguageIcon /> <ExpandMoreIcon /> <Avatar /> </div> </div> )}
export default Header1234.home__section { display: flex; padding: 30px; }12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152import React from 'react';import './Home.css';import Banner from './Banner'import Card from './Card'
function Home() { return ( <div className='home'> <Banner />
<div className='home__section'> <Card src="https://a0.muscache.com/im/pictures/eb9c7c6a-ee33-414a-b1ba-14e8860d59b3.jpg?im_w=720" title="Online Experiences" description="Unique activities we can do together, led by a world of hosts." /> <Card src="https://a0.muscache.com/im/pictures/15159c9c-9cf1-400e-b809-4e13f286fa38.jpg?im_w=720" title="Unique stays" description="Spaces that are more than just a place to sleep." /> <Card src="https://a0.muscache.com/im/pictures/fdb46962-10c1-45fc-a228-d0b055411448.jpg?im_w=720" title="Entire homes" description="Comfortable private places, with room for friends or family." /> </div> <div className='home__section'> <Card src="https://media.nomadicmatt.com/2019/airbnb_breakup3.jpg" title="3 Bedroom Flat in Gomti Nagar" description="Superhost with a stunning view of Nala right infront of your eyes" price="₹1500/night" /> <Card src="https://thespaces.com/wp-content/uploads/2017/08/Courtesy-of-Airbnb.jpg" title="Penthouse in Indira Nagar" description="Enjoy the amazing sights of Lucknow with this house in middle of nowhere" price="₹3500/night" /> <Card src="https://media.nomadicmatt.com/2018/apartment.jpg" title="1 Bedroom apartment" description="Host with great amenities like Ghosts, Gobar gas se chalne wala Chulah" price="₹2000/night" /> </div> </div> )}
export default Home1234567891011121314151617181920212223242526272829303132333435363738394041424344454647.search { position: absolute; top: 35px; left: 25%; width: 100vw;}
.search > h2 { display: flex; align-items: center; justify-content: space-between; width: 559px; padding: 10px; background-color: white; position: absolute; left: 0; top: 380px;}
.search > input { width: 539px; padding: 20px; position: absolute; left: 0; height: 30px; top: 420px; border: none; } .search > input:focus { outline-width: 0;}
.search > button { position: absolute; left: 0; top: 480px; text-transform: inherit !important; background-color: #ff7779; color: white; width: 579px; }
.search > button:hover { background-color: white; color: #ff7779;}1234567891011121314151617181920212223242526272829303132333435363738import React, {useState} from 'react';import './Search.css';import "react-date-range/dist/styles.css"; import "react-date-range/dist/theme/default.css"; import { DateRangePicker } from "react-date-range";import { Button } from "@material-ui/core";import PeopleIcon from "@material-ui/icons/People";import { useHistory } from "react-router-dom";
function Search() { const history = useHistory(); const [startDate, setStartDate] = useState(new Date()); const [endDate, setEndDate] = useState(new Date());
const selectionRange = { startDate: startDate, endDate: endDate, key: "selection", };
function handleSelect(ranges) { setStartDate(ranges.selection.startDate); setEndDate(ranges.selection.endDate); }
return ( <div className='search'> <DateRangePicker ranges={[selectionRange]} onChange={handleSelect} /> <h2> Number of guests <PeopleIcon /> </h2> <input min={0} defaultValue={2} type="number" /> <Button onClick={() => history.push('/search')}>Search Airbnb</Button> </div> )}
export default Search123456789101112131415.searchPage__info { padding: 20px; }.searchPage__info > p { margin-bottom: 10px; font-size: 14px;}.searchPage__info > h1 { margin-bottom: 30px;}.searchPage__info > button { border-radius: 30px; text-transform: inherit; margin: 5px; }1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586import React from 'react';import './SearchPage.css';import { Button } from "@material-ui/core";import SearchResult from "./SearchResult";
function SearchPage() { return ( <div className='searchPage'> <div className='searchPage__info'> <h1>Stays nearby</h1> <Button variant="outlined">Cancellation Flexibility</Button> <Button variant="outlined">Type of place</Button> <Button variant="outlined">Price</Button> <Button variant="outlined">Rooms and beds</Button> <Button variant="outlined">More filters</Button> </div> <SearchResult img="https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQ_wbPYTxQPMcBh7SPzLFActXnP3uhifeVT_g&usqp=CAU" location="Private room in center of Hazratganj" title="Stay at this spacious British-made Residency" description="2 guest · 1 bedroom · 1 bed · 1.5 shared bathrooms · Wifi · Kitchen · Free parking · Washing Machine" star={4.75} price="₹3000 / night" total="₹11700 total" />
<SearchResult img="https://www.expatkings.com/wp-content/uploads/2018/10/Airbnb-rental-tips.-Hostmaker-1-620x349.jpg" location="Private room in center of Gomti Nagar" title="Independant luxury studio apartment" description="2 guest · 3 bedroom · 1 bed · 1.5 shared bathrooms · Wifi · Kitchen" star={4.5} price="₹4000 / night" total="₹15700 total" />
<SearchResult img="https://www.smartertravel.com/uploads/2017/07/Untitled-design-8.jpg" location="Private room in center of Indira Nagar" title="Omaxe Studio Apartments" description="4 guest · 4 bedroom · 4 bed · 2 bathrooms · Free parking · Washing Machine" star={3.8} price="₹3501 / night" total="₹20700 total" /> <SearchResult img="https://cdn.bisnow.net/fit?height=489&type=jpeg&url=https%3A%2F%2Fs3.amazonaws.com%2Fcdn.bisnow.net%2Fcontent%2Fimages%2F2017%2F05%2F59151d0978bbf_https_press_atairbnb_com_app_uploads_2016_12_midtown_4.jpeg&width=717&sign=FeltIPi9cOWA36nVIeDvZxwgtiCZrpUyMRdvyZviTUI" location="Private room in center of Gomti Nagar" title="30 mins to Airport, 20 minu=s to City Center" description="1 guest · 1 bedroom · 1 bed · 1.5 shared bthrooms · Wifi · Kitchen · Free parking · Washing Machine" star={4.1} price="₹3550 / night" total="₹13220 total" /> <SearchResult img="https://media.cntraveler.com/photos/5a8f258bd363c34048b35aac/master/w_2250,h_1500,c_limit/airbnb-plus-london.jpg" location="Private room in center of Lucknow" title="Spacious Peaceful Modern Bedroom" description="3 guest · 1 bedroom · 1 bed · 1.5 shared bthrooms · Wifi · Free parking · Dry Cleaning" star={5.0} price="₹1260 / night" total="₹12450 total" /> <SearchResult img="https://static.trip101.com/paragraph_media/pictures/001/676/061/large/969ae4bb-efd1-4fb9-a4e3-5cb3316dd3c9.jpg?1562227937" location="Private room in center of Lucknow" title="The Oyo Room In Lucknow" description="2 guest · 1 bedroom · 1 bed · 1.5 shared bthrooms · Wifi · Washing Machine" star={4.23} price="₹6500 / night" total="₹48000 total" /> <SearchResult img="https://image.insider.com/585029a0dd0895bc548b4b8b?width=750&format=jpeg&auto=webp" location="Private room in center of Lucknow" title="5 Star Luxury Apartment" description="3 guest · 1 bedroom · 1 bed · 1.5 shared bthrooms · Wifi · Kitchen · Free parking · Washing Machine" star={3.85} price="₹1900 / night" total="₹22500 total" /> </div> )}
export default SearchPage1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071.searchResult { display: flex; position: relative; margin: 20px; padding: 20px; border-bottom: 1px solid lightgray; cursor: pointer; }
.searchResult:hover { opacity: 0.8;}
.searchResult > img { height: 200px; width: 350px; border-radius: 10px; overflow: hidden;}
.searchResult__info { display: flex; flex-direction: column; justify-content: space-between; padding-left: 20px;}
.searchResult__heart { position: absolute; top: 20px; right: 40px;}
.searchResult__infoTop { width: 40vw;}
.searchResult__infoTop > h3 { font-weight: 300; margin-top: 10px;}
.searchResult__infoTop > p { margin-top: 10px; font-size: 13px; color: gray; } .searchResult__infoBottom { display: flex; justify-content: space-between;}
.searchResult__star { color: red;}
.searchResult__stars { display: flex; align-items: center;}
.searchResults__price > p { text-align: right; }
.searchResults__price { position: absolute; bottom: 20px; right: 30px;}123456789101112131415161718192021222324252627282930313233343536373839404142434445import React from 'react';import './SearchResult.css';import FavoriteBorderIcon from "@material-ui/icons/FavoriteBorder";import StarIcon from "@material-ui/icons/Star";
function SearchResult({ img, location, title, description, star, price, total,}) { return ( <div className='searchResult'> <img src={img} alt="" /> <FavoriteBorderIcon className="searchResult__heart" />
<div className='searchResult__info'> <div className="searchResult__infoTop"> <p>{location}</p> <h3>{title}</h3> <p>____</p> <p>{description}</p> </div>
<div className="searchResult__infoBottom"> <div className="searchResult__stars"> <StarIcon className="searchResult__star" /> <p> <strong>{star}</strong> </p> </div> <div className='searchResults__price'> <h2>{price}</h2> <p>{total}</p> </div> </div> </div> </div> )}
export default SearchResult12345678910111213141516*{ margin: 0;}body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}
code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;}1234567891011121314151617import React from 'react';import ReactDOM from 'react-dom';import './index.css';import App from './App';import reportWebVitals from './reportWebVitals';
ReactDOM.render( <React.StrictMode> <App /> </React.StrictMode>, document.getElementById('root'));
// If you want to start measuring performance in your app, pass a function// to log results (for example: reportWebVitals(console.log))// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitalsreportWebVitals();12345678910111213const reportWebVitals = onPerfEntry => { if (onPerfEntry && onPerfEntry instanceof Function) { import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { getCLS(onPerfEntry); getFID(onPerfEntry); getFCP(onPerfEntry); getLCP(onPerfEntry); getTTFB(onPerfEntry); }); }};
export default reportWebVitals;1234567891011121314151617181920asset-manifest.json,1599474689384,2a7d2f58ae480d4e3467ab0d4ea539262954f5008a9f66bd41bd843bed9cbf94favicon.ico,499162500000,d96ddbc4933b04e12c738ab39f469573143949ca2c39eda0a49d16f83d40c319index.html,1599474689384,3bf1b25f3196fafb5be2bae267470cb7aad1ef1c5b28bfb06c89b36c9472f4b0logo192.png,499162500000,3ee59515172ee198f3be375979df15ac5345183e656720a381b8872b2a39dc8bmanifest.json,499162500000,aff3449bdc238776f5d6d967f19ec491b36aed5fb7f23ccff6500736fd58494aprecache-manifest.c6ffae37fe07c62ee3226dc9fa311a81.js,1599474689384,12d47619181decb424f29c5a93a8b6a0c6949a778e769bd41e866fd11156a07erobots.txt,499162500000,bfe106a3fb878dc83461c86818bf74fc1bdc7f28538ba613cd3e775516ce8b49service-worker.js,1599474689384,ff14aa166d58f639f196f71416ce583de5f295db1bc30bca8bf83af273f69279logo512.png,499162500000,ee7e2f3fdb8209c4b6fd7bef6ba50d1b9dba30a25bb5c3126df057e1cb6f5331static/css/2.9229e6f1.chunk.css,1599474689396,fddf179713b881d8c7fa4a3fbce6abe867592ee3c40aa16d50c9a77301d7d559static/css/main.bdf992c5.chunk.css,1599474689386,69e6779c4a3d30cf1728b7e7675753a28a733afeeaadf265b70d164bf42deb20static/js/2.bab18012.chunk.js.LICENSE.txt,1599474689396,2830e3150f0c4d5706d31d600a395af0f7d2df440a164f1530bacc1a25a8fa46static/css/main.bdf992c5.chunk.css.map,1599474689396,0cca09c6fa06000fbf5b2b608ae1cc45383bcbb145d4c1e1e45bb113c1e7f3f1static/css/2.9229e6f1.chunk.css.map,1599474689396,afae48ca434845cda0819be61483a8202b161930361723174d39495b33d77e54static/js/main.b2af1c40.chunk.js,1599474689395,3e2bcdc81cbf5d099fe5c5f3c5852d9d7930b6d1a5d48da55291f5e36115854fstatic/js/runtime-main.62498b8c.js,1599474689387,2e9a03e994521f573973af4f762876aa7dbaa22fc9eede2cfa700b397823986fstatic/js/runtime-main.62498b8c.js.map,1599474689396,fdfd322202936c03c4464c8032aaa4e3dd3d6eb8664050630e40fb0db1ad42c5static/js/main.b2af1c40.chunk.js.map,1599474689396,2baaa0ee7e8c1ae64e8be9150d4ecdf31f0171c0db39835a4419e534507c02bbstatic/js/2.bab18012.chunk.js,1599474689396,72b1f30d248db6b0579f3080f32a93544fd334e31b8324bc8a14b2b7273fd787static/js/2.bab18012.chunk.js.map,1599474689396,1485fc08a8c9be0d9c1f1b7fc8615e015e9905d1988fa32cbb1a5cc35936efa112345{ "projects": { "default": "airbnb-clone-d5975" }}1234567891011121314151617181920212223# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies/node_modules/.pnp.pnp.js
# testing/coverage
# production/build
# misc.DS_Store.env.local.env.development.local.env.test.local.env.production.local
npm-debug.log*yarn-debug.log*yarn-error.log*12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970[Click here to watch demo](https://airbnb-clone-d5975.web.app/)
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.<br />Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.<br />You will also see any lint errors in the console.
### `npm test`
Launches the test runner in the interactive watch mode.<br />See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `npm run build`
Builds the app for production to the `build` folder.<br />It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.<br />Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
### Analyzing the Bundle Size
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
### Making a Progressive Web App
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
### Advanced Configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
### Deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
### `npm run build` fails to minify
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify12345678910111213141516{ "hosting": { "public": "build", "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ], "rewrites": [ { "source": "**", "destination": "/index.html" } ] }}123456789101112131415161718192021222324252627282930313233343536373839{ "name": "airbnb_clone", "version": "0.1.0", "private": true, "dependencies": { "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "@testing-library/jest-dom": "^4.2.4", "@testing-library/react": "^9.5.0", "@testing-library/user-event": "^7.2.1", "date-fns": "^2.16.1", "react": "^16.13.1", "react-date-range": "^1.0.3", "react-dom": "^16.13.1", "react-router-dom": "^5.2.0", "react-scripts": "3.4.3" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, "eslintConfig": { "extends": "react-app" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }}12345678910111213141516171819202122232425262728293031323334353637383940414243<!DOCTYPE html><html lang="en"> <head> <meta charset="utf-8" /> <link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="theme-color" content="#000000" /> <meta name="description" content="Web site created using create-react-app" /> <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> <!-- manifest.json provides metadata used when your web app is installed on a user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ --> <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> <!-- Notice the use of %PUBLIC_URL% in the tags above. It will be replaced with the URL of the `public` folder during the build. Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> <title>React App</title> </head> <body> <noscript>You need to enable JavaScript to run this app.</noscript> <div id="root"></div> <!-- This HTML file is a template. If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file. The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`. To create a production bundle, use `npm run build` or `yarn build`. --> </body></html>12345678910111213141516171819202122232425{ "short_name": "React App", "name": "Create React App Sample", "icons": [ { "src": "favicon.ico", "sizes": "64x64 32x32 24x24 16x16", "type": "image/x-icon" }, { "src": "logo192.png", "type": "image/png", "sizes": "192x192" }, { "src": "logo512.png", "type": "image/png", "sizes": "512x512" } ], "start_url": ".", "display": "standalone", "theme_color": "#000000", "background_color": "#ffffff"}123# https://www.robotstxt.org/robotstxt.htmlUser-agent: *Disallow:12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849import React from 'react';import './App.css';import Home from './Home'import Header from './Header'import Footer from './Footer'import SearchPage from './SearchPage'import {BrowserRouter as Router, Switch, Route} from "react-router-dom";
function App() { return ( <div className="App"> <Router>
< Header />
<Switch > <Route path="/search"> {/* Search */} <SearchPage /> </Route>
<Route path ="/">
< Home /> </Route>
</Switch>
< Footer />
</Router>{/* Home */} {/* Header */}
{/*Banner*/} {/* Search*/} {/* Card*/} {/* Footer*/}
{/* Search Page */} {/* ...... */}
</div> );}
export default App;123456789101112131415161718192021222324252627282930313233343536373839404142434445.banner { background: url("https://media.cntraveler.com/photos/5db1d0dd11c1e500092e7133/master/pass/airbnb-ski-aspen-28328347.jpg") center center; height: 63vh; position: relative;}
.banner__info { background-color: black; color: white; padding-top: 25vh; padding-left: 50px; padding-right: 50px; padding-bottom: 40px; width: 300px;}
.banner__search { display: flex; flex-direction: column;}
.banner__searchButton { background-color: white !important; font-weight: 900 !important; text-transform: inherit !important; color: #ff7779 !important;}
.banner__info > button { background-color: #ff7779; color: white; text-transform: inherit; margin-top: 20px; font-weight: 600;}
.banner__info > button:hover { background-color: white; color: #ff7779; }
.banner__info > h5 { margin-top: 10px;}12345678910111213141516171819202122232425262728293031import React, { useState } from 'react'import './Banner.css'import { Button } from "@material-ui/core";import Search from './Search';import { useHistory } from "react-router-dom";
function Banner() { const history = useHistory(); const [showSearch, setShowSearch] = useState(false);
return ( <div className='banner'> <div className='banner__search'> {showSearch && <Search />}
<Button onClick={() => setShowSearch(!showSearch)} className='banner__searchButton' variant='outlined'> {showSearch ? "Hide" : "Search Dates"} </Button> </div> <div className='banner__info'> <h1>Get out and stretch your imagination</h1> <h5> Plan a different kind of getaway to uncover the hidden gems near you. </h5> <Button onClick={() => history.push('/search')} variant='outlined'>Explore Nearby</Button> </div> </div> )}
export default Banner.gitattributes+10
Airbnb-Clone/.firebase/hosting.YnVpbGQ.cacheAdded+18
Airbnb-Clone/.firebasercAdded+5
Airbnb-Clone/.gitignoreAdded+23
Airbnb-Clone/README.mdAdded+68
Airbnb-Clone/firebase.jsonAdded+16
Airbnb-Clone/package-lock.jsonAdded
Airbnb-Clone/package.jsonAdded+43
Airbnb-Clone/public/favicon.icoAdded
Airbnb-Clone/public/index.htmlAdded+43
Airbnb-Clone/public/manifest.jsonAdded+25
Airbnb-Clone/public/robots.txtAdded+3
Airbnb-Clone/src/App.cssAdded
Airbnb-Clone/src/App.jsAdded+31
Airbnb-Clone/src/Banner.cssAdded+44
Airbnb-Clone/src/Banner.jsAdded+24
Airbnb-Clone/src/Card.cssAdded+34
Airbnb-Clone/src/Card.jsAdded+17
Airbnb-Clone/src/Footer.cssAdded+11
Airbnb-Clone/src/Footer.jsAdded+13
Airbnb-Clone/src/Header.cssAdded+42
Airbnb-Clone/src/Header.jsAdded+35
Airbnb-Clone/src/Home.cssAdded+4
Airbnb-Clone/src/Home.jsAdded+52
Airbnb-Clone/src/Search.cssAdded+47
Airbnb-Clone/src/Search.jsAdded+38
Airbnb-Clone/src/SearchPage.cssAdded+15
Airbnb-Clone/src/SearchPage.jsAdded+86
Airbnb-Clone/src/SearchResult.cssAdded+71
Airbnb-Clone/src/SearchResult.jsAdded+45
Airbnb-Clone/src/index.cssAdded+16
Airbnb-Clone/src/index.jsAdded+17
Airbnb-Clone/src/reportWebVitals.jsAdded+13
Airbnb_clone/.firebase/hosting.YnVpbGQ.cacheAdded+20
Airbnb_clone/.firebasercAdded+5
Airbnb_clone/.gitignoreAdded+23
Airbnb_clone/README.mdAdded+70
Airbnb_clone/firebase.jsonAdded+16
Airbnb_clone/package-lock.jsonAdded
Airbnb_clone/package.jsonAdded+39
Airbnb_clone/public/favicon.icoAdded
Airbnb_clone/public/index.htmlAdded+43
Airbnb_clone/public/logo192.pngAdded

Large File Pointer Details
- SHA256: c386396ec70db3608075b5fbfaac4ab1ccaa86ba05a68ab393ec551eb66c3e00
- Pointer size: 129 Bytes
- Size of remote file: 5.35 kB
Airbnb_clone/public/logo512.pngAdded

Large File Pointer Details
- SHA256: 9ea4f4da7050c0cc408926f6a39c253624e9babb1d43c7977cd821445a60b461
- Pointer size: 129 Bytes
- Size of remote file: 9.66 kB
Airbnb_clone/public/manifest.jsonAdded+25
Airbnb_clone/public/robots.txtAdded+3
Airbnb_clone/src/App.cssAdded
Airbnb_clone/src/App.jsAdded+49
Airbnb_clone/src/Banner.cssAdded+45
Airbnb_clone/src/Banner.jsAdded+31