Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When scrolling down the navbar at top hides automatically #214

Closed
wants to merge 2 commits into from

Conversation

Aashutoshbro
Copy link

Issue: #200
When scrolling down the navbar at top should hide automatically

Copy link

netlify bot commented Apr 27, 2024

Deploy Preview for startling-capybara-2231ea ready!

Name Link
🔨 Latest commit 461e12f
🔍 Latest deploy log https://app.netlify.com/sites/startling-capybara-2231ea/deploys/662e35e4eb018c0008cff809
😎 Deploy Preview https://deploy-preview-214--startling-capybara-2231ea.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@pavlenex
Copy link
Collaborator

pavlenex commented Apr 28, 2024

@Aashutoshbro Thanks for tackling, but build is failing :(

Run yarn build
yarn run v1.22.22
$ vuepress build src
wait Extracting site metadata...
tip Apply local theme at /home/runner/work/stratumprotocol.org/stratumprotocol.org/src/.vuepress/theme...
tip Apply theme local (extends @vuepress/theme-default) ...
tip Apply plugin container (i.e. "vuepress-plugin-container") ...
tip Apply plugin @vuepress/register-components (i.e. "@vuepress/plugin-register-components") ...
tip Apply plugin @vuepress/active-header-links (i.e. "@vuepress/plugin-active-header-links") ...
tip Apply plugin @vuepress/search (i.e. "@vuepress/plugin-search") ...
tip Apply plugin @vuepress/nprogress (i.e. "@vuepress/plugin-nprogress") ...
tip Apply plugin @vuepress/back-to-top (i.e. "@vuepress/plugin-back-to-top") ...
tip Apply plugin @vuepress/medium-zoom (i.e. "@vuepress/plugin-medium-zoom") ...
tip Apply plugin clean-urls (i.e. "vuepress-plugin-clean-urls") ...
tip Apply plugin code-copy (i.e. "vuepress-plugin-code-copy") ...
tip Apply plugin @vuepress/blog (i.e. "@vuepress/plugin-blog") ...
tip Apply plugin sitemap (i.e. "vuepress-plugin-sitemap") ...
tip Apply plugin @vuepress/last-updated (i.e. "@vuepress/plugin-last-updated") ...
[info] [webpackbar] Compiling Client
[info] [webpackbar] Compiling Server
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
[success] [webpackbar] Server: Compiled with some errors in 11.43s
[success] [webpackbar] Client: Compiled with some errors in 16.17s
(undefined) ./src/.vuepress/theme/components/Navbar.vue?vue&type=template&id=4cdaa9b8& (./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/@vuepress/core/node_modules/.cache/vuepress","cacheIdentifier":"38631ddc-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--3-0!./node_modules/babel-loader/lib??ref--3-1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/.vuepress/theme/components/Navbar.vue?vue&type=template&id=4cdaa9b8&)
Module build failed (from ./node_modules/vue-loader/lib/loaders/templateLoader.js):
SyntaxError: Unexpected token, expected ":" (6:6)
    at instantiate (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:72:32)
    at constructor (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:359:12)
    at Parser.raise (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:3339:19)
    at Parser.unexpected (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:3377:16)
    at Parser.expect (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:4006:28)
    at Parser.parseConditional (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12383:12)
    at Parser.parseMaybeConditional (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12375:17)
    at Parser.parseMaybeAssign (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12321:21)
    at /home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12279:39
    at Parser.allowInAnd (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:14352:12)
    at Parser.parseMaybeAssignAllowIn (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12279:17)
    at Parser.parseExprListItem (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:14057:18)
    at Parser.parseCallExpressionArguments (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12874:22)
    at Parser.parseCoverCallAndAsyncArrowHead (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12771:29)
    at Parser.parseSubscript (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12696:19)
    at Parser.parseSubscripts (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12665:19)
    at Parser.parseExprSubscripts (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12654:17)
    at Parser.parseUpdate (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12627:21)
    at Parser.parseMaybeUnary (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12598:23)
    at Parser.parseMaybeUnaryOrPrivate (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12392:61)
    at Parser.parseExprOps (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12399:23)
    at Parser.parseMaybeConditional (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12369:23)
    at Parser.parseMaybeAssign (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12321:21)
    at /home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12279:39
    at Parser.allowInAnd (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:14352:12)
    at Parser.parseMaybeAssignAllowIn (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12279:17)
    at Parser.parseObjectProperty (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:13768:101)
    at Parser.parseObjPropValue (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:13801:100)
 @ ./src/.vuepress/theme/components/Navbar.vue?vue&type=template&id=4cdaa9b8& 1:0-570 1:0-570
 @ ./src/.vuepress/theme/components/Navbar.vue
 @ ./node_modules/cache-loader/dist/cjs.js??ref--3-0!./node_modules/babel-loader/lib??ref--3-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/.vuepress/theme/layouts/Home.vue?vue&type=script&lang=js&
 @ ./src/.vuepress/theme/layouts/Home.vue?vue&type=script&lang=js&
 @ ./src/.vuepress/theme/layouts/Home.vue
 @ ./node_modules/@vuepress/core/.temp/internal/layout-components.js
 @ ./node_modules/@vuepress/core/lib/client/util.js
 @ ./node_modules/@vuepress/core/lib/client/app.js
 @ ./node_modules/@vuepress/core/lib/client/clientEntry.js
 @ multi ./node_modules/@vuepress/core/lib/client/clientEntry.js
(undefined) ./src/.vuepress/theme/components/Navbar.vue?vue&type=template&id=4cdaa9b8& (./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/@vuepress/core/node_modules/.cache/vuepress","cacheIdentifier":"b14bdcfc-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--3-0!./node_modules/babel-loader/lib??ref--3-1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/.vuepress/theme/components/Navbar.vue?vue&type=template&id=4cdaa9b8&)
Module build failed (from ./node_modules/vue-loader/lib/loaders/templateLoader.js):
SyntaxError: Unexpected token, expected ":" (6:6)
    at instantiate (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:72:32)
    at constructor (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:359:12)
    at Parser.raise (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:3339:19)
    at Parser.unexpected (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:3377:16)
    at Parser.expect (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:4006:28)
    at Parser.parseConditional (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12383:12)
    at Parser.parseMaybeConditional (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12375:17)
    at Parser.parseMaybeAssign (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12321:21)
    at /home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12279:39
    at Parser.allowInAnd (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:14352:12)
    at Parser.parseMaybeAssignAllowIn (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12279:17)
    at Parser.parseExprListItem (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:14057:18)
    at Parser.parseCallExpressionArguments (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12874:22)
    at Parser.parseCoverCallAndAsyncArrowHead (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12771:29)
    at Parser.parseSubscript (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12696:19)
    at Parser.parseSubscripts (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12665:19)
    at Parser.parseExprSubscripts (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12654:17)
    at Parser.parseUpdate (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12627:21)
    at Parser.parseMaybeUnary (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12598:23)
    at Parser.parseMaybeUnaryOrPrivate (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12392:61)
    at Parser.parseExprOps (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12399:23)
    at Parser.parseMaybeConditional (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12369:23)
    at Parser.parseMaybeAssign (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12321:21)
    at /home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12279:39
    at Parser.allowInAnd (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:14352:12)
    at Parser.parseMaybeAssignAllowIn (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:12279:17)
    at Parser.parseObjectProperty (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:13768:101)
    at Parser.parseObjPropValue (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@babel/parser/lib/index.js:13801:100)
 @ ./src/.vuepress/theme/components/Navbar.vue?vue&type=template&id=4cdaa9b8& 1:0-570 1:0-570
 @ ./src/.vuepress/theme/components/Navbar.vue
 @ ./node_modules/cache-loader/dist/cjs.js??ref--3-0!./node_modules/babel-loader/lib??ref--3-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/.vuepress/theme/layouts/Home.vue?vue&type=script&lang=js&
 @ ./src/.vuepress/theme/layouts/Home.vue?vue&type=script&lang=js&
 @ ./src/.vuepress/theme/layouts/Home.vue
 @ ./node_modules/@vuepress/core/.temp/internal/layout-components.js
 @ ./node_modules/@vuepress/core/lib/client/util.js
 @ ./node_modules/@vuepress/core/lib/client/app.js
 @ ./node_modules/@vuepress/core/lib/client/serverEntry.js
 @ multi ./node_modules/@vuepress/core/lib/client/serverEntry.js
Error: Failed to compile with errors.
    at /home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/@vuepress/core/lib/node/build/index.js:190:16
    at finalCallback (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/webpack/lib/MultiCompiler.js:254:12)
    at /home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/webpack/lib/MultiCompiler.js:277:6
    at done (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/neo-async/async.js:2931:13)
    at runCompilers (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/webpack/lib/MultiCompiler.js:181:48)
    at /home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/webpack/lib/MultiCompiler.js:188:7
    at /home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/webpack/lib/MultiCompiler.js:270:7
    at finalCallback (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/webpack/lib/Compiler.js:257:39)
    at /home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/webpack/lib/Compiler.js:273:13
    at AsyncSeriesHook.eval [as callAsync] (eval at create (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:33:1)
    at AsyncSeriesHook.lazyCompileHook (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/tapable/lib/Hook.js:154:20)
    at onCompiled (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/webpack/lib/Compiler.js:271:21)
    at /home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/webpack/lib/Compiler.js:681:15
    at AsyncSeriesHook.eval [as callAsync] (eval at create (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncSeriesHook.lazyCompileHook (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/tapable/lib/Hook.js:154:20)
    at /home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/webpack/lib/Compiler.js:678:31
    at AsyncSeriesHook.eval [as callAsync] (eval at create (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
    at AsyncSeriesHook.lazyCompileHook (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/tapable/lib/Hook.js:154:20)
    at /home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/webpack/lib/Compilation.js:1423:35
    at AsyncSeriesHook.eval [as callAsync] (eval at create (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
    at AsyncSeriesHook.lazyCompileHook (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/tapable/lib/Hook.js:154:20)
    at /home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/webpack/lib/Compilation.js:1414:32
    at eval (eval at create (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:17:1)
    at /home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/terser-webpack-plugin/dist/index.js:321:9
    at step (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/terser-webpack-plugin/dist/TaskRunner.js:87:9)
    at done (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/terser-webpack-plugin/dist/TaskRunner.js:98:30)
    at tryCatcher (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/cacache/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/runner/work/stratumprotocol.org/stratumprotocol.org/node_modules/cacache/node_modules/bluebird/js/release/promise.js:547:31)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants