Add Ko-fi overlay widget and update project version to 3.1.11

This commit is contained in:
Lechner Julian - FrauJulian
2025-07-07 15:15:52 +02:00
parent 008b4a393c
commit 9a57be79e4
3 changed files with 16 additions and 4896 deletions
+3 -4893
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -1,13 +1,13 @@
{
"name": "angular-portfolio-seite",
"version": "3.0.10",
"version": "3.1.11",
"scripts": {
"dev": "ng serve",
"dev": "npm run updateProjectVersion && ng serve",
"test": "ng test",
"clean": "del-cli dist && echo SUCCEED CLEAN",
"updatePackageVersions": "ng update @angular/cli @angular/core && ng update && npm update",
"updateProjectVersion": "npm version patch --no-git-tag-version && echo SUCCEED UPDATE VERSION",
"buildDevelopment": "npm run clean && npm run compress-images && ng build --configuration development && echo SUCCEED DEV BUILD && npm run updateProjectVersion",
"buildDevelopment": "npm run clean && ng build --configuration development && echo SUCCEED DEV BUILD && npm run updateProjectVersion",
"buildProduction": "npm run clean && ng build --configuration production && echo SUCCEED PROD BUILD && npm run updateProjectVersion",
"start": "node dist/server/server.mjs"
},
+10
View File
@@ -10,5 +10,15 @@
</head>
<body>
<app-root></app-root>
<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>
<script>
kofiWidgetOverlay.draw('fraujulian', {
'type': 'floating-chat',
'floating-chat.donateButton.text': 'Support me',
'floating-chat.donateButton.background-color': '#5bc0de',
'floating-chat.donateButton.text-color': '#323842'
});
</script>
</body>
</html>