Skip to content

Commit

Permalink
enable narbar hideOnScroll
Browse files Browse the repository at this point in the history
  • Loading branch information
1330Petrel committed Feb 18, 2025
1 parent 5295ab8 commit 0e058e8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { themes as prismThemes } from 'prism-react-renderer';
import type { Config } from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';

// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)

const config: Config = {
title: '清华大学自动化系学生科协',
tagline: 'ASTAers are cool',
Expand Down Expand Up @@ -71,6 +69,7 @@ const config: Config = {
},
},
navbar: {
hideOnScroll: true,
title: '自动化系学生科协',
logo: {
alt: '自动化系学生科协',
Expand Down

0 comments on commit 0e058e8

Please sign in to comment.