diff --git a/README.md b/README.md index 0c83cde..9f18827 100644 --- a/README.md +++ b/README.md @@ -1,70 +1 @@ -# Getting Started with Create React 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.\ -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) +# Nexter diff --git a/img/back.jpg b/img/back.jpg new file mode 100644 index 0000000..3cdb094 Binary files /dev/null and b/img/back.jpg differ diff --git a/img/favicon.png b/img/favicon.png new file mode 100644 index 0000000..ce09276 Binary files /dev/null and b/img/favicon.png differ diff --git a/img/gal-1.jpeg b/img/gal-1.jpeg new file mode 100644 index 0000000..053ec32 Binary files /dev/null and b/img/gal-1.jpeg differ diff --git a/img/gal-10.jpeg b/img/gal-10.jpeg new file mode 100644 index 0000000..fa59ee3 Binary files /dev/null and b/img/gal-10.jpeg differ diff --git a/img/gal-11.jpeg b/img/gal-11.jpeg new file mode 100644 index 0000000..0ac34c5 Binary files /dev/null and b/img/gal-11.jpeg differ diff --git a/img/gal-12.jpeg b/img/gal-12.jpeg new file mode 100644 index 0000000..2cceced Binary files /dev/null and b/img/gal-12.jpeg differ diff --git a/img/gal-13.jpeg b/img/gal-13.jpeg new file mode 100644 index 0000000..d069059 Binary files /dev/null and b/img/gal-13.jpeg differ diff --git a/img/gal-14.jpeg b/img/gal-14.jpeg new file mode 100644 index 0000000..d3bb763 Binary files /dev/null and b/img/gal-14.jpeg differ diff --git a/img/gal-2.jpeg b/img/gal-2.jpeg new file mode 100644 index 0000000..e90f95f Binary files /dev/null and b/img/gal-2.jpeg differ diff --git a/img/gal-3.jpeg b/img/gal-3.jpeg new file mode 100644 index 0000000..c6021c3 Binary files /dev/null and b/img/gal-3.jpeg differ diff --git a/img/gal-4.jpeg b/img/gal-4.jpeg new file mode 100644 index 0000000..b3938c8 Binary files /dev/null and b/img/gal-4.jpeg differ diff --git a/img/gal-5.jpeg b/img/gal-5.jpeg new file mode 100644 index 0000000..ac565c9 Binary files /dev/null and b/img/gal-5.jpeg differ diff --git a/img/gal-6.jpeg b/img/gal-6.jpeg new file mode 100644 index 0000000..6b0c35b Binary files /dev/null and b/img/gal-6.jpeg differ diff --git a/img/gal-7.jpeg b/img/gal-7.jpeg new file mode 100644 index 0000000..66a9c82 Binary files /dev/null and b/img/gal-7.jpeg differ diff --git a/img/gal-8.jpeg b/img/gal-8.jpeg new file mode 100644 index 0000000..af5bada Binary files /dev/null and b/img/gal-8.jpeg differ diff --git a/img/gal-9.jpeg b/img/gal-9.jpeg new file mode 100644 index 0000000..e702450 Binary files /dev/null and b/img/gal-9.jpeg differ diff --git a/img/hero.jpeg b/img/hero.jpeg new file mode 100644 index 0000000..2914568 Binary files /dev/null and b/img/hero.jpeg differ diff --git a/img/house-1.jpeg b/img/house-1.jpeg new file mode 100644 index 0000000..760bf92 Binary files /dev/null and b/img/house-1.jpeg differ diff --git a/img/house-2.jpeg b/img/house-2.jpeg new file mode 100644 index 0000000..4a0c37c Binary files /dev/null and b/img/house-2.jpeg differ diff --git a/img/house-3.jpeg b/img/house-3.jpeg new file mode 100644 index 0000000..427560d Binary files /dev/null and b/img/house-3.jpeg differ diff --git a/img/house-4.jpeg b/img/house-4.jpeg new file mode 100644 index 0000000..5885d87 Binary files /dev/null and b/img/house-4.jpeg differ diff --git a/img/house-5.jpeg b/img/house-5.jpeg new file mode 100644 index 0000000..b7a4de0 Binary files /dev/null and b/img/house-5.jpeg differ diff --git a/img/house-6.jpeg b/img/house-6.jpeg new file mode 100644 index 0000000..2df637c Binary files /dev/null and b/img/house-6.jpeg differ diff --git a/img/logo-bbc.png b/img/logo-bbc.png new file mode 100644 index 0000000..085de36 Binary files /dev/null and b/img/logo-bbc.png differ diff --git a/img/logo-bi.png b/img/logo-bi.png new file mode 100644 index 0000000..0de8be1 Binary files /dev/null and b/img/logo-bi.png differ diff --git a/img/logo-forbes.png b/img/logo-forbes.png new file mode 100644 index 0000000..c847471 Binary files /dev/null and b/img/logo-forbes.png differ diff --git a/img/logo-techcrunch.png b/img/logo-techcrunch.png new file mode 100644 index 0000000..1a42d1e Binary files /dev/null and b/img/logo-techcrunch.png differ diff --git a/img/logo.png b/img/logo.png new file mode 100644 index 0000000..c7a1bfc Binary files /dev/null and b/img/logo.png differ diff --git a/img/realtor-1.jpeg b/img/realtor-1.jpeg new file mode 100644 index 0000000..dd5223b Binary files /dev/null and b/img/realtor-1.jpeg differ diff --git a/img/realtor-2.jpeg b/img/realtor-2.jpeg new file mode 100644 index 0000000..7925df5 Binary files /dev/null and b/img/realtor-2.jpeg differ diff --git a/img/realtor-3.jpeg b/img/realtor-3.jpeg new file mode 100644 index 0000000..835a681 Binary files /dev/null and b/img/realtor-3.jpeg differ diff --git a/img/sprite.svg b/img/sprite.svg new file mode 100755 index 0000000..25e3404 --- /dev/null +++ b/img/sprite.svg @@ -0,0 +1,44 @@ + + + +heart-full + + + +presentation + + + +expand + + + +lock + + + +trophy + + + +key + + + +profile-male + + + +map-pin + + + +heart + + + +global + + + + diff --git a/img/story-1.jpeg b/img/story-1.jpeg new file mode 100644 index 0000000..7dfbf32 Binary files /dev/null and b/img/story-1.jpeg differ diff --git a/img/story-2.jpeg b/img/story-2.jpeg new file mode 100644 index 0000000..325d782 Binary files /dev/null and b/img/story-2.jpeg differ diff --git a/img/text.txt b/img/text.txt new file mode 100644 index 0000000..43ad680 --- /dev/null +++ b/img/text.txt @@ -0,0 +1,18 @@ +--- Features + +Lorem, ipsum dolor sit amet consectetur adipisicing elit. Tenetur distinctio necessitatibus pariatur voluptatibus. + +Voluptatum mollitia quae. Vero ipsum sapiente molestias accusamus rerum sed a eligendi aut quia. + +Tenetur distinctio necessitatibus pariatur voluptatibus quidem consequatur harum. + +Vero ipsum sapiente molestias accusamus rerum. Lorem, ipsum dolor sit amet consectetur adipisicing elit. + +Quidem consequatur harum, voluptatum mollitia quae. Tenetur distinctio necessitatibus pariatur voluptatibus. + +Pariatur voluptatibus quidem consequatur harum, voluptatum mollitia quae. + + +--- Stories + +Lorem, ipsum dolor sit amet consectetur adipisicing elit. Tenetur distinctio necessitatibus pariatur voluptatibus. Quidem consequatur harum volupta! \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index a18e8c5..5c40c3c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,7 @@ "react": "^17.0.2", "react-dom": "^17.0.2", "react-scripts": "4.0.3", + "sass": "^1.32.13", "web-vitals": "^1.1.2" } }, @@ -4675,7 +4676,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "optional": true, "engines": { "node": ">=8" } @@ -5162,7 +5162,6 @@ "version": "3.5.1", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", - "optional": true, "dependencies": { "anymatch": "~3.1.1", "braces": "~3.0.2", @@ -9923,7 +9922,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "optional": true, "dependencies": { "binary-extensions": "^2.0.0" }, @@ -16243,7 +16241,6 @@ "version": "3.5.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", - "optional": true, "dependencies": { "picomatch": "^2.2.1" }, @@ -17190,6 +17187,20 @@ "resolved": "https://registry.npmjs.org/sanitize.css/-/sanitize.css-10.0.0.tgz", "integrity": "sha512-vTxrZz4dX5W86M6oVWVdOVe72ZiPs41Oi7Z6Km4W5Turyz28mrXSJhhEBZoRtzJWIv3833WKVwLSDWWkEfupMg==" }, + "node_modules/sass": { + "version": "1.32.13", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.32.13.tgz", + "integrity": "sha512-dEgI9nShraqP7cXQH+lEXVf73WOPCse0QlFzSD8k+1TcOxCMwVXfQlr0jtoluZysQOyJGnfr21dLvYKDJq8HkA==", + "dependencies": { + "chokidar": ">=3.0.0 <4.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=8.9.0" + } + }, "node_modules/sass-loader": { "version": "10.2.0", "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-10.2.0.tgz", @@ -25066,8 +25077,7 @@ "binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "optional": true + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" }, "bindings": { "version": "1.5.0", @@ -25465,7 +25475,6 @@ "version": "3.5.1", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", - "optional": true, "requires": { "anymatch": "~3.1.1", "braces": "~3.0.2", @@ -29212,7 +29221,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "optional": true, "requires": { "binary-extensions": "^2.0.0" } @@ -34083,7 +34091,6 @@ "version": "3.5.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", - "optional": true, "requires": { "picomatch": "^2.2.1" } @@ -34821,6 +34828,14 @@ "resolved": "https://registry.npmjs.org/sanitize.css/-/sanitize.css-10.0.0.tgz", "integrity": "sha512-vTxrZz4dX5W86M6oVWVdOVe72ZiPs41Oi7Z6Km4W5Turyz28mrXSJhhEBZoRtzJWIv3833WKVwLSDWWkEfupMg==" }, + "sass": { + "version": "1.32.13", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.32.13.tgz", + "integrity": "sha512-dEgI9nShraqP7cXQH+lEXVf73WOPCse0QlFzSD8k+1TcOxCMwVXfQlr0jtoluZysQOyJGnfr21dLvYKDJq8HkA==", + "requires": { + "chokidar": ">=3.0.0 <4.0.0" + } + }, "sass-loader": { "version": "10.2.0", "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-10.2.0.tgz", diff --git a/package.json b/package.json index 3fa5ecd..11837b5 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "react": "^17.0.2", "react-dom": "^17.0.2", "react-scripts": "4.0.3", + "sass": "^1.32.13", "web-vitals": "^1.1.2" }, "scripts": { diff --git a/public/index.html b/public/index.html index aa069f2..3caf8d8 100644 --- a/public/index.html +++ b/public/index.html @@ -2,19 +2,22 @@ - - + + - React App + nexter — your home, your freedom diff --git a/src/App.css b/src/App.css deleted file mode 100644 index 74b5e05..0000000 --- a/src/App.css +++ /dev/null @@ -1,38 +0,0 @@ -.App { - text-align: center; -} - -.App-logo { - height: 40vmin; - pointer-events: none; -} - -@media (prefers-reduced-motion: no-preference) { - .App-logo { - animation: App-logo-spin infinite 20s linear; - } -} - -.App-header { - background-color: #282c34; - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; -} - -.App-link { - color: #61dafb; -} - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} diff --git a/src/App.js b/src/App.js index 3784575..e813d31 100644 --- a/src/App.js +++ b/src/App.js @@ -1,25 +1,7 @@ -import logo from './logo.svg'; -import './App.css'; +import "./sass/main.scss"; function App() { - return ( -
-
- logo -

