Skip to content

Commit

Permalink
Bump Docusaurus and other dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pkosiec committed Feb 13, 2024
1 parent 0e96bdb commit ff69d7b
Show file tree
Hide file tree
Showing 5 changed files with 8,856 additions and 16,515 deletions.
182 changes: 0 additions & 182 deletions docusaurus.config.js

This file was deleted.

175 changes: 175 additions & 0 deletions docusaurus.config.ts
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;
Loading

0 comments on commit ff69d7b

Please sign in to comment.