Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Commit

Permalink
Added 'Fork me' image & Increase window page offset for menu color ch…
Browse files Browse the repository at this point in the history
…ange
  • Loading branch information
FaZeRs committed Jul 27, 2018
1 parent 9595ca0 commit 52857e1
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
31 changes: 30 additions & 1 deletion public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -20004,6 +20004,9 @@ if(false) {
//
//
//
//
//
//



Expand Down Expand Up @@ -20083,7 +20086,7 @@ if(false) {
},
methods: {
onScroll: function onScroll(e) {
if (window.pageYOffset > 300) {
if (window.pageYOffset > 310) {
this.color = 'blue darken-3';
} else {
this.color = 'transparent';
Expand Down Expand Up @@ -44008,6 +44011,32 @@ var render = function() {
"v-app",
{ attrs: { id: "inspire", light: "" } },
[
_c(
"a",
{
attrs: {
href: "https://github.com/FaZeRs/naurislinde.com",
target: "_blank"
}
},
[
_c("img", {
staticStyle: {
position: "fixed",
top: "0",
left: "0",
border: "0",
"z-index": "100"
},
attrs: {
src:
"https://s3.amazonaws.com/github/ribbons/forkme_left_red_aa0000.png",
alt: "Fork me on GitHub"
}
})
]
),
_vm._v(" "),
_c("nav-bar"),
_vm._v(" "),
_c(
Expand Down
3 changes: 3 additions & 0 deletions resources/assets/js/layouts/default.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<template>
<v-app id="inspire" light>
<a href="https://github.com/FaZeRs/naurislinde.com" target="_blank">
<img style="position: fixed; top: 0; left: 0; border: 0; z-index: 100" src="https://s3.amazonaws.com/github/ribbons/forkme_left_red_aa0000.png" alt="Fork me on GitHub">
</a>
<nav-bar/>
<v-jumbotron :src="jumbotronBg" gradient="to top right, rgba(63,81,181, .7), rgba(25,32,72, .7)" dark>
<v-container fill-height text-xs-center>
Expand Down
2 changes: 1 addition & 1 deletion resources/assets/js/partials/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default {
}),
methods: {
onScroll (e) {
if (window.pageYOffset > 300) {
if (window.pageYOffset > 310) {
this.color = 'blue darken-3'
} else {
this.color = 'transparent'
Expand Down

0 comments on commit 52857e1

Please sign in to comment.