diff --git a/README.md b/README.md index 9872951..30e5b2a 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,10 @@ You can use Docker (instructions below), or simply host the website on a static First, install dependencies with `npm install` and then build the app with `npm run build`. Simple as that! The application is in the `dist` directory. +### Ko-fi advert + +By default, the default post shows a link to my Ko-fi profile. If you want to disable it, you can customize the defaultPost in `src/config.ts`, or set environment value `VITE_HIDE_DEVELOPER_KOFI_AD` to false. I appreciate if you decide to keep it. + ## Building with docker You can use docker for deploying a production ready instance of Mastopoet. diff --git a/package-lock.json b/package-lock.json index 4ad4241..815d14b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mastopoet", - "version": "0.0.0", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mastopoet", - "version": "0.0.0", + "version": "1.0.0", "dependencies": { "axios": "^1.4.0", "html2canvas": "^1.4.1", @@ -17,6 +17,7 @@ "@ronilaukkarinen/stylelint-a11y": "^1.2.7", "@ronilaukkarinen/stylelint-declaration-strict-value": "^1.9.2", "@ronilaukkarinen/stylelint-value-no-unknown-custom-properties": "^4.0.1", + "@types/node": "^20.4.5", "@types/react": "^18.2.15", "@types/react-dom": "^18.2.7", "@typescript-eslint/eslint-plugin": "^6.0.0", @@ -996,6 +997,12 @@ "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", "dev": true }, + "node_modules/@types/node": { + "version": "20.4.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.5.tgz", + "integrity": "sha512-rt40Nk13II9JwQBdeYqmbn2Q6IVTA5uPhvSO+JVqdXw/6/4glI6oR9ezty/A9Hg5u7JH4OmYmuQ+XvjKm0Datg==", + "dev": true + }, "node_modules/@types/normalize-package-data": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", diff --git a/package.json b/package.json index f111b60..a79788f 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "@ronilaukkarinen/stylelint-a11y": "^1.2.7", "@ronilaukkarinen/stylelint-declaration-strict-value": "^1.9.2", "@ronilaukkarinen/stylelint-value-no-unknown-custom-properties": "^4.0.1", + "@types/node": "^20.4.5", "@types/react": "^18.2.15", "@types/react-dom": "^18.2.7", "@typescript-eslint/eslint-plugin": "^6.0.0", diff --git a/src/App.tsx b/src/App.tsx index 9ca16f6..ee42d0e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -140,7 +140,10 @@ function App() { width={width} /> )} -
+
{post && ( <>