Skip to content

Commit

Permalink
Update some packages to fix security issues
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjaeger committed Mar 26, 2024
1 parent 1c94239 commit d66214e
Show file tree
Hide file tree
Showing 4 changed files with 3,599 additions and 9,371 deletions.
23 changes: 13 additions & 10 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { defineUserConfig } from 'vuepress'
import type { DefaultThemeOptions } from 'vuepress'
import { defaultTheme } from '@vuepress/theme-default'
import { viteBundler } from '@vuepress/bundler-vite'

var path = require('path');

export default defineUserConfig<DefaultThemeOptions>({
export default ({
lang: 'en',
title: 'The Libre Solar Project',
description: 'Building Blocks for DC Energy Systems',
Expand All @@ -18,10 +16,11 @@ export default defineUserConfig<DefaultThemeOptions>({
['meta', { name: "msapplication-config", content: "/favicons/browserconfig.xml"}],
['meta', { name: "theme-color", content: "#ffffff"}],
],
theme: path.resolve(__dirname, './theme'),
themeConfig: {
theme: defaultTheme({
// set theme config here
logo: '/images/libresolar-logo-white-header.png',
darkMode: false,
colorMode: 'light',
colorModeSwitch: false,
navbar: [
{ text: 'Hardware', link: '/hardware/' },
{ text: 'Software', link: '/software/' },
Expand Down Expand Up @@ -110,7 +109,11 @@ export default defineUserConfig<DefaultThemeOptions>({
docsRepo: 'LibreSolar/libresolar.github.io',
docsDir: 'docs',
docsBranch: 'main',
editLinks: true,
editLink: true,
lastUpdated: true,
}
}),
bundler: viteBundler({
viteOptions: {},
vuePluginOptions: {},
}),
})
10 changes: 5 additions & 5 deletions docs/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,26 @@
display: none;
}

.navbar-links-wrapper {
.navbar-items-wrapper {
font-size: 1.1rem;
background-color: #005e85;
color: white;
}

.navbar-links {
.navbar-items {
a {
&:hover,
&.router-link-active {
&.route-link-active {
color: white;
margin-bottom: -2px;
border-bottom: 2px solid white;
}
}
}

.navbar-links-item > a:not(.external) {
.navbar-item > a:not(.external) {
&:hover,
&.router-link-active {
&.route-link-active {
margin-bottom: -2px;
border-bottom: 2px solid white;
}
Expand Down
Loading

0 comments on commit d66214e

Please sign in to comment.