Skip to content

Commit

Permalink
Moved header
Browse files Browse the repository at this point in the history
  • Loading branch information
linjonathan2001 committed Jun 28, 2021
1 parent 4604663 commit e7f6ef6
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 18 deletions.
17 changes: 9 additions & 8 deletions .firebase/hosting.ZGlzdA.cache
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
index.html,1624807417819,9307124622ee70080d8d5dd029ee26861a3dde5cfc488f0e56e5b3d4e9ffa4fc
css/app.99cbf659.css,1624807417819,f78edfd523aef95240257bbc2197078c359884292fd025d1b4bf74e96331f727
404.html,1624807417819,05cbc6f94d7a69ce2e29646eab13be2c884e61ba93e3094df5028866876d18b3
js/app.7ced1397.js,1624807417829,60c2ac503bb513d9973ac9d67f7d419a15cfb54e13554768cdf1f0ffaafc7ce7
js/app.7ced1397.js.map,1624807417836,cbf8ad63c54457c218c8c32772eee45e872a06268ce8a7d19a56a34dfdcb279c
css/chunk-vendors.2e8cca34.css,1624807417834,66b9278b1b185558a5a1ecc92b77dbf289e27c0c296379ff7e77dd4b65a08879
js/chunk-vendors.22b6310e.js,1624807417835,e6e904b9a248e69339fb58f07abecd50fe2360e5c42563e3c4037bfb7ca94df9
js/chunk-vendors.22b6310e.js.map,1624807417837,675050ec9fd756374223aacfa63b1f7c6b5290fd96524dbdfd42ae0690f5ba15
404.html,1624836272094,05cbc6f94d7a69ce2e29646eab13be2c884e61ba93e3094df5028866876d18b3
css/app.b334d3e1.css,1624836272128,241d882c7f7c6f58abfc058bc2cc18e76be4cad3ca6bc7e7e1e467e36ab1b32f
index.html,1624836272102,055703e786750653499c6bbf6dee06190a95bc47d532854d122b9ab48554bd7d
js/app.30c05eb2.js,1624836272095,78fd702d186bf99a126652e12dad366f2f22c059d80fc32e640bac053b683f13
js/app.30c05eb2.js.map,1624836272126,c30e56adc25383b35947affd84a68993b721dfee49714289abbcc5a193a60ad7
css/chunk-vendors.5260220f.css,1624836272102,a4796944dfda84b3fcfa940394ae492be4cbcc4d754f128cc13781728e56da32
js/chunk-vendors.45bdbccc.js,1624836272102,01f7d2e6776d041cc0cc06db106b0396d53824d62f704fb64dcf8e751dc0323d
js/chunk-vendors.45bdbccc.js.map,1624836272130,254705997607115b759df160d5ffc7e53d8c7e3f6a055e930700ddf80a1b6e97
img/me.020f8955.png,1624836272126,8fdaffd701e83fbf0ebb7fd9645564ee3557bcd69a5d685e12acac606c5b61f1
13 changes: 12 additions & 1 deletion functions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,22 @@ exports.sendSlackMessage = functions.https.onRequest((req, res) => {
.post(functions.config().slack.url, req.query)
.then(function(response) {
// console.log(response);
res.status(200).send({ text: "Complete" });
res.status(200).send({ text: "Success" });
})
.catch(function(error) {
// console.log(error);
res.status(400).send({ text: "Error" });
});
});
});

exports.receiveSlackMessage = functions.https.onRequest((req, res) => {
cors(req, res, () => {
if (req.body.challenge !== undefined) {
res.status(200).send({ text: req.body.challenge });
} else {
console.log(req.body);
res.status(200).send({ text: "Success" });
}
});
});
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"axios": "^0.21.1",
"core-js": "^3.6.5",
"cors": "^2.8.5",
"express": "^4.17.1",
"firebase": "^8.6.8",
"firebase-admin": "^9.10.0",
"firebase-functions": "^3.14.1",
Expand Down
16 changes: 8 additions & 8 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import Vue from 'vue'
import Meta from 'vue-meta'
import App from './App.vue'
import vuetify from './plugins/vuetify'
import router from './router'
import Vue from "vue";
import Meta from "vue-meta";
import App from "./App.vue";
import vuetify from "./plugins/vuetify";
import router from "./router";

Vue.use(Meta)
Vue.use(Meta);

new Vue({
vuetify,
router,
render: (h) => h(App)
}).$mount('#app')
render: (h) => h(App),
}).$mount("#app");
2 changes: 1 addition & 1 deletion src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default {
position: absolute;
top: 0;
left: 24px;
display: inline-block;
max-width: 300px;
}
#name {
margin: 36px 8px 16px 8px;
Expand Down

0 comments on commit e7f6ef6

Please sign in to comment.