Skip to content

Commit 6782c1e

Browse files
author
Jack Bonaguro
committed
Fixed mobile by not displaying diamonds, favicon and title now part of build script
1 parent b03a259 commit 6782c1e

20 files changed

+123
-53
lines changed

.eslintignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/build/
2+
/config/
3+
/dist/
4+
/*.js
5+
/test/unit/coverage/

.eslintrc.js

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
// https://eslint.org/docs/user-guide/configuring
2+
3+
module.exports = {
4+
root: true,
5+
parserOptions: {
6+
parser: 'babel-eslint'
7+
},
8+
env: {
9+
browser: true,
10+
},
11+
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
12+
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
13+
extends: ['plugin:vue/essential', 'airbnb-base'],
14+
// required to lint *.vue files
15+
plugins: [
16+
'vue'
17+
],
18+
// check if imports actually resolve
19+
settings: {
20+
'import/resolver': {
21+
webpack: {
22+
config: 'build/webpack.base.conf.js'
23+
}
24+
}
25+
},
26+
// add your custom rules here
27+
rules: {
28+
// don't require .vue extension when importing
29+
'import/extensions': ['error', 'always', {
30+
js: 'never',
31+
vue: 'never'
32+
}],
33+
// disallow reassignment of function parameters
34+
// disallow parameter object manipulation except for specific exclusions
35+
'no-param-reassign': ['error', {
36+
props: true,
37+
ignorePropertyModificationsFor: [
38+
'state', // for vuex state
39+
'acc', // for reduce accumulators
40+
'e' // for e.returnvalue
41+
]
42+
}],
43+
// allow optionalDependencies
44+
'import/no-extraneous-dependencies': ['error', {
45+
optionalDependencies: ['test/unit/index.js']
46+
}],
47+
// allow debugger during development
48+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
49+
}
50+
}

dist/index.html

+1-17
Original file line numberDiff line numberDiff line change
@@ -1,17 +1 @@
1-
<!DOCTYPE html>
2-
<html>
3-
<head>
4-
<meta charset=utf-8>
5-
<meta name=viewport content="width=device-width,initial-scale=1">
6-
<title>jackbonaguro.github.io</title>
7-
<link href=/static/css/app.da00d93be6ffe2369ad95a14733313b7.css rel=stylesheet>
8-
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
9-
<link rel="icon" type="image/x-icon" href="/favicon.ico">
10-
</head>
11-
<body>
12-
<div id=app></div>
13-
<script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script>
14-
<script type=text/javascript src=/static/js/vendor.1a266dd083146647abc5.js></script>
15-
<script type=text/javascript src=/static/js/app.fdac4edb37b2417dbba4.js></script>
16-
</body>
17-
</html>
1+
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>jackbonaguro.github.io</title><link href=/static/css/app.ced77a4c0af90818ad49a63414c06c64.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.cf760dacb34d11552ac2.js></script><script type=text/javascript src=/static/js/app.76570056f9eb5e6d0f34.js></script></body></html>

dist/static/css/app.ced77a4c0af90818ad49a63414c06c64.css

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/static/css/app.da00d93be6ffe2369ad95a14733313b7.css.map dist/static/css/app.ced77a4c0af90818ad49a63414c06c64.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/static/css/app.da00d93be6ffe2369ad95a14733313b7.css

-14
This file was deleted.

dist/static/js/app.76570056f9eb5e6d0f34.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/static/js/app.76570056f9eb5e6d0f34.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/static/js/app.fdac4edb37b2417dbba4.js

-2
This file was deleted.

dist/static/js/app.fdac4edb37b2417dbba4.js.map

-1
This file was deleted.

dist/static/js/manifest.2ae2e69a05c33dfc65f8.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/static/js/vendor.1a266dd083146647abc5.js.map

-1
This file was deleted.

dist/static/js/vendor.1a266dd083146647abc5.js dist/static/js/vendor.cf760dacb34d11552ac2.js

+16-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/static/js/vendor.cf760dacb34d11552ac2.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"bulma": "^0.7.1",
1818
"jquery": "^3.3.1",
1919
"vue": "^2.5.2",
20+
"vue-meta": "^1.5.5",
2021
"vue-router": "^3.0.1",
2122
"vue-scrollactive": "^0.7.1"
2223
},

src/App.vue

+12
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@ export default {
1717
components: {
1818
layout,
1919
},
20+
metaInfo: {
21+
link: [
22+
{ rel: 'favicon', href: '/favicon.ico' },
23+
{ rel: 'icon', href: '/favicon.ico' },
24+
{ rel: 'shortcut icon', href: '/favicon.ico' },
25+
],
26+
meta: [
27+
{ charset: 'utf-8' },
28+
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
29+
],
30+
title: 'Jack Bonaguro',
31+
},
2032
mounted() {
2133
// On load, add class to body for padding for the fixed navbar
2234
// document.body.classList.add('has-navbar-fixed-top');

src/components/Diamond.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
2-
<div class="outer">
3-
<div id="diamond" :style="style"></div>
2+
<div class="outer is-hidden-mobile">
3+
<div id="diamond" :style="style" class=""></div>
44
</div>
55
</template>
66

src/components/Home.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<div class="level-item"></div>
3838
<div class="level-item has-text-centered">
3939
<div>
40-
<p class="icon px4">
40+
<p class="icon">
4141
<a href="https://github.com/jackbonaguro">
4242
<i class="fab fa-github"></i>
4343
</a>
@@ -46,7 +46,7 @@
4646
</div>
4747
<div class="level-item has-text-centered">
4848
<div>
49-
<p class="icon px4">
49+
<p class="icon">
5050
<a href="https://twitter.com/jackbonaguro">
5151
<i class="fab fa-twitter"></i>
5252
</a>
@@ -55,7 +55,7 @@
5555
</div>
5656
<div class="level-item has-text-centered">
5757
<div>
58-
<p class="icon px4">
58+
<p class="icon">
5959
<a href="https://medium.com/@jbonaguro2">
6060
<i class="fab fa-medium"></i>
6161
</a>

src/components/Projects.vue

+11-5
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,16 @@
9494
to serve as an educational case study in decentralized application architecture.
9595
</p>
9696
<p class="px4 center">
97-
Github: <a href="https://github.com/BCGatech/blockchainpresentation">
98-
https://github.com/BCGatech/blockchainpresentation
99-
</a>
97+
Original Presentation: <a href="https://github.com/BCGatech/blockchainpresentation">
98+
https://github.com/BCGatech/blockchainpresentation</a>
99+
</p>
100+
<p class="px4 center">
101+
Voting Dapp using token: <a href="https://github.com/BCGatech/Voting">
102+
https://github.com/BCGatech/blockchainpresentation</a>
103+
</p>
104+
<p class="px4 center">
105+
Voting Dapp Demo: <a href="https://bcgatech.github.io/Voting">
106+
https://github.com/BCGatech/blockchainpresentation</a>
100107
</p>
101108
</div>
102109
<div v-show="activeTab === 'Slide'">
@@ -114,8 +121,7 @@
114121
</p>
115122
<p class="px4 center">
116123
Github: <a href="https://github.com/jackbonaguro/Slide">
117-
https://github.com/jackbonaguro/Slide
118-
</a>
124+
https://github.com/jackbonaguro/Slide</a>
119125
</p>
120126
</div>
121127
</div>

src/main.js

+2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
33
import Vue from 'vue';
44
import VueScrollactive from 'vue-scrollactive';
5+
import Meta from 'vue-meta';
56

67
import App from './App';
78
import router from './router';
89

910
Vue.config.productionTip = false;
1011

1112
Vue.use(VueScrollactive);
13+
Vue.use(Meta);
1214
/* eslint-disable no-new */
1315
new Vue({
1416
el: '#app',

0 commit comments

Comments
 (0)