Skip to content

Commit

Permalink
add balada puan
Browse files Browse the repository at this point in the history
  • Loading branch information
Fariz Rizaldy committed Mar 2, 2019
1 parent 14b7e06 commit a03ce95
Show file tree
Hide file tree
Showing 19 changed files with 8,618 additions and 0 deletions.
3 changes: 3 additions & 0 deletions balada/.browserslistrc
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not ie <= 8
5 changes: 5 additions & 0 deletions balada/.editorconfig
@@ -0,0 +1,5 @@
[*.{js,jsx,ts,tsx,vue}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
17 changes: 17 additions & 0 deletions balada/.eslintrc.js
@@ -0,0 +1,17 @@
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'@vue/standard'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: 'babel-eslint'
}
}
21 changes: 21 additions & 0 deletions balada/.gitignore
@@ -0,0 +1,21 @@
.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
19 changes: 19 additions & 0 deletions balada/README.md
@@ -0,0 +1,19 @@
# perih

Music by [Senja - Perih](https://www.youtube.com/watch?v=H7QOFLfOp1k). Please buy this song on [iTunes](https://itunes.apple.com/id/album/perih/1446628212?i=1446628214&app=itunes) if you like it!

[![Screenshot](https://file-pibypwoapm.now.sh/)](https://perih.now.sh)

<p align="center">
https://perih.now.sh
</p>

---

<div align="center">

[![Now](https://assets.zeit.co/image/upload/front/assets/design/black-now-triangle.png)](https://zeit.co/now/)

Powered by [Vue](https://vuejs.org) hosted on [Zeit Now](https://zeit.co/now)

</div>
5 changes: 5 additions & 0 deletions balada/babel.config.js
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/app'
]
}
17 changes: 17 additions & 0 deletions balada/now.json
@@ -0,0 +1,17 @@
{
"alias": "balada.now.sh",
"name": "happy-hour-balada",
"version": 2,
"builds": [
{ "src": "package.json", "use": "@now/static-build" }
],
"routes": [
{"src": "^/static/(.*)", "dest": "/static/$1"},
{"src": "^/favicon.ico", "dest": "/favicon.ico"},
{"src": "^/manifest.json", "dest": "/manifest.json"},
{"src": "^/music.mp3", "dest": "/music.mp3" },
{"src": "^/style.css", "dest": "/style.css" },
{"src": "^/bg.jpeg", "dest": "/bg.jpeg" },
{"src": "^/(.*)", "dest": "/index.html"}
]
}
28 changes: 28 additions & 0 deletions balada/package.json
@@ -0,0 +1,28 @@
{
"name": "perih",
"description": "kini kau bersamanya. Tak ada ruang untukku...",
"version": "1.0.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"now-build": "npm run build",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"vue": "^2.5.21"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.3.0",
"@vue/cli-plugin-eslint": "^3.3.0",
"@vue/cli-service": "^3.3.0",
"@vue/eslint-config-standard": "^4.0.0",
"babel-eslint": "^10.0.1",
"eslint": "^5.8.0",
"eslint-plugin-vue": "^5.0.0",
"vue-template-compiler": "^2.5.21"
},
"vue": {
"assetsDir": "static"
}
}
5 changes: 5 additions & 0 deletions balada/postcss.config.js
@@ -0,0 +1,5 @@
module.exports = {
plugins: {
autoprefixer: {}
}
}
Binary file added balada/public/bg.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added balada/public/favicon.ico
Binary file not shown.
24 changes: 24 additions & 0 deletions balada/public/index.html
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta
name="description"
content="Happy Hour by evilfactory.id. Just having fun"
/>
<meta name="theme-color" content="#000000" />
<link rel="manifest" href="<%= BASE_URL %>manifest.json" />
<link rel="stylesheet" href="<%= BASE_URL %>style.css" />
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>Happy Hour - Balada Puan</title>
</head>
<body>
<noscript>so, we hate JS, right?</noscript>
<div id="app"></div>
</body>
</html>
15 changes: 15 additions & 0 deletions balada/public/manifest.json
@@ -0,0 +1,15 @@
{
"short_name": "Hai",
"name": "Senja - Perih",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#000000"
}
Binary file added balada/public/music.mp3
Binary file not shown.
76 changes: 76 additions & 0 deletions balada/public/style.css
@@ -0,0 +1,76 @@
body {
background-color: #333333;
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Arial", "Roboto", "Helvetica Neue", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
margin: 0;
padding: 0;
transition: 0.3s all;
box-sizing: border-box;
opacity: 0;
}

a {
color: #ffffff;
display: block;
font-size: 16px;
padding-top: 10px;
text-decoration: none;
}

a:hover,
a:focus {
opacity: 0.6;
}

audio {
background-color: #eeeeee;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
}

audio::-webkit-media-controls-panel {
background-color: #eeeeee;
}

canvas {
width: 100%;
height: 100%;
transition: 0.8s all;
}

.o-lyrics {
box-sizing: border-box;
color: #ffffff;
font-size: 16px;
font-weight: bold;
height: 200px;
left: 0px;
margin-top: -100px;
padding: 1rem;
position: fixed;
top: 50%;
transition: 0.3s all;
width: 100%;
z-index: 1337;
}

@media screen and (min-width: 60em) {
.o-lyrics {
font-size: 2rem;
height: 500px;
left: 50%;
margin-left: -333px;
margin-top: -250px;
width: 666px;
}
}

@media screen and (min-width: 30em) {
canvas {
width: 100%;
height: 100vh;
}
}

0 comments on commit a03ce95

Please sign in to comment.