├── .gitignore ├── src ├── App.vue ├── assets │ ├── logo.png │ ├── banner.png │ ├── mount.jpeg │ ├── banner-test.jpg │ ├── mount-square.jpg │ └── icons │ │ ├── icon-72x72.png │ │ ├── icon-96x96.png │ │ ├── icon-128x128.png │ │ ├── icon-144x144.png │ │ ├── icon-152x152.png │ │ ├── icon-192x192.png │ │ ├── icon-384x384.png │ │ └── icon-512x512.png ├── main.js ├── index.css ├── router │ └── index.js ├── components │ ├── List.vue │ ├── Card.vue │ └── Navbar.vue └── views │ ├── Home.vue │ └── View.vue ├── .vscode └── extensions.json ├── public └── favicon.ico ├── postcss.config.js ├── vite.config.js ├── tailwind.config.js ├── package.json ├── README.md ├── index.html └── manifest.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["johnsoncodehk.volar"] 3 | } 4 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/or-abdillh/travel-app-3/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/or-abdillh/travel-app-3/HEAD/src/assets/logo.png -------------------------------------------------------------------------------- /src/assets/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/or-abdillh/travel-app-3/HEAD/src/assets/banner.png -------------------------------------------------------------------------------- /src/assets/mount.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/or-abdillh/travel-app-3/HEAD/src/assets/mount.jpeg -------------------------------------------------------------------------------- /src/assets/banner-test.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/or-abdillh/travel-app-3/HEAD/src/assets/banner-test.jpg -------------------------------------------------------------------------------- /src/assets/mount-square.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/or-abdillh/travel-app-3/HEAD/src/assets/mount-square.jpg -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /src/assets/icons/icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/or-abdillh/travel-app-3/HEAD/src/assets/icons/icon-72x72.png -------------------------------------------------------------------------------- /src/assets/icons/icon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/or-abdillh/travel-app-3/HEAD/src/assets/icons/icon-96x96.png -------------------------------------------------------------------------------- /src/assets/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/or-abdillh/travel-app-3/HEAD/src/assets/icons/icon-128x128.png -------------------------------------------------------------------------------- /src/assets/icons/icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/or-abdillh/travel-app-3/HEAD/src/assets/icons/icon-144x144.png -------------------------------------------------------------------------------- /src/assets/icons/icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/or-abdillh/travel-app-3/HEAD/src/assets/icons/icon-152x152.png -------------------------------------------------------------------------------- /src/assets/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/or-abdillh/travel-app-3/HEAD/src/assets/icons/icon-192x192.png -------------------------------------------------------------------------------- /src/assets/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/or-abdillh/travel-app-3/HEAD/src/assets/icons/icon-384x384.png -------------------------------------------------------------------------------- /src/assets/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/or-abdillh/travel-app-3/HEAD/src/assets/icons/icon-512x512.png -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue' 2 | import App from './App.vue' 3 | import router from './router' 4 | import './index.css' 5 | 6 | createApp(App) 7 | .use(router) 8 | .mount('#app') 9 | -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import vue from '@vitejs/plugin-vue' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [vue()], 7 | define: { 8 | 'process.env': {} 9 | } 10 | }) 11 | -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | purge: [ 3 | './src/**/*.html', 4 | './src/**/*.vue', 5 | './src/**/*.jsx' 6 | ], 7 | darkMode: false, // or 'media' or 'class' 8 | theme: { 9 | extend: { 10 | fontSize: { 11 | 'xxs': '.75rem', 12 | 'xxxs': '.65rem', 13 | 'xxxxs': '.55rem', 14 | 'xxxxxs': '.35rem' 15 | } 16 | } 17 | }, 18 | variants: { 19 | extend: {}, 20 | }, 21 | plugins: [], 22 | } 23 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "travel-app-3", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "dev": "vite", 6 | "build": "vite build", 7 | "serve": "vite preview" 8 | }, 9 | "dependencies": { 10 | "autoprefixer": "^10.4.0", 11 | "postcss": "^8.4.4", 12 | "tailwindcss": "^2.2.19", 13 | "vue": "^3.2.16", 14 | "vue-router": "^4.0.12" 15 | }, 16 | "devDependencies": { 17 | "@vitejs/plugin-vue": "^1.9.3", 18 | "vite": "^2.6.4" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | 5 | /* Reset CSS */ 6 | * { 7 | margin: 0; 8 | padding: 0; 9 | font-family: 'Montserrat', Sans-Serif; 10 | font-size: 24px; 11 | -ms-overflow-style: none; 12 | scrollbar-width: none; 13 | } 14 | 15 | *::-webkit-scrollbar { 16 | display: none; 17 | } 18 | 19 | body { 20 | background: #EEEEEE; 21 | } 22 | 23 | .app { 24 | @apply bg-white md:w-8/12 mx-auto lg:w-5/12 xl:w-4/12; 25 | } -------------------------------------------------------------------------------- /src/router/index.js: -------------------------------------------------------------------------------- 1 | import { createRouter, createWebHistory } from 'vue-router' 2 | 3 | //import views component 4 | import Home from '../views/Home.vue' 5 | import View from '../views/View.vue' 6 | 7 | //Routes 8 | const routes = [ 9 | { 10 | name: 'home', 11 | path: '/', 12 | component: Home 13 | }, 14 | { 15 | name: 'view', 16 | path: '/view', 17 | component: View 18 | } 19 | ] 20 | 21 | //Init router 22 | const router = createRouter({ history: createWebHistory(process.env.BASE_URL), routes }) 23 | 24 | export default router 25 | -------------------------------------------------------------------------------- /src/components/List.vue: -------------------------------------------------------------------------------- 1 | 15 | 35 | 36 | 41 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

