diff --git a/README.md b/README.md index c5e3312..43bc0cd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,26 @@ -# tweetscape +

+ + + + + +

-## How to use it +

T W E E T S C A P E

+ +
A WebVR experience displaying tweets along a 3D timeline
+ +

+ +

+ +## 🚀 How to use it + +### Clone the repo + +```bash +$ git clone git@github.com:pierrechls/tweetscape.git +``` ### Connect your Twitter API @@ -21,7 +41,6 @@ $ npm install $ npm run dev ``` - ### Serve the API port ```bash @@ -42,12 +61,17 @@ $ npm run lint ### Deploy your build -Before, you have to build for production. - ```bash $ npm run deploy ``` -## Prior installation +Set API production URL from the `default.json` file into `settings` folder. + +## 🛠 Prior installation You have to download [Node.js](https://nodejs.org/en/download/) + + +## 🎉 Credits + +Project developed by [Pierre Charles](https://github.com/pierrechls/), [Jules Tantot](https://github.com/lujlujluj) and [Victor Viale](https://github.com/Koroeskohr), 3 students of [IMAC](http://www.ingenieur-imac.fr/) Engineering school. diff --git a/client/assets/icons/cardboard.svg b/client/assets/icons/cardboard.svg new file mode 100644 index 0000000..f38518d --- /dev/null +++ b/client/assets/icons/cardboard.svg @@ -0,0 +1,32 @@ + + + + + + + + diff --git a/client/assets/icons/move-mouse.svg b/client/assets/icons/move-mouse.svg new file mode 100644 index 0000000..6ce1e27 --- /dev/null +++ b/client/assets/icons/move-mouse.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/client/assets/icons/smarthphone-orientation.svg b/client/assets/icons/smarthphone-orientation.svg new file mode 100644 index 0000000..c81ef19 --- /dev/null +++ b/client/assets/icons/smarthphone-orientation.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + diff --git a/client/assets/icons/spacebar.svg b/client/assets/icons/spacebar.svg new file mode 100644 index 0000000..1f7f3c1 --- /dev/null +++ b/client/assets/icons/spacebar.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + diff --git a/client/assets/icons/touch.svg b/client/assets/icons/touch.svg new file mode 100644 index 0000000..79c4fca --- /dev/null +++ b/client/assets/icons/touch.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + diff --git a/client/components/App.vue b/client/components/App.vue index 7f89cde..29084ca 100644 --- a/client/components/App.vue +++ b/client/components/App.vue @@ -34,6 +34,10 @@ @import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,200i,300,300i,400i,600,600i,700,700i,900,900i'); + html { + font-size: 100%; + } + body { margin: 0; font-size: 2rem; @@ -68,4 +72,34 @@ -ms-user-select: none; } + @media screen and (min-width: 1200px) { + html { + font-size: 110%; + } + } + + @media screen and (min-width: 1400px) { + html { + font-size: 120%; + } + } + + @media screen and (min-width: 1600px) { + html { + font-size: 130%; + } + } + + @media screen and (min-width: 1800px) { + html { + font-size: 140%; + } + } + + @media screen and (min-width: 1900px) { + html { + font-size: 150%; + } + } + diff --git a/client/components/Camera.vue b/client/components/Camera.vue index 9f5b627..e5090c1 100644 --- a/client/components/Camera.vue +++ b/client/components/Camera.vue @@ -1,5 +1,5 @@ diff --git a/client/components/Preloader.vue b/client/components/Preloader.vue index 776db18..dd1f1ce 100644 --- a/client/components/Preloader.vue +++ b/client/components/Preloader.vue @@ -1,21 +1,75 @@