-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump Docusaurus and other dependencies
- Loading branch information
Showing
5 changed files
with
8,856 additions
and
16,515 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,175 @@ | ||
import { themes } from "prism-react-renderer"; | ||
|
||
import type { Config } from "@docusaurus/types"; | ||
import type * as Preset from "@docusaurus/preset-classic"; | ||
|
||
const config: Config = { | ||
title: "Paweł Kosiec, Full-stack Cloud Developer", | ||
tagline: | ||
"Software engineer interested in personal growth and tech trends. Cloud-native and open-source enthusiast.", | ||
url: "https://kosiec.dev", | ||
baseUrl: "/", | ||
onBrokenLinks: "throw", | ||
onBrokenMarkdownLinks: "warn", | ||
favicon: "img/favicon.ico", | ||
|
||
// GitHub pages deployment config | ||
organizationName: "pkosiec", | ||
projectName: "website", | ||
|
||
customFields: { | ||
newsletter: { | ||
action: | ||
"https://dev.us14.list-manage.com/subscribe/post?u=4ed0fd1909674fddee53ac3e7&id=dfdcae99f5&f_id=004887e0f0", | ||
method: "post", | ||
emailFieldName: "EMAIL", | ||
firstNameFieldName: "FNAME", | ||
submitButtonName: "subscribe", | ||
tosURL: "https://mailchimp.com/legal/terms/", | ||
privacyPolicyURL: "https://www.intuit.com/privacy/statement/", | ||
serviceName: "Mailchimp", | ||
}, | ||
}, | ||
|
||
i18n: { | ||
defaultLocale: "en", | ||
locales: ["en"], | ||
}, | ||
plugins: [ | ||
"docusaurus-plugin-sass", | ||
[ | ||
"@docusaurus/plugin-ideal-image", | ||
{ | ||
quality: 85, | ||
max: 2000, | ||
min: 500, | ||
steps: 4, | ||
disableInDev: false, | ||
}, | ||
], | ||
], | ||
presets: [ | ||
[ | ||
"@docusaurus/preset-classic", | ||
{ | ||
docs: false, | ||
blog: { | ||
showReadingTime: true, | ||
editUrl: "https://github.com/pkosiec/website/tree/main/", | ||
feedOptions: { | ||
type: "all", | ||
copyright: `Copyright © ${new Date().getFullYear()} Paweł Kosiec`, | ||
}, | ||
}, | ||
theme: { | ||
customCss: [require.resolve("./src/css/custom.scss")], | ||
}, | ||
} satisfies Preset.Options, | ||
], | ||
], | ||
|
||
themeConfig: { | ||
image: "img/logo-small.png", | ||
metadata: [ | ||
{ | ||
name: "description", | ||
content: | ||
"I am software developer interested in technology and gadgets. Cloud-native and open-source enthusiast.", | ||
}, | ||
{ | ||
name: "keywords", | ||
content: | ||
"fullstack,frontend,backend,developer,engineer,go,golang,javascript,graphql,grpc,rest,react,reactjs,kubernetes,devops,cloud,cloud-native,cka,ckad,open-source,gophers,silesia", | ||
}, | ||
{ | ||
name: "twitter:card", | ||
content: "summary", | ||
}, | ||
], | ||
colorMode: { | ||
respectPrefersColorScheme: true, | ||
}, | ||
navbar: { | ||
hideOnScroll: false, | ||
title: "Paweł Kosiec", | ||
logo: { | ||
alt: "Paweł Kosiec Logo", | ||
src: "img/logo.svg", | ||
srcDark: "img/logo-white.svg", | ||
}, | ||
items: [ | ||
{ to: "/blog", label: "Blog", position: "left" }, | ||
{ to: "/projects", label: "Projects", position: "left" }, | ||
{ to: "/talks", label: "Talks", position: "left" }, | ||
], | ||
}, | ||
footer: { | ||
style: "light", | ||
links: [ | ||
{ | ||
title: "Connect", | ||
items: [ | ||
{ | ||
label: "Email me", | ||
href: "mailto:pawel@kosiec.dev", | ||
}, | ||
{ | ||
label: "LinkedIn", | ||
href: "https://www.linkedin.com/in/pkosiec", | ||
}, | ||
{ | ||
label: "Twitter", | ||
href: "https://twitter.com/pkosiec", | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "Discover", | ||
items: [ | ||
{ | ||
label: "About me", | ||
to: "/", | ||
}, | ||
{ | ||
label: "Projects", | ||
to: "/projects", | ||
}, | ||
{ | ||
label: "Talks", | ||
to: "/talks", | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "Blog feed", | ||
items: [ | ||
{ | ||
label: "RSS", | ||
to: "pathname:///blog/rss.xml", | ||
}, | ||
{ | ||
label: "Atom", | ||
to: "pathname:///blog/atom.xml", | ||
}, | ||
{ | ||
label: "JSON", | ||
to: "pathname:///blog/feed.json", | ||
}, | ||
], | ||
}, | ||
], | ||
copyright: `Copyright © 2012-${new Date().getFullYear()} Paweł Kosiec.`, | ||
}, | ||
algolia: { | ||
appId: "5DLGGOZ8KA", | ||
apiKey: "67ab853aa6285e51112a649d3cb51928", | ||
indexName: "kosiec", | ||
}, | ||
prism: { | ||
theme: themes.github, | ||
darkTheme: themes.dracula, | ||
}, | ||
} satisfies Preset.ThemeConfig, | ||
}; | ||
|
||
module.exports = config; |
Oops, something went wrong.