diff --git a/README.md b/README.md
index 0c83cde..9d4f2c7 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)
+# Trillo
diff --git a/package-lock.json b/package-lock.json
index 23df813..014e44e 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.12",
"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"
}
@@ -5158,7 +5158,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",
@@ -9919,7 +9918,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"
},
@@ -16239,7 +16237,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"
},
@@ -17186,6 +17183,20 @@
"resolved": "https://registry.npmjs.org/sanitize.css/-/sanitize.css-10.0.0.tgz",
"integrity": "sha512-vTxrZz4dX5W86M6oVWVdOVe72ZiPs41Oi7Z6Km4W5Turyz28mrXSJhhEBZoRtzJWIv3833WKVwLSDWWkEfupMg=="
},
+ "node_modules/sass": {
+ "version": "1.32.12",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.32.12.tgz",
+ "integrity": "sha512-zmXn03k3hN0KaiVTjohgkg98C3UowhL1/VSGdj4/VAAiMKGQOE80PFPxFP2Kyq0OUskPKcY5lImkhBKEHlypJA==",
+ "dependencies": {
+ "chokidar": ">=3.0.0 <4.0.0"
+ },
+ "bin": {
+ "sass": "sass.js"
+ },
+ "engines": {
+ "node": ">=8.9.0"
+ }
+ },
"node_modules/sass-loader": {
"version": "10.1.1",
"resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-10.1.1.tgz",
@@ -25062,8 +25073,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",
@@ -25461,7 +25471,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",
@@ -29208,7 +29217,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"
}
@@ -34079,7 +34087,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"
}
@@ -34817,6 +34824,14 @@
"resolved": "https://registry.npmjs.org/sanitize.css/-/sanitize.css-10.0.0.tgz",
"integrity": "sha512-vTxrZz4dX5W86M6oVWVdOVe72ZiPs41Oi7Z6Km4W5Turyz28mrXSJhhEBZoRtzJWIv3833WKVwLSDWWkEfupMg=="
},
+ "sass": {
+ "version": "1.32.12",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.32.12.tgz",
+ "integrity": "sha512-zmXn03k3hN0KaiVTjohgkg98C3UowhL1/VSGdj4/VAAiMKGQOE80PFPxFP2Kyq0OUskPKcY5lImkhBKEHlypJA==",
+ "requires": {
+ "chokidar": ">=3.0.0 <4.0.0"
+ }
+ },
"sass-loader": {
"version": "10.1.1",
"resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-10.1.1.tgz",
diff --git a/package.json b/package.json
index 759e2e5..d5a1597 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.12",
"web-vitals": "^1.1.2"
},
"scripts": {
diff --git a/public/index.html b/public/index.html
index aa069f2..c524035 100644
--- a/public/index.html
+++ b/public/index.html
@@ -3,6 +3,11 @@
+
+
- React App
+ trillo — Your all-in-one booking app
You need to enable JavaScript to run this app.
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..a3898f6 100644
--- a/src/App.js
+++ b/src/App.js
@@ -1,25 +1,7 @@
-import logo from './logo.svg';
-import './App.css';
+import "./App.scss";
function App() {
- return (
-
- );
+ return Trillo
;
}
export default App;
diff --git a/src/App.scss b/src/App.scss
new file mode 100644
index 0000000..bec030e
--- /dev/null
+++ b/src/App.scss
@@ -0,0 +1,9 @@
+@import "./SASS/abstracts/variables";
+@import "./SASS/abstracts/mixins";
+@import "./SASS/abstracts/functions";
+@import "./SASS/abstracts/include-media";
+
+@import "./SASS/base/animations";
+@import "./SASS/base/typography";
+@import "./SASS/base/base";
+@import "./SASS/base/utilities";
diff --git a/src/SASS/abstracts/_functions.scss b/src/SASS/abstracts/_functions.scss
new file mode 100644
index 0000000..e69de29
diff --git a/src/SASS/abstracts/_include-media.scss b/src/SASS/abstracts/_include-media.scss
new file mode 100644
index 0000000..0ff930c
--- /dev/null
+++ b/src/SASS/abstracts/_include-media.scss
@@ -0,0 +1,588 @@
+@charset "UTF-8";
+
+// _ _ _ _ _
+// (_) | | | | | (_)
+// _ _ __ ___| |_ _ __| | ___ _ __ ___ ___ __| |_ __ _
+// | | '_ \ / __| | | | |/ _` |/ _ \ | '_ ` _ \ / _ \/ _` | |/ _` |
+// | | | | | (__| | |_| | (_| | __/ | | | | | | __/ (_| | | (_| |
+// |_|_| |_|\___|_|\__,_|\__,_|\___| |_| |_| |_|\___|\__,_|_|\__,_|
+//
+// Simple, elegant and maintainable media queries in Sass
+// v1.4.9
+//
+// https://eduardoboucas.github.io/include-media
+//
+// Authors: Eduardo Boucas (@eduardoboucas)
+// Kitty Giraudel (@kittygiraudel)
+//
+// This project is licensed under the terms of the MIT license
+////
+/// include-media library public configuration
+/// @author Eduardo Boucas
+/// @access public
+////
+
+///
+/// Creates a list of global breakpoints
+///
+/// @example scss - Creates a single breakpoint with the label `phone`
+/// $breakpoints: ('phone': 320px);
+///
+$breakpoints: (
+ "phone": 320px,
+ "tablet": 768px,
+ "desktop": 1024px,
+) !default;
+
+///
+/// Creates a list of static expressions or media types
+///
+/// @example scss - Creates a single media type (screen)
+/// $media-expressions: ('screen': 'screen');
+///
+/// @example scss - Creates a static expression with logical disjunction (OR operator)
+/// $media-expressions: (
+/// 'retina2x': '(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)'
+/// );
+///
+$media-expressions: (
+ "screen": "screen",
+ "print": "print",
+ "handheld": "handheld",
+ "landscape": "(orientation: landscape)",
+ "portrait": "(orientation: portrait)",
+ "retina2x":
+ "(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx)",
+ "retina3x":
+ "(-webkit-min-device-pixel-ratio: 3), (min-resolution: 350dpi), (min-resolution: 3dppx)",
+) !default;
+
+///
+/// Defines a number to be added or subtracted from each unit when declaring breakpoints with exclusive intervals
+///
+/// @example scss - Interval for pixels is defined as `1` by default
+/// @include media('>128px') {}
+///
+/// /* Generates: */
+/// @media (min-width: 129px) {}
+///
+/// @example scss - Interval for ems is defined as `0.01` by default
+/// @include media('>20em') {}
+///
+/// /* Generates: */
+/// @media (min-width: 20.01em) {}
+///
+/// @example scss - Interval for rems is defined as `0.1` by default, to be used with `font-size: 62.5%;`
+/// @include media('>2.0rem') {}
+///
+/// /* Generates: */
+/// @media (min-width: 2.1rem) {}
+///
+$unit-intervals: (
+ "px": 1,
+ "em": 0.01,
+ "rem": 0.1,
+ "": 0,
+) !default;
+
+///
+/// Defines whether support for media queries is available, useful for creating separate stylesheets
+/// for browsers that don't support media queries.
+///
+/// @example scss - Disables support for media queries
+/// $im-media-support: false;
+/// @include media('>=tablet') {
+/// .foo {
+/// color: tomato;
+/// }
+/// }
+///
+/// /* Generates: */
+/// .foo {
+/// color: tomato;
+/// }
+///
+$im-media-support: true !default;
+
+///
+/// Selects which breakpoint to emulate when support for media queries is disabled. Media queries that start at or
+/// intercept the breakpoint will be displayed, any others will be ignored.
+///
+/// @example scss - This media query will show because it intercepts the static breakpoint
+/// $im-media-support: false;
+/// $im-no-media-breakpoint: 'desktop';
+/// @include media('>=tablet') {
+/// .foo {
+/// color: tomato;
+/// }
+/// }
+///
+/// /* Generates: */
+/// .foo {
+/// color: tomato;
+/// }
+///
+/// @example scss - This media query will NOT show because it does not intercept the desktop breakpoint
+/// $im-media-support: false;
+/// $im-no-media-breakpoint: 'tablet';
+/// @include media('>=desktop') {
+/// .foo {
+/// color: tomato;
+/// }
+/// }
+///
+/// /* No output */
+///
+$im-no-media-breakpoint: "desktop" !default;
+
+///
+/// Selects which media expressions are allowed in an expression for it to be used when media queries
+/// are not supported.
+///
+/// @example scss - This media query will show because it intercepts the static breakpoint and contains only accepted media expressions
+/// $im-media-support: false;
+/// $im-no-media-breakpoint: 'desktop';
+/// $im-no-media-expressions: ('screen');
+/// @include media('>=tablet', 'screen') {
+/// .foo {
+/// color: tomato;
+/// }
+/// }
+///
+/// /* Generates: */
+/// .foo {
+/// color: tomato;
+/// }
+///
+/// @example scss - This media query will NOT show because it intercepts the static breakpoint but contains a media expression that is not accepted
+/// $im-media-support: false;
+/// $im-no-media-breakpoint: 'desktop';
+/// $im-no-media-expressions: ('screen');
+/// @include media('>=tablet', 'retina2x') {
+/// .foo {
+/// color: tomato;
+/// }
+/// }
+///
+/// /* No output */
+///
+$im-no-media-expressions: ("screen", "portrait", "landscape") !default;
+
+////
+/// Cross-engine logging engine
+/// @author Kitty Giraudel
+/// @access private
+////
+
+///
+/// Log a message either with `@error` if supported
+/// else with `@warn`, using `feature-exists('at-error')`
+/// to detect support.
+///
+/// @param {String} $message - Message to log
+///
+@function im-log($message) {
+ @if feature-exists("at-error") {
+ @error $message;
+ } @else {
+ @warn $message;
+ $_: noop();
+ }
+
+ @return $message;
+}
+
+///
+/// Wrapper mixin for the log function so it can be used with a more friendly
+/// API than `@if im-log('..') {}` or `$_: im-log('..')`. Basically, use the function
+/// within functions because it is not possible to include a mixin in a function
+/// and use the mixin everywhere else because it's much more elegant.
+///
+/// @param {String} $message - Message to log
+///
+@mixin log($message) {
+ @if im-log($message) {
+ }
+}
+
+///
+/// Function with no `@return` called next to `@warn` in Sass 3.3
+/// to trigger a compiling error and stop the process.
+///
+@function noop() {
+}
+
+///
+/// Determines whether a list of conditions is intercepted by the static breakpoint.
+///
+/// @param {Arglist} $conditions - Media query conditions
+///
+/// @return {Boolean} - Returns true if the conditions are intercepted by the static breakpoint
+///
+@function im-intercepts-static-breakpoint($conditions...) {
+ $no-media-breakpoint-value: map-get($breakpoints, $im-no-media-breakpoint);
+
+ @if not $no-media-breakpoint-value {
+ @if im-log("`#{$im-no-media-breakpoint}` is not a valid breakpoint.") {
+ }
+ }
+
+ @each $condition in $conditions {
+ @if not map-has-key($media-expressions, $condition) {
+ $operator: get-expression-operator($condition);
+ $prefix: get-expression-prefix($operator);
+ $value: get-expression-value($condition, $operator);
+
+ @if ($prefix == "max" and $value <= $no-media-breakpoint-value) or
+ ($prefix == "min" and $value > $no-media-breakpoint-value)
+ {
+ @return false;
+ }
+ } @else if not index($im-no-media-expressions, $condition) {
+ @return false;
+ }
+ }
+
+ @return true;
+}
+
+////
+/// Parsing engine
+/// @author Kitty Giraudel
+/// @access private
+////
+
+///
+/// Get operator of an expression
+///
+/// @param {String} $expression - Expression to extract operator from
+///
+/// @return {String} - Any of `>=`, `>`, `<=`, `<`, `≥`, `≤`
+///
+@function get-expression-operator($expression) {
+ @each $operator in (">=", ">", "<=", "<", "≥", "≤") {
+ @if str-index($expression, $operator) {
+ @return $operator;
+ }
+ }
+
+ // It is not possible to include a mixin inside a function, so we have to
+ // rely on the `im-log(..)` function rather than the `log(..)` mixin. Because
+ // functions cannot be called anywhere in Sass, we need to hack the call in
+ // a dummy variable, such as `$_`. If anybody ever raise a scoping issue with
+ // Sass 3.3, change this line in `@if im-log(..) {}` instead.
+ $_: im-log("No operator found in `#{$expression}`.");
+}
+
+///
+/// Get dimension of an expression, based on a found operator
+///
+/// @param {String} $expression - Expression to extract dimension from
+/// @param {String} $operator - Operator from `$expression`
+///
+/// @return {String} - `width` or `height` (or potentially anything else)
+///
+@function get-expression-dimension($expression, $operator) {
+ $operator-index: str-index($expression, $operator);
+ $parsed-dimension: str-slice($expression, 0, $operator-index - 1);
+ $dimension: "width";
+
+ @if str-length($parsed-dimension) > 0 {
+ $dimension: $parsed-dimension;
+ }
+
+ @return $dimension;
+}
+
+///
+/// Get dimension prefix based on an operator
+///
+/// @param {String} $operator - Operator
+///
+/// @return {String} - `min` or `max`
+///
+@function get-expression-prefix($operator) {
+ @return if(index(("<", "<=", "≤"), $operator), "max", "min");
+}
+
+///
+/// Get value of an expression, based on a found operator
+///
+/// @param {String} $expression - Expression to extract value from
+/// @param {String} $operator - Operator from `$expression`
+///
+/// @return {Number} - A numeric value
+///
+@function get-expression-value($expression, $operator) {
+ $operator-index: str-index($expression, $operator);
+ $value: str-slice($expression, $operator-index + str-length($operator));
+
+ @if map-has-key($breakpoints, $value) {
+ $value: map-get($breakpoints, $value);
+ } @else {
+ $value: to-number($value);
+ }
+
+ $interval: map-get($unit-intervals, unit($value));
+
+ @if not $interval {
+ // It is not possible to include a mixin inside a function, so we have to
+ // rely on the `im-log(..)` function rather than the `log(..)` mixin. Because
+ // functions cannot be called anywhere in Sass, we need to hack the call in
+ // a dummy variable, such as `$_`. If anybody ever raise a scoping issue with
+ // Sass 3.3, change this line in `@if im-log(..) {}` instead.
+ $_: im-log("Unknown unit `#{unit($value)}`.");
+ }
+
+ @if $operator == ">" {
+ $value: $value + $interval;
+ } @else if $operator == "<" {
+ $value: $value - $interval;
+ }
+
+ @return $value;
+}
+
+///
+/// Parse an expression to return a valid media-query expression
+///
+/// @param {String} $expression - Expression to parse
+///
+/// @return {String} - Valid media query
+///
+@function parse-expression($expression) {
+ // If it is part of $media-expressions, it has no operator
+ // then there is no need to go any further, just return the value
+ @if map-has-key($media-expressions, $expression) {
+ @return map-get($media-expressions, $expression);
+ }
+
+ $operator: get-expression-operator($expression);
+ $dimension: get-expression-dimension($expression, $operator);
+ $prefix: get-expression-prefix($operator);
+ $value: get-expression-value($expression, $operator);
+
+ @return "(#{$prefix}-#{$dimension}: #{$value})";
+}
+
+///
+/// Slice `$list` between `$start` and `$end` indexes
+///
+/// @access private
+///
+/// @param {List} $list - List to slice
+/// @param {Number} $start [1] - Start index
+/// @param {Number} $end [length($list)] - End index
+///
+/// @return {List} Sliced list
+///
+@function slice($list, $start: 1, $end: length($list)) {
+ @if length($list) < 1 or $start > $end {
+ @return ();
+ }
+
+ $result: ();
+
+ @for $i from $start through $end {
+ $result: append($result, nth($list, $i));
+ }
+
+ @return $result;
+}
+
+////
+/// String to number converter
+/// @author Kitty Giraudel
+/// @access private
+////
+
+///
+/// Casts a string into a number
+///
+/// @param {String | Number} $value - Value to be parsed
+///
+/// @return {Number}
+///
+@function to-number($value) {
+ @if type-of($value) == "number" {
+ @return $value;
+ } @else if type-of($value) != "string" {
+ $_: im-log("Value for `to-number` should be a number or a string.");
+ }
+
+ $first-character: str-slice($value, 1, 1);
+ $result: 0;
+ $digits: 0;
+ $minus: ($first-character == "-");
+ $numbers: (
+ "0": 0,
+ "1": 1,
+ "2": 2,
+ "3": 3,
+ "4": 4,
+ "5": 5,
+ "6": 6,
+ "7": 7,
+ "8": 8,
+ "9": 9,
+ );
+
+ // Remove +/- sign if present at first character
+ @if ($first-character == "+" or $first-character == "-") {
+ $value: str-slice($value, 2);
+ }
+
+ @for $i from 1 through str-length($value) {
+ $character: str-slice($value, $i, $i);
+
+ @if not(index(map-keys($numbers), $character) or $character == ".") {
+ @return to-length(if($minus, -$result, $result), str-slice($value, $i));
+ }
+
+ @if $character == "." {
+ $digits: 1;
+ } @else if $digits == 0 {
+ $result: $result * 10 + map-get($numbers, $character);
+ } @else {
+ $digits: $digits * 10;
+ $result: $result + map-get($numbers, $character) / $digits;
+ }
+ }
+
+ @return if($minus, -$result, $result);
+}
+
+///
+/// Add `$unit` to `$value`
+///
+/// @param {Number} $value - Value to add unit to
+/// @param {String} $unit - String representation of the unit
+///
+/// @return {Number} - `$value` expressed in `$unit`
+///
+@function to-length($value, $unit) {
+ $units: (
+ "px": 1px,
+ "cm": 1cm,
+ "mm": 1mm,
+ "%": 1%,
+ "ch": 1ch,
+ "pc": 1pc,
+ "in": 1in,
+ "em": 1em,
+ "rem": 1rem,
+ "pt": 1pt,
+ "ex": 1ex,
+ "vw": 1vw,
+ "vh": 1vh,
+ "vmin": 1vmin,
+ "vmax": 1vmax,
+ );
+
+ @if not index(map-keys($units), $unit) {
+ $_: im-log("Invalid unit `#{$unit}`.");
+ }
+
+ @return $value * map-get($units, $unit);
+}
+
+///
+/// This mixin aims at redefining the configuration just for the scope of
+/// the call. It is helpful when having a component needing an extended
+/// configuration such as custom breakpoints (referred to as tweakpoints)
+/// for instance.
+///
+/// @author Kitty Giraudel
+///
+/// @param {Map} $tweakpoints [()] - Map of tweakpoints to be merged with `$breakpoints`
+/// @param {Map} $tweak-media-expressions [()] - Map of tweaked media expressions to be merged with `$media-expression`
+///
+/// @example scss - Extend the global breakpoints with a tweakpoint
+/// @include media-context(('custom': 678px)) {
+/// .foo {
+/// @include media('>phone', '<=custom') {
+/// // ...
+/// }
+/// }
+/// }
+///
+/// @example scss - Extend the global media expressions with a custom one
+/// @include media-context($tweak-media-expressions: ('all': 'all')) {
+/// .foo {
+/// @include media('all', '>phone') {
+/// // ...
+/// }
+/// }
+/// }
+///
+/// @example scss - Extend both configuration maps
+/// @include media-context(('custom': 678px), ('all': 'all')) {
+/// .foo {
+/// @include media('all', '>phone', '<=custom') {
+/// // ...
+/// }
+/// }
+/// }
+///
+@mixin media-context($tweakpoints: (), $tweak-media-expressions: ()) {
+ // Save global configuration
+ $global-breakpoints: $breakpoints;
+ $global-media-expressions: $media-expressions;
+
+ // Update global configuration
+ $breakpoints: map-merge($breakpoints, $tweakpoints) !global;
+ $media-expressions: map-merge(
+ $media-expressions,
+ $tweak-media-expressions
+ ) !global;
+
+ @content;
+
+ // Restore global configuration
+ $breakpoints: $global-breakpoints !global;
+ $media-expressions: $global-media-expressions !global;
+}
+
+////
+/// include-media public exposed API
+/// @author Eduardo Boucas
+/// @access public
+////
+
+///
+/// Generates a media query based on a list of conditions
+///
+/// @param {Arglist} $conditions - Media query conditions
+///
+/// @example scss - With a single set breakpoint
+/// @include media('>phone') { }
+///
+/// @example scss - With two set breakpoints
+/// @include media('>phone', '<=tablet') { }
+///
+/// @example scss - With custom values
+/// @include media('>=358px', '<850px') { }
+///
+/// @example scss - With set breakpoints with custom values
+/// @include media('>desktop', '<=1350px') { }
+///
+/// @example scss - With a static expression
+/// @include media('retina2x') { }
+///
+/// @example scss - Mixing everything
+/// @include media('>=350px', ' 0) {
+ @media #{unquote(parse-expression(nth($conditions, 1)))} {
+ // Recursive call
+ @include media(slice($conditions, 2)...) {
+ @content;
+ }
+ }
+ }
+}
diff --git a/src/SASS/abstracts/_mixins.scss b/src/SASS/abstracts/_mixins.scss
new file mode 100644
index 0000000..700821d
--- /dev/null
+++ b/src/SASS/abstracts/_mixins.scss
@@ -0,0 +1,14 @@
+@mixin clearfix {
+ &::after {
+ content: "";
+ display: table;
+ clear: both;
+ }
+}
+
+@mixin center-horizontal-vertical {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+}
diff --git a/src/SASS/abstracts/_variables.scss b/src/SASS/abstracts/_variables.scss
new file mode 100644
index 0000000..6184335
--- /dev/null
+++ b/src/SASS/abstracts/_variables.scss
@@ -0,0 +1,49 @@
+/*
+COLORS
+
+Primary: #eb2f64
+Primary light: #FF3366
+Primary dark: #BA265D
+
+Grey light 1: #faf9f9
+Grey light 2: #f4f2f2
+Grey light 3: #f0eeee
+Grey light 4: #ccc
+
+Grey dark 1: #333
+Grey dark 2: #777
+Grey dark 3: #999
+
+*/
+
+// COLORS
+$color-primary: #eb2f64;
+$color-primary-light: #ff3366;
+$color-primary-dark: #ba265d;
+
+$color-grey-light-1: #faf9f9;
+$color-grey-light-2: #f4f2f2;
+$color-grey-light-3: #f0eeee;
+$color-grey-light-4: #ccc;
+
+$color-grey-dark-1: #333;
+$color-grey-dark-2: #777;
+$color-grey-dark-3: #999;
+
+$color-black: #000;
+$color-white: #fff;
+
+// FONT CONTROL
+$default-font-size: 1.6rem;
+$normal-font-size: 1.4rem;
+$medium-font-size: 3rem;
+$big-font-size: 5rem;
+
+// OTHER
+
+$shadow-default: 0 1.5rem 4rem rgba($color-black, 0.15);
+$shadow-light: 0.5rem 1rem 2rem rgba($color-black, 0.2);
+$shadow-link: 0 1rem 2rem rgba($color-black, 0.4);
+
+$border-radius-small: 0.2rem;
+$border-radius-default: 0.3rem;
diff --git a/src/SASS/base/_animations.scss b/src/SASS/base/_animations.scss
new file mode 100644
index 0000000..291a7b4
--- /dev/null
+++ b/src/SASS/base/_animations.scss
@@ -0,0 +1,43 @@
+@keyframes moveInBottom {
+ 0% {
+ opacity: 0;
+ transform: translateY(10rem);
+ }
+
+ 100% {
+ opacity: 1;
+ transform: translate(0);
+ }
+}
+
+@keyframes moveInLeft {
+ 0% {
+ opacity: 0;
+ transform: translateX(-10rem);
+ }
+
+ 80% {
+ transform: translateX(1rem);
+ }
+
+ 100% {
+ opacity: 1;
+ transform: translate(0);
+ }
+}
+
+@keyframes moveInRight {
+ 0% {
+ opacity: 0;
+ transform: translateX(10rem);
+ }
+
+ 80% {
+ transform: translateX(-1rem);
+ }
+
+ 100% {
+ opacity: 1;
+ transform: translate(0);
+ }
+}
diff --git a/src/SASS/base/_base.scss b/src/SASS/base/_base.scss
new file mode 100644
index 0000000..a4c7d4f
--- /dev/null
+++ b/src/SASS/base/_base.scss
@@ -0,0 +1,30 @@
+*,
+*::after,
+*::before {
+ margin: 0;
+ padding: 0;
+ box-sizing: inherit;
+}
+
+html {
+ font-size: 62.5%; // 1 rem = 10px; 10px/16px = 62.5% (16 is default browser font size)
+}
+
+body {
+ box-sizing: border-box;
+ color: $color-grey-dark-2;
+ background-image: linear-gradient(
+ to right bottom,
+ $color-primary-light,
+ $color-primary-dark
+ );
+ background-size: cover;
+ background-repeat: no-repeat;
+
+ min-height: 100vh;
+}
+
+::selection {
+ background-color: $color-primary;
+ color: $color-white;
+}
diff --git a/src/SASS/base/_typography.scss b/src/SASS/base/_typography.scss
new file mode 100644
index 0000000..dc16482
--- /dev/null
+++ b/src/SASS/base/_typography.scss
@@ -0,0 +1,5 @@
+body {
+ font-family: "Open Sans", sans-serif;
+ font-weight: 400;
+ line-height: 1.6;
+}
diff --git a/src/SASS/base/_utilities.scss b/src/SASS/base/_utilities.scss
new file mode 100644
index 0000000..dc1bebd
--- /dev/null
+++ b/src/SASS/base/_utilities.scss
@@ -0,0 +1,21 @@
+.u-center-text {
+ text-align: center !important;
+}
+
+.u-margin-bottom-big {
+ margin-bottom: 8rem !important;
+}
+.u-margin-bottom-medium {
+ margin-bottom: 4rem !important;
+}
+.u-margin-bottom-small {
+ margin-bottom: 1.5rem !important;
+}
+
+.u-margin-top-big {
+ margin-top: 8rem !important;
+}
+
+.u-margin-top-huge {
+ margin-top: 10rem !important;
+}
diff --git a/src/SASS/layout/_layout.scss b/src/SASS/layout/_layout.scss
new file mode 100644
index 0000000..e69de29
diff --git a/src/commons/img/chevron-thin-right.svg b/src/commons/img/chevron-thin-right.svg
new file mode 100755
index 0000000..20f9fa1
--- /dev/null
+++ b/src/commons/img/chevron-thin-right.svg
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/src/commons/img/favicon.png b/src/commons/img/favicon.png
new file mode 100644
index 0000000..df64b0d
Binary files /dev/null and b/src/commons/img/favicon.png differ
diff --git a/src/commons/img/hotel-1.jpg b/src/commons/img/hotel-1.jpg
new file mode 100644
index 0000000..f35c65c
Binary files /dev/null and b/src/commons/img/hotel-1.jpg differ
diff --git a/src/commons/img/hotel-2.jpg b/src/commons/img/hotel-2.jpg
new file mode 100644
index 0000000..f064720
Binary files /dev/null and b/src/commons/img/hotel-2.jpg differ
diff --git a/src/commons/img/hotel-3.jpg b/src/commons/img/hotel-3.jpg
new file mode 100644
index 0000000..3b1bcf3
Binary files /dev/null and b/src/commons/img/hotel-3.jpg differ
diff --git a/src/commons/img/logo.png b/src/commons/img/logo.png
new file mode 100644
index 0000000..029ac70
Binary files /dev/null and b/src/commons/img/logo.png differ
diff --git a/src/commons/img/sprite.svg b/src/commons/img/sprite.svg
new file mode 100755
index 0000000..d1e1f42
--- /dev/null
+++ b/src/commons/img/sprite.svg
@@ -0,0 +1,120 @@
+
+
+
+bookmark
+
+
+
+chevron-down
+
+
+
+chevron-left
+
+
+
+chevron-right
+
+
+
+chevron-thin-down
+
+
+
+chevron-thin-left
+
+
+
+chevron-thin-right
+
+
+
+chevron-thin-up
+
+
+
+chevron-up
+
+
+
+cloud
+
+
+
+aircraft-take-off
+
+
+
+bell
+
+
+
+calendar
+
+
+
+camera
+
+
+
+chat
+
+
+
+cog
+
+
+
+home
+
+
+
+key
+
+
+
+light-up
+
+
+
+location-pin
+
+
+
+magnifying-glass
+
+
+
+mail
+
+
+
+map
+
+
+
+squared-cross
+
+
+
+star-outlined
+
+
+
+star
+
+
+
+user
+
+
+
+facebook
+
+
+
+instagram
+
+
+
+
diff --git a/src/commons/img/text.txt b/src/commons/img/text.txt
new file mode 100644
index 0000000..9a38ea4
--- /dev/null
+++ b/src/commons/img/text.txt
@@ -0,0 +1,17 @@
+DESCRIPTION TEXT
+
+Lorem ipsum dolor sit amet, consectetur adipisicing elit. Animi nisi dignissimos debitis ratione sapiente saepe. Accusantium cumque, quas, ut corporis incidunt deserunt quae architecto voluptate.
+
+Accusantium cumque, quas, ut corporis incidunt deserunt quae architecto voluptate delectus, inventore iure aliquid aliquam.
+
+
+
+REVIEW 1
+
+Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga doloremque architecto dicta animi, totam, itaque officia ex.
+
+
+
+REVIEW 2
+
+Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga doloremque architecto dicta animi.
\ No newline at end of file
diff --git a/src/commons/img/user-1.jpg b/src/commons/img/user-1.jpg
new file mode 100644
index 0000000..4fc0e10
Binary files /dev/null and b/src/commons/img/user-1.jpg differ
diff --git a/src/commons/img/user-2.jpg b/src/commons/img/user-2.jpg
new file mode 100644
index 0000000..160fc64
Binary files /dev/null and b/src/commons/img/user-2.jpg differ
diff --git a/src/commons/img/user-3.jpg b/src/commons/img/user-3.jpg
new file mode 100644
index 0000000..3e1540b
Binary files /dev/null and b/src/commons/img/user-3.jpg differ
diff --git a/src/commons/img/user-4.jpg b/src/commons/img/user-4.jpg
new file mode 100644
index 0000000..abddef0
Binary files /dev/null and b/src/commons/img/user-4.jpg differ
diff --git a/src/commons/img/user-5.jpg b/src/commons/img/user-5.jpg
new file mode 100644
index 0000000..0a970ef
Binary files /dev/null and b/src/commons/img/user-5.jpg differ
diff --git a/src/commons/img/user-6.jpg b/src/commons/img/user-6.jpg
new file mode 100644
index 0000000..3391304
Binary files /dev/null and b/src/commons/img/user-6.jpg differ
diff --git a/src/commons/img/user.jpg b/src/commons/img/user.jpg
new file mode 100644
index 0000000..21e6b83
Binary files /dev/null and b/src/commons/img/user.jpg differ