Skip to content

Commit

Permalink
cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
boonboonsiri committed Aug 9, 2024
1 parent 8a5e8fe commit a1bbef2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 15 deletions.
28 changes: 14 additions & 14 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const config = {
tagline: 'Software Engineer',
favicon: 'img/favicon.png',

// Set the production url of your site here
url: 'https://boonboonsiri.github.io',
staticDirectories: ['static'],

Expand All @@ -34,9 +33,6 @@ const config = {
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',

// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en'],
Expand All @@ -51,13 +47,16 @@ const config = {
sidebarPath: './sidebars.js',
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:'https://github.com/boonboonsiri/boonboonsiri-personal-site',
// editUrl:'https://github.com/boonboonsiri/boonboonsiri-personal-site',
path: 'home',
routeBasePath: 'photography',
breadcrumbs: false,

},
theme: {
// customCss: './src/css/custom.css',
customCss: require.resolve('./src/css/custom.scss'),

},
}),
],
Expand All @@ -66,12 +65,13 @@ const config = {
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// Replace with your project's social card

navbar: {
title: 'Boon Boonsiri',
logo: {
alt: 'My Site Logo',
src: 'img/favicon.png',
},
// logo: {
// alt: 'My Site Logo',
// src: 'img/favicon.png',
// },
items: [
{
type: 'docSidebar',
Expand All @@ -80,11 +80,11 @@ const config = {
label: 'Photography',
},
{to: 'blog', label: 'Blog', position: 'left'}, // or position: 'right'
{
href: 'https://github.com/boonboonsiri/boonboonsiri-personal-site',
label: 'GitHub',
position: 'right',
},
// {
// href: 'https://github.com/boonboonsiri/boonboonsiri-personal-site',
// label: 'GitHub',
// position: 'right',
// },
],
},
}),
Expand Down
11 changes: 10 additions & 1 deletion src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
}

.docs-wrapper {

h2 {
font-family: "source-serif-pro", serif;
font-weight: 700;
Expand All @@ -46,9 +45,19 @@
}

}
.tableOfContents_node_modules-\@docusaurus-theme-classic-lib-theme-TOC-styles-module {
display: none
}

.navbar {
box-shadow: none;
// background-color: rgba(255, 255, 255, 0.3); /* White background with transparency */
// backdrop-filter: blur(10px); /* Blur effect */
// -webkit-backdrop-filter: blur(10px); /* Safari support */
// // border: 1px solid rgba(255, 255, 255, 0.18); /* Optional border */
// box-shadow: 0 4px 6px rgba(0, 0, 0, 0.0); /* Optional shadow for depth */
// // padding: 20px; /* Padding inside the element */
// // color: #333; /* Text color */
}

::selection {
Expand Down

0 comments on commit a1bbef2

Please sign in to comment.