Travel App

2 |

Slicing project #05

3 | 4 | 5 | 6 | ### About 7 | This is my projects to make UI using front end tech 8 | 9 | Where the ideas and the concept i use from any other designer UI/UX from Instagram or Dribbble 10 | 11 | ### Original design 12 | by [@cirrustudio](https://instagram.com/cirrustudio?utm_medium=copy_link) 13 | 14 | ### Languages and Tools 15 | - Vue Js 3 16 | - Tailwindcss 17 | - Google Font Montserrat 18 | - FontAwesome 19 | - Termux 20 | - Vite Js 21 | - Acode code editor 22 | 23 | ### Responsive Test 24 | Test via [Am I Responsive](http://ami.responsivedesign.is/) 25 | 26 | 27 | ### Clone This Repo 28 | - git clone https://github.com/or-abdillh/travel-app-3.git 29 | - cd travel-app-3 30 | - npm install 31 | - npm run dev 32 | 33 | ### Demo 34 | - [Travel App](https://travel-app-3.vercel.app/) 35 | - [Reels Instagram](https://www.instagram.com/reel/CXFyzdwlr0T/?utm_medium=copy_link) 36 | 37 | [Oka R Abdillah ](http://github.com/or-abdillh) 38 |
39 | Last edited on : 5/12/2021 -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | Project Slicing UI - Travel App 3 18 | 19 | 20 |
21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/components/Card.vue: -------------------------------------------------------------------------------- 1 | 19 | 20 | 39 | 40 | -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Travel App 3", 3 | "short_name": "Travel App 3", 4 | "theme_color": "#FFFFFF", 5 | "background_color": "#fff", 6 | "display": "standalone", 7 | "orientation": "porsrc/trait", 8 | "scope": "\/", 9 | "start_url": "\/", 10 | "icons": [ 11 | { 12 | "src": "src/assets/icons/icon-72x72.png", 13 | "sizes":"72x72", 14 | "type": "image\/png" 15 | }, 16 | { 17 | "src": "src/assets/icons/icon-96x96.png", 18 | "sizes": "96x96", 19 | "type": "image\/png" 20 | }, 21 | { 22 | "src": "src/assets/icons/icon-128x128.png", 23 | "sizes": "128x128", 24 | "type": "image\/png" 25 | }, 26 | { 27 | "src": "src/assets/icons/icon-144x144.png", 28 | "sizes": "144x144", 29 | "type": "image\/png" 30 | }, 31 | { 32 | "src": "src/assets/icons/icon-152x152.png", 33 | "sizes": "152x152", 34 | "type": "image\/png" 35 | }, 36 | { 37 | "src": "src/assets/icons/icon-192x192.png", 38 | "sizes": "192x192", 39 | "type": "image\/png" 40 | }, 41 | { 42 | "src": "src/assets/icons/icon-384x384.png", 43 | "sizes": "384x384", 44 | "type": "image\/png" 45 | }, 46 | { 47 | "src": "src/assets/icons/icon-512x512.png", 48 | "sizes": "512x512", 49 | "type": "image\/png" 50 | } 51 | ] 52 | } -------------------------------------------------------------------------------- /src/components/Navbar.vue: -------------------------------------------------------------------------------- 1 | 10 | 28 | 29 | 55 | -------------------------------------------------------------------------------- /src/views/Home.vue: -------------------------------------------------------------------------------- 1 | 19 | 20 | 64 | 65 | -------------------------------------------------------------------------------- /src/views/View.vue: -------------------------------------------------------------------------------- 1 | 20 | 80 | 81 | 89 | --------------------------------------------------------------------------------