- Edit src/App.js and save to reload. -

- - Learn React - -
-
- ); + return
; } export default App; diff --git a/src/sass/_base.scss b/src/sass/_base.scss new file mode 100644 index 0000000..2202529 --- /dev/null +++ b/src/sass/_base.scss @@ -0,0 +1,35 @@ +// COLOR VARIABLES +$color-primary: #c69963; +$color-primary-dark: #b28451; + +$color-secondary: #101d2c; + +$color-grey-light-1: #f9f7f6; +$color-grey-light-2: #aaa; + +$color-grey-dark-1: #54483a; +$color-grey-dark-2: #6d5d4b; + +// FONT VARIABLES +$font-primary: "Nunito", sans-serif; +$font-display: "Josefin Sans", sans-serif; + +*, +*::before, +*::after { + margin: 0; + padding: 0; + box-sizing: inherit; +} + +html { + box-sizing: border-box; + font-size: 62.5%; +} + +body { + font-family: $font-primary; + color: $color-grey-dark-2; + font-weight: 300; + line-height: 1.6; +} diff --git a/src/sass/_features.scss b/src/sass/_features.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/sass/_footer.scss b/src/sass/_footer.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/sass/_gallery.scss b/src/sass/_gallery.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/sass/_header.scss b/src/sass/_header.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/sass/_homes.scss b/src/sass/_homes.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/sass/_realtors.scss b/src/sass/_realtors.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/sass/_sidebar.scss b/src/sass/_sidebar.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/sass/_story.scss b/src/sass/_story.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/sass/_typography.scss b/src/sass/_typography.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/sass/main.scss b/src/sass/main.scss new file mode 100644 index 0000000..3b54ba6 --- /dev/null +++ b/src/sass/main.scss @@ -0,0 +1,11 @@ +@import "base"; +@import "typography"; + +@import "sidebar"; +@import "header"; +@import "realtors"; +@import "features"; +@import "story"; +@import "homes"; +@import "gallery"; +@import "footer"; \ No newline at end of file