refactor: "minor" changes.. to a bit of everything, yea
- Restructure en.json & de.json into nested keys and update all templates - Extract shared markdown logic into MarkdownService - Fix SSR route configuration breaking Express REST requests for /admin - Fix terminal emulator mobile layout shrink-to-fit bug on About page - Refresh Socials & Portfolio layouts, styles, and buttons (extracted osu.svg, added Club Penguin button) - Update Privacy Policy content and clean up its template layout - Let Gemini write this commit message because I am too lazy to write up all the changes myself
This commit is contained in:
1 parent
eaf936f846
commit
7651374e3d
21 files changed
+274
-240
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 171 KiB |
@@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="512" height="512" viewBox="0 0 50 50">
|
||||||
|
<path d="M 25 3 C 12.85 3 3 12.85 3 25 C 3 37.15 12.85 47 25 47 C 37.15 47 47 37.15 47 25 C 47 12.85 37.15 3 25 3 z M 38 18 L 40 18 L 40 26 L 38 26 L 38 18 z M 14.048828 20.898438 C 14.523828 20.898438 14.995078 20.968719 15.455078 21.136719 C 16.701078 21.591719 17.454875 22.528516 17.796875 23.853516 C 17.936875 24.396516 17.994047 24.950641 17.998047 25.556641 C 17.988047 26.368641 17.875859 27.204516 17.505859 27.978516 C 16.940859 29.161516 16.01125 29.820578 14.78125 30.017578 C 14.50125 30.063578 14.222359 30.087891 13.943359 30.087891 C 13.484359 30.087891 13.028078 30.022094 12.580078 29.871094 C 11.402078 29.474094 10.664438 28.608531 10.273438 27.394531 C 10.019438 26.604531 9.9594844 25.791844 10.021484 24.964844 C 10.082484 24.155844 10.271641 23.3835 10.681641 22.6875 C 11.270641 21.6865 12.138375 21.129891 13.234375 20.962891 C 13.506375 20.921891 13.777828 20.898437 14.048828 20.898438 z M 23.263672 20.90625 C 23.311672 20.90625 23.359203 20.90525 23.408203 20.90625 C 24.174203 20.92025 24.914719 21.08175 25.636719 21.34375 C 25.684719 21.36075 25.731656 21.369172 25.722656 21.451172 C 25.658656 22.018172 25.52025 22.562172 25.28125 23.076172 C 25.27625 23.086172 25.269531 23.095703 25.269531 23.095703 C 24.905531 22.985703 24.559125 22.862297 24.203125 22.779297 C 23.960125 22.723297 23.71475 22.689453 23.46875 22.689453 C 23.26175 22.689453 23.055609 22.712625 22.849609 22.765625 C 22.612609 22.827625 22.399594 22.935172 22.308594 23.201172 C 22.187594 23.553172 22.304859 23.909688 22.630859 24.054688 C 22.986859 24.213687 23.360562 24.325984 23.726562 24.458984 C 24.047563 24.575984 24.377453 24.674453 24.689453 24.814453 C 25.518453 25.186453 25.930234 25.872547 25.990234 26.810547 C 26.041234 27.598547 25.862562 28.307344 25.351562 28.902344 C 24.908562 29.416344 24.344703 29.716391 23.720703 29.900391 C 23.262703 30.035391 22.796125 30.082031 22.328125 30.082031 C 22.101125 30.082031 21.875438 30.071687 21.648438 30.054688 C 21.046437 30.010687 20.466391 29.857625 19.900391 29.640625 C 19.837391 29.616625 19.815266 29.587625 19.822266 29.515625 C 19.882266 28.935625 20.028906 28.381609 20.253906 27.849609 C 20.260906 27.831609 20.269203 27.815156 20.283203 27.785156 C 20.325203 27.801156 20.36625 27.814078 20.40625 27.830078 C 20.99625 28.065078 21.599516 28.220703 22.228516 28.220703 C 22.290516 28.220703 22.352062 28.218844 22.414062 28.214844 C 22.734063 28.198844 23.046984 28.147422 23.333984 27.982422 C 23.717984 27.761422 23.861719 27.434531 23.761719 27.019531 C 23.722719 26.859531 23.647813 26.721391 23.507812 26.650391 C 23.278813 26.534391 23.045687 26.421891 22.804688 26.337891 C 22.370687 26.184891 21.926188 26.06125 21.492188 25.90625 C 21.171187 25.79125 20.884047 25.604047 20.623047 25.373047 C 20.258047 25.050047 20.085391 24.624625 20.025391 24.140625 C 19.957391 23.593625 19.985219 23.054016 20.199219 22.541016 C 20.485219 21.854016 21.003391 21.434781 21.650391 21.175781 C 22.170391 20.966781 22.713672 20.90625 23.263672 20.90625 z M 29.070312 21.007812 C 29.437313 21.007812 29.805781 21.040375 30.175781 21.109375 L 30.175781 21.267578 C 30.176781 22.859578 30.170594 24.450969 30.183594 26.042969 C 30.186594 26.363969 30.236641 26.690906 30.306641 27.003906 C 30.447641 27.634906 30.835828 27.986312 31.423828 28.070312 C 31.580828 28.092312 31.738531 28.103516 31.894531 28.103516 C 32.159531 28.103516 32.422547 28.073578 32.685547 28.017578 C 32.780547 27.997578 32.810547 27.958609 32.810547 27.849609 C 32.807547 25.654609 32.808594 23.460625 32.808594 21.265625 L 32.808594 21.109375 C 33.173594 21.040375 33.534484 21.007812 33.896484 21.007812 C 34.261484 21.007812 34.627094 21.041375 34.996094 21.109375 L 34.996094 21.236328 C 34.996094 23.963328 34.995047 26.690969 34.998047 29.417969 C 34.998047 29.514969 34.972625 29.550125 34.890625 29.578125 C 33.934625 29.898125 32.962703 30.082031 31.970703 30.082031 C 31.778703 30.082031 31.586578 30.0765 31.392578 30.0625 C 30.877578 30.0245 30.361094 29.973344 29.871094 29.777344 C 28.944094 29.407344 28.421156 28.647578 28.160156 27.642578 C 28.006156 27.050578 27.96975 26.442078 27.96875 25.830078 C 27.96575 24.293078 27.96875 22.75575 27.96875 21.21875 C 27.96875 21.18475 27.970656 21.150375 27.972656 21.109375 C 28.339656 21.041375 28.705312 21.007812 29.070312 21.007812 z M 13.972656 22.787109 C 13.914656 22.787109 13.856828 22.789922 13.798828 22.794922 C 13.297828 22.833922 12.904734 23.075594 12.677734 23.558594 C 12.573734 23.780594 12.490547 24.019766 12.435547 24.259766 C 12.284547 24.920766 12.287609 25.592672 12.349609 26.263672 C 12.386609 26.669672 12.472437 27.064594 12.648438 27.433594 C 12.814438 27.780594 13.057109 28.039156 13.412109 28.160156 C 13.606109 28.226156 13.801094 28.259766 13.996094 28.259766 C 14.199094 28.259766 14.401516 28.223391 14.603516 28.150391 C 15.060516 27.985391 15.307891 27.61225 15.462891 27.15625 C 15.642891 26.62625 15.681453 26.073266 15.689453 25.447266 C 15.683453 25.3Line truncated
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 5.3 KiB |
+59
-51
@@ -1,46 +1,54 @@
|
|||||||
{
|
{
|
||||||
"NAV_ABOUT": "Über",
|
"common": {
|
||||||
"FOOTER_LINK": "Impressum & Datenschutzerklärung",
|
"time": {
|
||||||
|
"format": "H:mm",
|
||||||
"TECHSTACK_LANGS": "Sprachen",
|
"prefix": "um ",
|
||||||
"TECHSTACK_DBS": "Datenbanken",
|
"suffix": " Uhr"
|
||||||
|
},
|
||||||
"ABOUT_SUB": "Web-Entwickler & Grafik Designer",
|
"btn": {
|
||||||
"ABOUT": "Hallo! Ich bin Michael. Ich lebe im alpinen Land des Schnitzels (von manchen auch unter dem eher groben Namen Österreich bekannt) und programmiere und gestalte gerne Grafiken. Diese Leidenschaft begleitet mich schon seit vielen Jahren und ich bin damit aufgewachsen. Auf dem Weg habe ich viel gelernt – aber in der sich ständig weiterentwickelnden Welt der Technik hört man nie auf, neue Dinge zu entdecken!</p><p>Meine Stärke liegt im Frontend-Webdevelopment, also darin, Webseiten zu entwickeln und passende Grafiken dafür zu gestalten. Diese gesamte Seite wurde übrigens von mir selbst erstellt und ist ein gutes Beispiel dafür, wie ich Dinge designe. Alle Grafiken (bis auf ein paar Font Awesome Icons) stammen ebenfalls von mir!<br>Wenn du noch mehr Beispiele sehen möchtest, schau dir gerne mein <a href=\"/portfolio\" class=\"green\">Portfolio</a> an!</p>",
|
"about": "Über",
|
||||||
|
"share": "Teilen",
|
||||||
"PORTF_TITLE": "Mein Portfolio",
|
"back": "Zurück"
|
||||||
"PORTF_SUB": "Projekte & Designs",
|
},
|
||||||
"PORTFOLIO": "Willkommen zu meinem Portfolio!<br><br>Ich mache seit einigen Jahren Grafikdesign, aber werde auch langsam besser im programmieren und du wirst bald vielleicht ein paar Projekte von meinem <a href=\"https://github.com/itzminey\" target=\"_blank\">GitHub</a> hier sehen!<br>Wenn du magst was ich erstelle, würde ich mich freuen wenn du mir auf meinen <a href=\"/socials\">Socials</a> folgs und wenn du dich sehr großzügig fühlst kannst du mir eine kleine Spende auf meinem <a href=\"https://ko-fi.com/itzminey\" target=\"_blank\">Ko-Fi</a> hinterlassen!",
|
"footer": { "linktext": "Impressum & Datenschutzerklärung" }
|
||||||
|
|
||||||
"SOCIALS_SUB": "Man kann mich an vielen Orten finden",
|
|
||||||
"SOCIALS_GAMES": "Spiele",
|
|
||||||
"SOCIALS_COMMS": "Spenden & Freelancing Aufträge",
|
|
||||||
|
|
||||||
"BLOG_SUB": "(Sehr) irreguläre updates",
|
|
||||||
|
|
||||||
"ARTICLES_NONE": "Noch keine Artikel!",
|
|
||||||
"ARTICLE_NOTFOUND": "Artikel wurde nicht gefunden!",
|
|
||||||
|
|
||||||
"TIME": {
|
|
||||||
"FORMAT": "H:mm",
|
|
||||||
"PREFIX": "um ",
|
|
||||||
"SUFFIX": " Uhr"
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"BUTTONS": {
|
"about": {
|
||||||
"SHARE": "Teilen",
|
"subtext": "Web-Entwickler & Grafik Designer",
|
||||||
"BACK": "Zurück"
|
"terminal": {
|
||||||
|
"intro": "<p>Hallo! Ich bin Michael. Ich lebe im alpinen Land des Schnitzels (von manchen auch unter dem eher groben Namen Österreich bekannt) und programmiere und gestalte gerne Grafiken. Diese Leidenschaft begleitet mich schon seit vielen Jahren und ich bin damit aufgewachsen. Auf dem Weg habe ich viel gelernt – aber in der sich ständig weiterentwickelnden Welt der Technik hört man nie auf, neue Dinge zu entdecken!</p><p>Meine Stärke liegt im Frontend-Webdevelopment, also darin, Webseiten zu entwickeln und passende Grafiken dafür zu gestalten. Diese gesamte Seite wurde übrigens von mir selbst erstellt und ist ein gutes Beispiel dafür, wie ich Dinge designe. Alle Grafiken (bis auf ein paar Font Awesome Icons) stammen ebenfalls von mir!<br>Wenn du noch mehr Beispiele sehen möchtest, schau dir gerne mein <a href=\"/portfolio\" class=\"green\">Portfolio</a> an!</p>",
|
||||||
|
"langs": "Sprachen",
|
||||||
|
"dbs": "Datenbanken"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"RELEASED_AT": "Publikationsdatum",
|
"portf": {
|
||||||
"UPDATED_AT": "Letzte Änderung",
|
"title": "Mein Portfolio",
|
||||||
|
"subtext": "Projekte & Designs",
|
||||||
|
"intro": "Willkommen zu meinem Portfolio!<br><br>Ich mache seit einigen Jahren Grafikdesign, aber werde auch langsam besser im programmieren und du wirst bald vielleicht ein paar Projekte von meinem <a href=\"https://github.com/itzminey\" target=\"_blank\">GitHub</a> hier sehen! Einige davon sind auch schon auf meiner selbstgehosteten <a href=\"https://git.itzminey.dev/itzminey\" target=\"_blank\">Gitea</a> Instanz verfügbar!"
|
||||||
|
},
|
||||||
|
|
||||||
"IMP_TITLE": "Impressum",
|
"socials": {
|
||||||
"IMPRINT": "Diese Website wird betrieben von Michael Reisinger in Österreich, erreichbar unter:",
|
"subtext": "Man kann mich an vielen Orten finden",
|
||||||
|
"games": "Spiele"
|
||||||
|
},
|
||||||
|
|
||||||
|
"blog": {
|
||||||
|
"subtext": "(Sehr) irreguläre updates",
|
||||||
|
"list": {
|
||||||
|
"empty": "Noch keine Artikel!",
|
||||||
|
"err": "Error: Konnte keine Artikel laden!"
|
||||||
|
},
|
||||||
|
"article": {
|
||||||
|
"err": "Artikel wurde nicht gefunden!",
|
||||||
|
"created": "Publikationsdatum",
|
||||||
|
"updated": "Letzte Änderung"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
"privacy": {
|
"privacy": {
|
||||||
"title": "Datenschutzerklärung",
|
"title": "Datenschutzerklärung",
|
||||||
"lastUpdated": "Zuletzt aktualisiert: 22. März 2026",
|
"lastUpdated": "Zuletzt aktualisiert: GTA 6 Release-Day (19. November 2026)",
|
||||||
"nav": {
|
"nav": {
|
||||||
"controller": "1. Impressum & Verantwortlicher",
|
"controller": "1. Impressum & Verantwortlicher",
|
||||||
"whatData": "2. Welche Daten wir erfassen",
|
"whatData": "2. Welche Daten wir erfassen",
|
||||||
@@ -52,40 +60,40 @@
|
|||||||
},
|
},
|
||||||
"controller": {
|
"controller": {
|
||||||
"title": "1. Impressum & Verantwortlicher",
|
"title": "1. Impressum & Verantwortlicher",
|
||||||
"content": "Diese Website wird betrieben von:<br><br><b>Michael Reisinger</b><br><a href=\"mailto:michael@itzminey.dev\">michael@itzminey.dev</a><br>Standort: Österreich<br><br>Dies ist eine persönliche Website, die zu Portfolio- und Informationszwecken genutzt wird.<br><br>Als Betreiber dieser Website bin ich auch der Verantwortliche für die Verarbeitung personenbezogener Daten gemäß der DSGVO."
|
"content": "Diese Website wird betrieben von:<br><br><b>Michael Reisinger</b><br><a href=\"mailto:michael@itzminey.dev\">michael@itzminey.dev</a><br>Ansässig in Österreich<br><br>Dies ist eine persönliche Website zu Portfolio- und Informationszwecken.<br><br>Als Betreiber dieser Website bin ich zugleich Verantwortlicher für die Verarbeitung personenbezogener Daten im Sinne der DSGVO."
|
||||||
},
|
},
|
||||||
"whatData": {
|
"whatData": {
|
||||||
"title": "2. Welche Daten wir erfassen",
|
"title": "2. Welche Daten wir erfassen",
|
||||||
"websiteUsageTitle": "a) Nutzungsdaten der Website",
|
"websiteUsageTitle": "a) Website-Nutzungsdaten",
|
||||||
"websiteUsage": "Beim Besuch bestimmter Seiten, wie z. B. beim Aufruf von Artikeln, kann Ihre IP-Adresse vorübergehend verarbeitet werden. Dies erfolgt ausschließlich zum Schutz der Integrität von Aufrufzahlen und zur Vermeidung automatisierter Zugriffe. Diese Daten werden sicher verarbeitet und nicht länger als notwendig gespeichert.",
|
"websiteUsage": "Beim Aufruf bestimmter Seiten (z. B. zur Zählung von Artikelaufrufen) verarbeiten wir vorübergehend Ihre IP-Adresse. Dies dient ausschließlich dem Schutz der Integrität unserer Aufrufzahlen sowie der Verhinderung automatisierter Missbräuche. Diese Daten werden sicher verarbeitet und nicht länger als nötig gespeichert.",
|
||||||
"noCookies": "Wir verwenden keine Cookies zu Tracking- oder Analysezwecken.",
|
"noCookies": "Wir verwenden keine Cookies zu Tracking-, Werbe- oder Analysezwecken. Es kommt ausschließlich technisch notwendiger Browser-Speicher (z. B. zum Speichern Ihrer Spracheinstellung) zum Einsatz, der für die grundlegende Funktionalität der Website erforderlich ist.",
|
||||||
"emailInquiriesTitle": "b) Kontaktaufnahme per E-Mail",
|
"emailInquiriesTitle": "b) E-Mail-Anfragen",
|
||||||
"emailInquiries": "Wenn Sie uns über die auf der Website angegebene E-Mail-Adresse kontaktieren, können wir Ihre Nachricht sowie Ihre Kontaktdaten speichern, um auf Ihre Anfrage zu antworten. Diese Daten werden vertraulich behandelt und ohne Ihre Zustimmung nicht an Dritte weitergegeben.",
|
"emailInquiries": "Wenn Sie uns über die auf der Website angegebene E-Mail-Adresse kontaktieren, speichern wir Ihre Nachricht und Kontaktdaten, um Ihre Anfrage zu bearbeiten. Diese Daten werden vertraulich behandelt und ohne Ihre Einwilligung nicht an Dritte weitergegeben.",
|
||||||
"thirdPartyTitle": "c) Drittanbieter-Dienste (Cloudflare, Google Search Console)",
|
"thirdPartyTitle": "c) Drittanbieter-Dienste (Cloudflare, Google Search Console)",
|
||||||
"thirdParty": "Wir nutzen vertrauenswürdige Drittanbieter-Dienste, um die Sicherheit, Stabilität und Sichtbarkeit unserer Website zu gewährleisten.<br><br>Cloudflare, Inc. bietet Schutz vor DDoS-Angriffen, sichere DNS-Auflösung und Leistungsoptimierung. Im Rahmen dieser Dienste kann Cloudflare technische Daten wie Ihre IP-Adresse und HTTP-Anfrageheader verarbeiten. Diese Verarbeitung erfolgt automatisch und ausschließlich zu Sicherheits- und Betriebszwecken.<br><br>Google Search Console, ein Dienst von Google LLC, hilft uns dabei, die Präsenz unserer Website in den Google-Suchergebnissen zu überwachen und zu verbessern. Es werden aggregierte, nicht personenbezogene Leistungsdaten (wie Suchanfragen, Impressionen und Indexierungsinformationen) bereitgestellt, ohne dass personenbezogene Daten von Besuchern gespeichert werden.<br><br>Sowohl Cloudflare als auch Google handeln als eigenständige Datenverarbeiter gemäß den geltenden Datenschutzbestimmungen. Weitere Informationen finden Sie in der <a href=\"https://www.cloudflare.com/privacypolicy/\" target=\"_blank\">Datenschutzerklärung von Cloudflare</a> und der <a href=\"https://policies.google.com/privacy\" target=\"_blank\">Datenschutzerklärung von Google</a>."
|
"thirdParty": "Wir nutzen vertrauenswürdige Drittanbieter-Dienste, um die Sicherheit, Stabilität und Auffindbarkeit unserer Website zu gewährleisten.<br><br>Cloudflare, Inc. (101 Townsend St., San Francisco, CA 94107, USA) stellt DDoS-Schutz, sichere DNS-Auflösung und Leistungsoptimierung bereit. Im Rahmen dieser Dienste verarbeitet Cloudflare technische Daten wie Ihre IP-Adresse und HTTP-Request-Header und setzt gegebenenfalls technisch notwendige Sicherheits-Cookies (wie z. B. <code>__cf_bm</code>), um legitime Besucher von automatisierten Bots zu unterscheiden. Cloudflare handelt als unser Auftragsverarbeiter im Rahmen eines Auftragsverarbeitungsvertrags (DPA), und Datenübermittlungen in die USA sind durch das EU-US Data Privacy Framework abgesichert.<br><br>Die Google Search Console, ein Dienst der Google LLC, hilft uns dabei, die Präsenz unserer Website in den Google-Suchergebnissen zu überwachen und zu pflegen. Sie liefert ausschließlich aggregierte, nicht personenbezogene Leistungsdaten (wie Suchanfragen, Impressionen und Indexierungsinformationen) und erfasst oder speichert keine personenbezogenen Daten oder Cookies auf den Geräten der Besucher.<br><br>Weitere Informationen finden Sie in der <a href=\"https://cloudflare.com\" target=\"_blank\" rel=\"noopener noreferrer\">Datenschutzerklärung von Cloudflare</a> sowie in der <a href=\"https://google.com\" target=\"_blank\" rel=\"noopener noreferrer\">Datenschutzerklärung von Google</a>."
|
||||||
},
|
},
|
||||||
"purpose": {
|
"purpose": {
|
||||||
"title": "3. Zweck und Rechtsgrundlage",
|
"title": "3. Zweck und Rechtsgrundlage",
|
||||||
"intro": "Wir verarbeiten personenbezogene Daten auf Grundlage unseres berechtigten Interesses (Art. 6 Abs. 1 lit. f DSGVO), insbesondere:",
|
"intro": "Wir verarbeiten personenbezogene Daten auf Grundlage unseres berechtigten Interesses (Art. 6 Abs. 1 lit. f DSGVO), nämlich:",
|
||||||
"points": [
|
"points": [
|
||||||
"Zur Aufrechterhaltung und zum Schutz der Integrität unserer Website",
|
"Zur Aufrechterhaltung und zum Schutz der Integrität unserer Website",
|
||||||
"Zur Beantwortung von Anfragen"
|
"Zur Beantwortung Ihrer Anfragen"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dataRetention": {
|
"dataRetention": {
|
||||||
"title": "4. Speicherdauer",
|
"title": "4. Speicherdauer",
|
||||||
"content": "Personenbezogene Daten werden nur so lange gespeichert, wie es für die genannten Zwecke erforderlich ist. E-Mail-Korrespondenz kann aus rechtlichen oder administrativen Gründen sowie zur Nachverfolgung der Kommunikation gespeichert werden."
|
"content": "Personenbezogene Daten werden nur so lange gespeichert, wie es für die genannten Zwecke erforderlich ist. E-Mail-Korrespondenz kann aus rechtlichen oder administrativen Gründen sowie zur Nachvollziehbarkeit der Kommunikation aufbewahrt werden."
|
||||||
},
|
},
|
||||||
"yourRights": {
|
"yourRights": {
|
||||||
"title": "5. Ihre Rechte",
|
"title": "5. Ihre Rechte",
|
||||||
"intro": "Im Rahmen der DSGVO haben Sie folgende Rechte:",
|
"intro": "Nach der DSGVO haben Sie das Recht auf:",
|
||||||
"rights": [
|
"rights": [
|
||||||
"Auskunft über Ihre gespeicherten personenbezogenen Daten",
|
"Auskunft über Ihre personenbezogenen Daten",
|
||||||
"Berichtigung oder Löschung Ihrer Daten zu verlangen",
|
"Berichtigung oder Löschung Ihrer Daten",
|
||||||
"Widerspruch gegen die Verarbeitung einzulegen oder diese einzuschränken",
|
"Einschränkung der Verarbeitung oder Widerspruch gegen die Verarbeitung",
|
||||||
"Beschwerde bei einer Datenschutzbehörde einzureichen (in Österreich: <b>DSB - Datenschutzbehörde</b>)"
|
"Beschwerde bei Ihrer zuständigen Datenschutzbehörde (in Österreich: <b>DSB – Österreichische Datenschutzbehörde</b>)"
|
||||||
],
|
],
|
||||||
"footer": "Zur Ausübung dieser Rechte können Sie uns unter der oben angegebenen E-Mail-Adresse kontaktieren."
|
"footer": "Zur Ausübung dieser Rechte kontaktieren Sie uns bitte unter der oben angegebenen E-Mail-Adresse (Hinweis: Da wir keinerlei Besucherdaten dauerhaft speichern, ist die E-Mail, mit der Sie uns kontaktieren, in der Regel ohnehin das einzige personenbezogene Datum, das wir tatsächlich löschen müssen)."
|
||||||
},
|
},
|
||||||
"security": {
|
"security": {
|
||||||
"title": "6. Sicherheit",
|
"title": "6. Sicherheit",
|
||||||
@@ -93,7 +101,7 @@
|
|||||||
},
|
},
|
||||||
"changes": {
|
"changes": {
|
||||||
"title": "7. Änderungen",
|
"title": "7. Änderungen",
|
||||||
"content": "Diese Datenschutzerklärung kann gelegentlich aktualisiert werden, um Änderungen unserer Verfahren widerzuspiegeln. Die jeweils aktuelle Version ist stets auf dieser Seite verfügbar."
|
"content": "Diese Datenschutzerklärung kann gelegentlich aktualisiert werden, um Änderungen unserer Praktiken abzubilden. Die jeweils aktuelle Version finden Sie stets auf dieser Seite."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+46
-36
@@ -1,44 +1,54 @@
|
|||||||
{
|
{
|
||||||
"NAV_ABOUT": "About",
|
"common": {
|
||||||
"FOOTER_LINK": "Imprint & Privacy Policy",
|
"time": {
|
||||||
|
"format": "shortTime",
|
||||||
"TECHSTACK_LANGS": "Languages",
|
"prefix": "at ",
|
||||||
"TECHSTACK_DBS": "Databases",
|
"suffix": ""
|
||||||
|
},
|
||||||
"ABOUT_SUB": "Web developer & Graphic designer",
|
"btn": {
|
||||||
"ABOUT": "Hello there I'm Michael! I live in the alpine land of the Schnitzel (to some also known under the crude name Austria) and I like to code and make graphics. This is a passion I've followed since many years and grew up with, I learned a lot along the way – but you never stop finding new things in the always advancing world of tech!</p><p>What I'm best at is frontend web development, designing graphics that can go along well with it. This entire page is done by me actually and a great example of how I design stuff, with all of the graphics (except for some Font Awesome icons) done by myself!<br>If you want some more examples of my work, feel free to take a look through my <a href=\"/portfolio\" class=\"green\">Portfolio</a>!</p>",
|
"about": "About",
|
||||||
"ABOUT_OUTRO": "",
|
"share": "Share",
|
||||||
|
"back": "Back"
|
||||||
"PORTF_TITLE": "My Portfolio",
|
},
|
||||||
"PORTF_SUB": "Projects & Designs",
|
"footer": { "linktext": "Imprint & Privacy Policy"}
|
||||||
"PORTFOLIO": "Welcome to my portfolio!<br><br>I mostly do modern graphic designs since a couple years now, but I'm also getting better at coding and you might soon see a couple little coding projects from my <a href=\"https://github.com/itzminey\" target=\"_blank\">GitHub</a> listed here too!<br>If you like what I do consider following me on my <a href=\"/socials\">Socials</a> and if you feel really generous leave a tip on my <a href=\"https://ko-fi.com/itzminey\" target=\"_blank\">Ko-Fi</a>!",
|
|
||||||
|
|
||||||
"SOCIALS_SUB": "You can find me in a lotta places",
|
|
||||||
"SOCIALS_GAMES": "Games",
|
|
||||||
"SOCIALS_COMMS": "Donations & Commissions",
|
|
||||||
|
|
||||||
"BLOG_SUB": "Some (very) irregular updates",
|
|
||||||
|
|
||||||
"ARTICLES_NONE": "No Articles yet!",
|
|
||||||
"ARTICLE_NOTFOUND": "Article not found!",
|
|
||||||
|
|
||||||
"TIME": {
|
|
||||||
"FORMAT": "shortTime",
|
|
||||||
"PREFIX": "at ",
|
|
||||||
"SUFFIX": ""
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"BUTTONS": {
|
"about": {
|
||||||
"SHARE": "Share",
|
"subtext": "Web developer & Graphic designer",
|
||||||
"BACK": "Back"
|
"terminal": {
|
||||||
|
"intro": "<p>Hello there I'm Michael! I live in the alpine land of the Schnitzel (to some also known under the crude name Austria) and I like to code and make graphics. This is a passion I've followed since many years and grew up with, I learned a lot along the way – but you never stop finding new things in the always advancing world of tech!</p><p>What I'm best at is frontend web development, designing graphics that can go along well with it. This entire page is done by me actually and a great example of how I design stuff, with all of the graphics (except for some Font Awesome icons) done by myself!<br>If you want some more examples of my work, feel free to take a look through my <a href=\"/portfolio\" class=\"green\">Portfolio</a>!</p>",
|
||||||
|
"langs": "Languages",
|
||||||
|
"dbs": "Databases"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"RELEASED_AT": "Publishing Date",
|
"portf": {
|
||||||
"UPDATED_AT": "Last Update",
|
"title": "My Portfolio",
|
||||||
|
"subtext": "Projects & Designs",
|
||||||
|
"intro": "Welcome to my portfolio!<br><br>I mostly do modern graphic designs since a couple years now, but I'm also getting better at coding and you might soon see a couple little coding projects from my <a href=\"https://github.com/itzminey\" target=\"_blank\">GitHub</a> listed here too! You can also find a couple on my self-hosted <a href=\"https://git.itzminey.dev/itzminey\" target=\"_blank\">Gitea</a> instance as well now!"
|
||||||
|
},
|
||||||
|
|
||||||
|
"socials": {
|
||||||
|
"subtext": "You can find me in a lotta places",
|
||||||
|
"games": "Games"
|
||||||
|
},
|
||||||
|
|
||||||
|
"blog": {
|
||||||
|
"subtext": "Some (very) irregular updates",
|
||||||
|
"list": {
|
||||||
|
"empty": "No Articles yet!",
|
||||||
|
"err": "Error: Couldn't fetch articles!"
|
||||||
|
},
|
||||||
|
"article": {
|
||||||
|
"err": "Article not found!",
|
||||||
|
"created": "Publishing Date",
|
||||||
|
"updated": "Last Update"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
"privacy": {
|
"privacy": {
|
||||||
"title": "Privacy Policy",
|
"title": "Privacy Policy",
|
||||||
"lastUpdated": "Last updated: 22nd March 2026",
|
"lastUpdated": "Last updated: GTA 6 Release-Day (19th November 2026)",
|
||||||
"nav": {
|
"nav": {
|
||||||
"controller": "1. Imprint & Controller of the Data",
|
"controller": "1. Imprint & Controller of the Data",
|
||||||
"whatData": "2. What Data We Collect",
|
"whatData": "2. What Data We Collect",
|
||||||
@@ -56,11 +66,11 @@
|
|||||||
"title": "2. What Data We Collect",
|
"title": "2. What Data We Collect",
|
||||||
"websiteUsageTitle": "a) Website Usage Data",
|
"websiteUsageTitle": "a) Website Usage Data",
|
||||||
"websiteUsage": "We may temporarily process your IP address when you visit certain pages, such as article views. This is done solely to protect the integrity of view counts and prevent automated abuse. This data is stored securely and is not retained longer than necessary.",
|
"websiteUsage": "We may temporarily process your IP address when you visit certain pages, such as article views. This is done solely to protect the integrity of view counts and prevent automated abuse. This data is stored securely and is not retained longer than necessary.",
|
||||||
"noCookies": "We do not use cookies for tracking or analytics purposes.",
|
"noCookies": "We do not use cookies for tracking, advertising, or analytics purposes. We only use strictly necessary browser storage (such as saving your language preference) required for basic site functionality.",
|
||||||
"emailInquiriesTitle": "b) Email Inquiries",
|
"emailInquiriesTitle": "b) Email Inquiries",
|
||||||
"emailInquiries": "If you contact us via the email address provided on the website, we may store your message and contact information in order to respond to your inquiry. This data is treated as confidential and will not be shared with third parties without your consent.",
|
"emailInquiries": "If you contact us via the email address provided on the website, we may store your message and contact information in order to respond to your inquiry. This data is treated as confidential and will not be shared with third parties without your consent.",
|
||||||
"thirdPartyTitle": "c) Third-Party Services (Cloudflare, Google Search Console)",
|
"thirdPartyTitle": "c) Third-Party Services (Cloudflare, Google Search Console)",
|
||||||
"thirdParty": "We use trusted third-party services to ensure the security, stability, and visibility of our website.<br><br>Cloudflare, Inc. provides DDoS protection, secure DNS resolution, and performance optimization. As part of these services, Cloudflare may process technical data such as your IP address and HTTP request headers. This processing occurs automatically and solely for security and operational purposes.<br><br>Google Search Console, a service provided by Google LLC, helps us monitor and maintain our website’s presence in Google Search results. It provides aggregated, non-personal performance data (such as search queries, impressions, and indexing information) and does not collect or store any personal data from visitors.<br><br>Both Cloudflare and Google act as independent data processors under applicable privacy regulations. For more information, see the <a href=\"https://www.cloudflare.com/privacypolicy/\" target=\"_blank\">Cloudflare Privacy Policy</a> and the <a href=\"https://policies.google.com/privacy\" target=\"_blank\">Google Privacy Policy</a>."
|
"thirdParty": "We use trusted third-party services to ensure the security, stability, and visibility of our website.<br><br>Cloudflare, Inc. (101 Townsend St., San Francisco, CA 94107, USA) provides DDoS protection, secure DNS resolution, and performance optimization. As part of these services, Cloudflare processes technical data such as your IP address and HTTP request headers, and may place strictly necessary security cookies (such as <code>__cf_bm</code>) to distinguish legitimate visitors from automated bots. Cloudflare acts as our Data Processor under a Data Processing Addendum, and data transfers to the United States are safeguarded under the EU-U.S. Data Privacy Framework.<br><br>Google Search Console, a service provided by Google LLC, helps us monitor and maintain our website’s presence in Google Search results. It provides aggregated, non-personal performance data (such as search queries, impressions, and indexing information) and does not collect or store any personal data or set cookies on visitors' devices.<br><br>For more information, see the <a href=\"https://www.cloudflare.com/privacypolicy/\" target=\"_blank\" rel=\"noopener noreferrer\">Cloudflare Privacy Policy</a> and the <a href=\"https://policies.google.com/privacy\" target=\"_blank\" rel=\"noopener noreferrer\">Google Privacy Policy</a>."
|
||||||
},
|
},
|
||||||
"purpose": {
|
"purpose": {
|
||||||
"title": "3. Purpose and Legal Basis",
|
"title": "3. Purpose and Legal Basis",
|
||||||
@@ -83,7 +93,7 @@
|
|||||||
"Object to or restrict processing",
|
"Object to or restrict processing",
|
||||||
"Lodge a complaint with your local data protection authority (in Austria, <b>DSB - Datenschutzbehörde</b>)"
|
"Lodge a complaint with your local data protection authority (in Austria, <b>DSB - Datenschutzbehörde</b>)"
|
||||||
],
|
],
|
||||||
"footer": "To exercise these rights, please contact us at the email listed above."
|
"footer": "To exercise these rights, please contact us at the email listed above (note: since we don't permanently store any visitor data, any email you send us is usually the only personal data we'll actually have to delete)."
|
||||||
},
|
},
|
||||||
"security": {
|
"security": {
|
||||||
"title": "6. Security",
|
"title": "6. Security",
|
||||||
|
|||||||
@@ -142,7 +142,13 @@ a {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.terminal {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 900px;
|
||||||
|
}
|
||||||
|
|
||||||
.terminal-window {
|
.terminal-window {
|
||||||
|
width: 100%;
|
||||||
background: #1b1920;
|
background: #1b1920;
|
||||||
height: 520px;
|
height: 520px;
|
||||||
max-width: 900px;
|
max-width: 900px;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<div class="landing-container">
|
<div class="landing-container">
|
||||||
<div class="title-box">
|
<div class="title-box">
|
||||||
<h1 [ngStyle]="{'font-size': isNarrow ? '4rem' : '5rem'}"><code>itzMiney</code></h1>
|
<h1 [ngStyle]="{'font-size': isNarrow ? '4rem' : '5rem'}"><code>itzMiney</code></h1>
|
||||||
<p class="subtitle">{{ 'ABOUT_SUB' | translate}}</p>
|
<p class="subtitle">{{ 'about.subtext' | translate}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="down-arrow" (click)="scrollDown()">
|
<div class="down-arrow" (click)="scrollDown()">
|
||||||
<i class="fa-solid fa-angle-down"></i>
|
<i class="fa-solid fa-angle-down"></i>
|
||||||
@@ -17,11 +17,11 @@
|
|||||||
<div class="separator"></div>
|
<div class="separator"></div>
|
||||||
<section id="content" #contentTrigger></section>
|
<section id="content" #contentTrigger></section>
|
||||||
<div class="about-container">
|
<div class="about-container">
|
||||||
<div class="terminal" [ngStyle]="{'margin': isNarrow ? '10px;' : '25px'}">
|
<div class="terminal" [ngStyle]="{'margin': isNarrow ? '10px' : '25px'}">
|
||||||
<div class="titlebar">
|
<div class="titlebar">
|
||||||
<div class="window-title"><p><code>Konsole</code></p></div> <div class="window-actions"><p>🟡 🟣 🔴</p></div>
|
<div class="window-title"><p><code>Konsole</code></p></div> <div class="window-actions"><p>🟡 🟣 🔴</p></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="terminal-window" [ngStyle]="{'width': isNarrow ? '100%' : '900px' }">
|
<div class="terminal-window">
|
||||||
<app-terminal-emulator [bootOnVisible]="terminalShouldBoot"></app-terminal-emulator>
|
<app-terminal-emulator [bootOnVisible]="terminalShouldBoot"></app-terminal-emulator>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,6 +1,14 @@
|
|||||||
import { RenderMode, ServerRoute } from '@angular/ssr';
|
import { RenderMode, ServerRoute } from '@angular/ssr';
|
||||||
|
|
||||||
export const serverRoutes: ServerRoute[] = [
|
export const serverRoutes: ServerRoute[] = [
|
||||||
|
{
|
||||||
|
path: 'admin',
|
||||||
|
renderMode: RenderMode.Client
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'login',
|
||||||
|
renderMode: RenderMode.Client
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '**',
|
path: '**',
|
||||||
renderMode: RenderMode.Server
|
renderMode: RenderMode.Server
|
||||||
|
|||||||
@@ -31,8 +31,8 @@
|
|||||||
></markdown>
|
></markdown>
|
||||||
<div class="article-buttons">
|
<div class="article-buttons">
|
||||||
<div class="buttons-left">
|
<div class="buttons-left">
|
||||||
<a id="backBtn" [title]="'BUTTONS.BACK' | translate" href="/blog"><i class="fa-solid fa-turn-up fa-rotate-270"></i></a>
|
<a id="backBtn" [title]="'common.btn.back' | translate" href="/blog"><i class="fa-solid fa-turn-up fa-rotate-270"></i></a>
|
||||||
<a id="shareBtn" [title]="'BUTTONS.SHARE' | translate" (click)="shareArticle()" [class.copied]="copied"><i class="fa-solid fa-share-nodes"></i></a>
|
<a id="shareBtn" [title]="'common.btn.share' | translate" (click)="shareArticle()" [class.copied]="copied"><i class="fa-solid fa-share-nodes"></i></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="buttons-right">
|
<div class="buttons-right">
|
||||||
<p><strong>{{ article.views }}</strong> Views</p>
|
<p><strong>{{ article.views }}</strong> Views</p>
|
||||||
@@ -42,19 +42,19 @@
|
|||||||
<div class="article-meta">
|
<div class="article-meta">
|
||||||
<div class="meta-left">
|
<div class="meta-left">
|
||||||
<p title="Author"><i class="fa-solid fa-user"></i><strong> {{ article.authorName}}</strong></p>
|
<p title="Author"><i class="fa-solid fa-user"></i><strong> {{ article.authorName}}</strong></p>
|
||||||
<p [title]="'RELEASED_AT' | translate">
|
<p [title]="'blog.article.created' | translate">
|
||||||
{{ article.createdAt | date: 'mediumDate' }}<br>
|
{{ article.createdAt | date: 'mediumDate' }}<br>
|
||||||
{{ 'TIME.PREFIX' | translate}}
|
{{ 'common.time.prefix' | translate}}
|
||||||
{{ article.createdAt | date:('TIME.FORMAT' | translate) }}
|
{{ article.createdAt | date:('common.time.format' | translate) }}
|
||||||
{{ 'TIME.SUFFIX' | translate }}</p>
|
{{ 'common.time.suffix' | translate }}</p>
|
||||||
</div>
|
</div>
|
||||||
@if (article.updatedAt) {
|
@if (article.updatedAt) {
|
||||||
<div class="meta-right">
|
<div class="meta-right">
|
||||||
<p><strong>{{ 'UPDATED_AT' | translate }}</strong></p>
|
<p><strong>{{ 'blog.article.updated' | translate }}</strong></p>
|
||||||
<p>{{ article.updatedAt | date:'mediumDate' }}<br>
|
<p>{{ article.updatedAt | date:'mediumDate' }}<br>
|
||||||
{{ 'TIME.PREFIX' | translate}}
|
{{ 'common.time.prefix' | translate}}
|
||||||
{{ article.updatedAt | date:('TIME.FORMAT' | translate) }}
|
{{ article.updatedAt | date:('common.time.format' | translate) }}
|
||||||
{{ 'TIME.SUFFIX' | translate }}</p>
|
{{ 'common.time.suffix' | translate }}</p>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
@@ -82,8 +82,8 @@
|
|||||||
<!-- Error Message -->
|
<!-- Error Message -->
|
||||||
<div class="error-message">
|
<div class="error-message">
|
||||||
<h1>404</h1>
|
<h1>404</h1>
|
||||||
<p>{{ 'ARTICLE_NOTFOUND' | translate }}</p>
|
<p>{{ 'blog.article.err' | translate }}</p>
|
||||||
<a href="/blog"><button>{{ 'ARTICLE_BACK' | translate }}</button></a>
|
<a href="/blog"><button>{{ 'common.btn.back' | translate }}</button></a>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
@@ -6,6 +6,7 @@ import {ActivatedRoute} from '@angular/router';
|
|||||||
import {TranslatePipe} from '@ngx-translate/core';
|
import {TranslatePipe} from '@ngx-translate/core';
|
||||||
import {ParallaxComponent} from '../../shared/parallax/parallax.component';
|
import {ParallaxComponent} from '../../shared/parallax/parallax.component';
|
||||||
import {MarkdownModule} from 'ngx-markdown';
|
import {MarkdownModule} from 'ngx-markdown';
|
||||||
|
import {MarkdownService} from '../../shared/services/markdown.service';
|
||||||
import {ViewportService} from '../../shared/services/viewport.service';
|
import {ViewportService} from '../../shared/services/viewport.service';
|
||||||
|
|
||||||
interface Article {
|
interface Article {
|
||||||
@@ -52,7 +53,8 @@ export class ArticlePageComponent implements OnInit {
|
|||||||
private articleService: ArticleService,
|
private articleService: ArticleService,
|
||||||
private seo: SeoService,
|
private seo: SeoService,
|
||||||
private route: ActivatedRoute,
|
private route: ActivatedRoute,
|
||||||
private viewportService: ViewportService
|
private viewportService: ViewportService,
|
||||||
|
private markdownService: MarkdownService,
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -90,7 +92,7 @@ export class ArticlePageComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.article = article;
|
this.article = article;
|
||||||
this.renderedContent = this.transformCustomBlocks(article.content);
|
this.renderedContent = this.markdownService.transformCustomBlocks(article.content);
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
|
||||||
const thumbUrl = article.thumb_url || this.defaultThumbUrl;
|
const thumbUrl = article.thumb_url || this.defaultThumbUrl;
|
||||||
@@ -134,35 +136,6 @@ export class ArticlePageComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
transformCustomBlocks(content: string): string {
|
|
||||||
let result = content;
|
|
||||||
|
|
||||||
result = result.replace(
|
|
||||||
/\[gallery\]\s*([\s\S]*?)\s*\[\/gallery\]/g,
|
|
||||||
(_, inner) => {
|
|
||||||
const urls = inner
|
|
||||||
.split('\n')
|
|
||||||
.map((line: string) => line.trim())
|
|
||||||
.filter((line: string) => line.length > 0);
|
|
||||||
|
|
||||||
const images = urls
|
|
||||||
.map((url: string) => `<img src="${url}" alt="Gallery image">`)
|
|
||||||
.join('');
|
|
||||||
|
|
||||||
return `<div class="gallery">${images}</div>`;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
result = result.replace(
|
|
||||||
/\[center\]\s*([\s\S]*?)\s*\[\/center\]/g,
|
|
||||||
(_, inner) => {
|
|
||||||
return `<div class="centered-text">${inner}</div>`;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
openPreview(src: string) {
|
openPreview(src: string) {
|
||||||
this.selectedImage = src;
|
this.selectedImage = src;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,19 +8,19 @@
|
|||||||
<div class="height-container">
|
<div class="height-container">
|
||||||
<div class="blog-header" [ngStyle]="{'margin-top': isNarrow ? '72px' : '112px'}">
|
<div class="blog-header" [ngStyle]="{'margin-top': isNarrow ? '72px' : '112px'}">
|
||||||
<h1>Blog</h1>
|
<h1>Blog</h1>
|
||||||
<p class="subtitle">{{ 'BLOG_SUB' | translate }}</p>
|
<p class="subtitle">{{ 'blog.subtext' | translate }}</p>
|
||||||
</div>
|
</div>
|
||||||
<hr class="rounded">
|
<hr class="rounded">
|
||||||
<div class="blog-container">
|
<div class="blog-container">
|
||||||
@if (hasError) {
|
@if (hasError) {
|
||||||
<div class="error-state">
|
<div class="error-state">
|
||||||
<h2>Error: Couldn't fetch articles!</h2>
|
<h2>{{ 'blog.list.err' | translate }}</h2>
|
||||||
</div>
|
</div>
|
||||||
} @else {
|
} @else {
|
||||||
@if (articles$ | async; as articles) {
|
@if (articles$ | async; as articles) {
|
||||||
@if (articles.length === 0) {
|
@if (articles.length === 0) {
|
||||||
<div class="empty-state">
|
<div class="empty-state">
|
||||||
<h2>{{ 'ARTICLES_NONE' | translate }}</h2>
|
<h2>{{ 'blog.list.empty' | translate }}</h2>
|
||||||
</div>
|
</div>
|
||||||
} @else {
|
} @else {
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -78,28 +78,6 @@
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.kofi-button {
|
|
||||||
text-align: center;
|
|
||||||
margin-top: 30px;
|
|
||||||
margin-bottom: 50px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ko-fi-btn {
|
|
||||||
background-color: #fff;
|
|
||||||
color: #ff5a78;
|
|
||||||
border: none;
|
|
||||||
padding: 12px 25px;
|
|
||||||
font-size: 1.2rem;
|
|
||||||
border-radius: 25px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: all 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ko-fi-btn:hover {
|
|
||||||
background-color: #fff4f4;
|
|
||||||
color: #ff5a78;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-content p {
|
.text-content p {
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|||||||
@@ -8,17 +8,12 @@
|
|||||||
<div class="height-container">
|
<div class="height-container">
|
||||||
<div class="portfolio-container">
|
<div class="portfolio-container">
|
||||||
<div class="portfolio-header" [ngStyle]="{'margin-top': isNarrow ? '60px' : '120px'}">
|
<div class="portfolio-header" [ngStyle]="{'margin-top': isNarrow ? '60px' : '120px'}">
|
||||||
<h1>{{ 'PORTF_TITLE' | translate }}</h1>
|
<h1>{{ 'portf.title' | translate }}</h1>
|
||||||
<p class="subtitle">{{ 'PORTF_SUB' | translate }}</p>
|
<p class="subtitle">{{ 'portf.subtext' | translate }}</p>
|
||||||
</div>
|
</div>
|
||||||
<hr class="rounded">
|
<hr class="rounded">
|
||||||
<div class="text-content">
|
<div class="text-content">
|
||||||
<p [innerHTML]="'PORTFOLIO' | translate"></p>
|
<p [innerHTML]="'portf.intro' | translate"></p>
|
||||||
</div>
|
|
||||||
<div class="kofi-button">
|
|
||||||
<a href="https://ko-fi.com/itzminey" target="_blank">
|
|
||||||
<button class="ko-fi-btn"><i class="fa-solid fa-mug-hot"></i> Ko-Fi Donations</button>
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="portfolio-gallery" [@staggerGallery]>
|
<div class="portfolio-gallery" [@staggerGallery]>
|
||||||
@for (item of galleryItems; track item) {
|
@for (item of galleryItems; track item) {
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
</h2>
|
</h2>
|
||||||
<p>{{ 'privacy.purpose.intro' | translate }}</p>
|
<p>{{ 'privacy.purpose.intro' | translate }}</p>
|
||||||
<ul>
|
<ul>
|
||||||
@for (point of ['privacy.purpose.points' | translate]; track point) {
|
@for (point of ( 'privacy.purpose.points' | translate ); track point) {
|
||||||
<li>{{ point }}</li>
|
<li>{{ point }}</li>
|
||||||
}
|
}
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<footer>
|
<footer>
|
||||||
<p>© {{ currentYear }} Michael Reisinger</p>
|
<p>© {{ currentYear }} Michael Reisinger</p>
|
||||||
<p><a href="/privacy">{{ 'FOOTER_LINK' | translate }}</a></p>
|
<p><a href="/privacy">{{ 'common.footer.linktext' | translate }}</a></p>
|
||||||
|
|
||||||
<div class="social-icons">
|
<div class="social-icons">
|
||||||
<a href="https://linktr.ee/itzminey" target="_blank" aria-label="Twitter">
|
<a href="https://linktr.ee/itzminey" target="_blank" aria-label="Twitter">
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import {Component, forwardRef, OnInit, ChangeDetectionStrategy} from '@angular/c
|
|||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
import { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
|
import { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
|
||||||
import {MarkdownModule} from 'ngx-markdown';
|
import {MarkdownModule} from 'ngx-markdown';
|
||||||
|
import {MarkdownService} from '../services/markdown.service'
|
||||||
import { ViewportService} from '../services/viewport.service';
|
import { ViewportService} from '../services/viewport.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@@ -26,7 +27,10 @@ export class MarkdownEditorComponent implements ControlValueAccessor, OnInit {
|
|||||||
|
|
||||||
isNarrow: boolean = false;
|
isNarrow: boolean = false;
|
||||||
|
|
||||||
constructor(private viewportService: ViewportService) { }
|
constructor(
|
||||||
|
private viewportService: ViewportService,
|
||||||
|
private markdownService: MarkdownService,
|
||||||
|
) { }
|
||||||
|
|
||||||
private onChange: (value: string) => void = () => {};
|
private onChange: (value: string) => void = () => {};
|
||||||
private onTouched: () => void = () => {};
|
private onTouched: () => void = () => {};
|
||||||
@@ -190,33 +194,6 @@ export class MarkdownEditorComponent implements ControlValueAccessor, OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get previewContent(): string {
|
get previewContent(): string {
|
||||||
return this.transformCustomBlocks(this.value);
|
return this.markdownService.transformCustomBlocks(this.value);
|
||||||
}
|
|
||||||
|
|
||||||
transformCustomBlocks(content: string): string {
|
|
||||||
let result = content;
|
|
||||||
|
|
||||||
result = result.replace(
|
|
||||||
/\[gallery\]\s*([\s\S]*?)\s*\[\/gallery\]/g,
|
|
||||||
(_, inner) => {
|
|
||||||
const urls = inner
|
|
||||||
.split('\n')
|
|
||||||
.map((line: string) => line.trim())
|
|
||||||
.filter((line: string) => line.length > 0);
|
|
||||||
|
|
||||||
const images = urls
|
|
||||||
.map((url: string) => `<img src="${url}" alt="Gallery image">`)
|
|
||||||
.join('');
|
|
||||||
|
|
||||||
return `<div class="gallery">${images}</div>`;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
result = result.replace(
|
|
||||||
/\[center\]\s*([\s\S]*?)\s*\[\/center\]/g,
|
|
||||||
(_, inner) => `<div class="centered-text">${inner}</div>`
|
|
||||||
);
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,9 +1,8 @@
|
|||||||
<nav class="navbar">
|
<nav class="navbar">
|
||||||
<div class="navbar-links">
|
<div class="navbar-links">
|
||||||
<a [routerLink]="'/'" [class.active]="activeLink === '/'">{{ 'NAV_ABOUT' | translate }}</a>
|
<a [routerLink]="'/'" [class.active]="activeLink === '/'">{{ 'common.btn.about' | translate }}</a>
|
||||||
<a [routerLink]="'/portfolio'" [class.active]="activeLink === '/portfolio'">Portfolio</a>
|
<a [routerLink]="'/portfolio'" [class.active]="activeLink === '/portfolio'">Portfolio</a>
|
||||||
<a [routerLink]="'/socials'" [class.active]="activeLink === '/socials'">Socials</a>
|
<a [routerLink]="'/socials'" [class.active]="activeLink === '/socials'">Socials</a>
|
||||||
<!-- <a [routerLink]="'/services'" [class.active]="activeLink === '/services'">{{ 'NAV_SERVICES' | translate }}</a> -->
|
|
||||||
<a [routerLink]="'/blog'" [class.active]="activeLink === '/blog'">Blog</a>
|
<a [routerLink]="'/blog'" [class.active]="activeLink === '/blog'">Blog</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="language-switch" [attr.data-active]="currentLang">
|
<div class="language-switch" [attr.data-active]="currentLang">
|
||||||
|
|||||||
@@ -0,0 +1,52 @@
|
|||||||
|
import { Injectable } from '@angular/core';
|
||||||
|
|
||||||
|
@Injectable({
|
||||||
|
providedIn: 'root',
|
||||||
|
})
|
||||||
|
export class MarkdownService {
|
||||||
|
transformCustomBlocks(content: string): string {
|
||||||
|
if (!content) return '';
|
||||||
|
|
||||||
|
return content
|
||||||
|
.replace(/\[gallery\]\s*([\s\S]*?)\s*\[\/gallery\]/g, (_, inner: string) => {
|
||||||
|
const images = inner
|
||||||
|
.split('\n')
|
||||||
|
.map((line) => this.sanitizeImageUrl(line))
|
||||||
|
.filter((url): url is string => url !== null)
|
||||||
|
.map((url) => `<img src="${this.escapeHtmlAttr(url)}" alt="Gallery image" loading="lazy">`)
|
||||||
|
.join('');
|
||||||
|
|
||||||
|
return `<div class="gallery">${images}</div>`;
|
||||||
|
})
|
||||||
|
.replace(
|
||||||
|
/\[center\]\s*([\s\S]*?)\s*\[\/center\]/g,
|
||||||
|
(_, inner: string) => `<div class="centered-text">${inner}</div>`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
private sanitizeImageUrl(rawUrl: string): string | null {
|
||||||
|
const trimmed = rawUrl.trim();
|
||||||
|
if (trimmed.startsWith('/')) {
|
||||||
|
return trimmed;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
const parsed = new URL(trimmed);
|
||||||
|
if (parsed.protocol === 'https:' || parsed.protocol === 'http:') {
|
||||||
|
return parsed.href;
|
||||||
|
}
|
||||||
|
} catch {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
private escapeHtmlAttr(value: string): string {
|
||||||
|
return value
|
||||||
|
.replace(/&/g, '&')
|
||||||
|
.replace(/"/g, '"')
|
||||||
|
.replace(/</g, '<')
|
||||||
|
.replace(/>/g, '>');
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
<ng-template #aboutTemplate>
|
<ng-template #aboutTemplate>
|
||||||
<p class="fade-in" [innerHTML]="'ABOUT' | translate"></p>
|
<div class="fade-in" [innerHTML]="'about.terminal.intro' | translate"></div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
<ng-template #catTemplate>
|
<ng-template #catTemplate>
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="category">
|
<div class="category">
|
||||||
<h4>{{ 'TECHSTACK_LANGS' | translate }}</h4>
|
<h4>{{ 'about.terminal.langs' | translate }}</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<a href="https://www.typescriptlang.org/" target="_blank"><li>TypeScript</li></a>
|
<a href="https://www.typescriptlang.org/" target="_blank"><li>TypeScript</li></a>
|
||||||
<a href="https://go.dev/" target="_blank"><li>Go</li></a>
|
<a href="https://go.dev/" target="_blank"><li>Go</li></a>
|
||||||
@@ -114,7 +114,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="category">
|
<div class="category">
|
||||||
<h4>{{ 'TECHSTACK_DBS' | translate }}</h4>
|
<h4>{{ 'about.terminal.dbs' | translate }}</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<a href="https://www.mysql.com/" target="_blank"><li>MySQL</li></a>
|
<a href="https://www.mysql.com/" target="_blank"><li>MySQL</li></a>
|
||||||
<a href="https://mariadb.org/" target="_blank"><li>MariaDB</li></a>
|
<a href="https://mariadb.org/" target="_blank"><li>MariaDB</li></a>
|
||||||
|
|||||||
@@ -52,15 +52,18 @@
|
|||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
|
line-height: 1;
|
||||||
font-family: 'Roboto', sans-serif;
|
font-family: 'Roboto', sans-serif;
|
||||||
color: white;
|
color: white;
|
||||||
padding: 12px 20px;
|
padding: 10px 18px 10px 10px;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 25px;
|
border-radius: 25px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display:inline-flex;
|
display: inline-flex;
|
||||||
align-items:center;
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
vertical-align: middle;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -69,14 +72,36 @@
|
|||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn span {
|
||||||
|
color: #c3c9e8;
|
||||||
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
margin: 30px 0 10px 0;
|
margin: 30px 0 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#username {
|
.dc-usertile {
|
||||||
font-size: 1.2rem;
|
display: inline-flex;
|
||||||
|
align-items: start;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dc-usertile span {
|
||||||
|
font-size: 1rem;
|
||||||
font-family: 'Roboto', sans-serif;
|
font-family: 'Roboto', sans-serif;
|
||||||
color: #cdcdcd;
|
background-color: #ffffff;
|
||||||
|
color: black;
|
||||||
|
border-radius: 99px 99px 99px 0;
|
||||||
|
padding: 2px 6px 3px 3px;
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dc-usertile img {
|
||||||
|
display: inline-flex;
|
||||||
|
vertical-align: middle;
|
||||||
|
height: 2.2rem;
|
||||||
|
border-radius: 100%;
|
||||||
|
margin: 10px 6px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr.rounded {
|
hr.rounded {
|
||||||
@@ -86,11 +111,14 @@ hr.rounded {
|
|||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn img { height: 1.7rem; padding: 0; align-content: center; }
|
||||||
|
.btn i { font-size: 1.7rem; padding: 0; align-content: center; }
|
||||||
|
|
||||||
.discord { background-color: #5865F2; }
|
.discord { background-color: #5865F2; }
|
||||||
.discord:hover { background-color: #818aec; }
|
.discord:hover { background-color: #818aec; }
|
||||||
|
|
||||||
.youtube { background-color: #f25858; }
|
.youtube { background-color: #f25858; }
|
||||||
.youtube:hover { background-color: #ff7474; }
|
.youtube:hover { background-color: #fa7a7a; }
|
||||||
|
|
||||||
.twitter { background-color: #58adf2; }
|
.twitter { background-color: #58adf2; }
|
||||||
.twitter:hover { background-color: #8bcefd; }
|
.twitter:hover { background-color: #8bcefd; }
|
||||||
@@ -99,13 +127,11 @@ hr.rounded {
|
|||||||
.twitch:hover { background-color: #a76bff; }
|
.twitch:hover { background-color: #a76bff; }
|
||||||
|
|
||||||
.steam { background-color: #1c1c1c; }
|
.steam { background-color: #1c1c1c; }
|
||||||
.steam:hover { background-color: #202020; }
|
.steam:hover { background-color: #292929; }
|
||||||
|
|
||||||
.osu { background-color: #ff66aa; transform: translateY( +3px);}
|
.osu { background-color: #ff66aa; }
|
||||||
.osu:hover { background-color: #fd83b9; }
|
.osu:hover { background-color: #fd83b9; }
|
||||||
|
|
||||||
.kofi { background-color: #fff; color: #ff5a78;}
|
.tux { background-color: #3facc1; }
|
||||||
.kofi:hover { background-color: #fff4f4; color: #ff5a78;}
|
.tux:hover { background-color: #45c6df; }
|
||||||
|
.tux.toggled { background-color: #a32e32; cursor: not-allowed; }
|
||||||
.kofi-comms { background-color: #fff; color: #39354a;}
|
|
||||||
.kofi-comms:hover { background-color: #fff4f4; color: #39354a;}
|
|
||||||
@@ -11,14 +11,18 @@
|
|||||||
<div class="socials-container">
|
<div class="socials-container">
|
||||||
<div class="socials-header" [ngStyle]="{'margin-top': isNarrow ? '80px' : '120px'}">
|
<div class="socials-header" [ngStyle]="{'margin-top': isNarrow ? '80px' : '120px'}">
|
||||||
<h1>Socials</h1>
|
<h1>Socials</h1>
|
||||||
<p class="subtitle">{{ 'SOCIALS_SUB' | translate }}</p>
|
<p class="subtitle">{{ 'socials.subtext' | translate }}</p>
|
||||||
</div>
|
</div>
|
||||||
<hr class="rounded">
|
<hr class="rounded">
|
||||||
<div class="social-links">
|
<div class="social-links">
|
||||||
|
<h3>Discord</h3>
|
||||||
<a href="https://discord.gg/RstBa88" target="_blank" class="btn discord">
|
<a href="https://discord.gg/RstBa88" target="_blank" class="btn discord">
|
||||||
<i class="fa-brands fa-discord"></i> Discord Server
|
<i class="fa-brands fa-discord"></i> Join <span>itzMiney's Hideout</span>
|
||||||
</a>
|
</a>
|
||||||
<span id="username">@itzminey</span>
|
<div class="dc-usertile">
|
||||||
|
<img src="https://avifetch.itz.sh/api/users/350713200389652480"/>
|
||||||
|
<span id="username">@itzminey</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h3>Social Media</h3>
|
<h3>Social Media</h3>
|
||||||
<a href="https://youtube.com/@itzMiney" target="_blank" class="btn youtube">
|
<a href="https://youtube.com/@itzMiney" target="_blank" class="btn youtube">
|
||||||
@@ -31,30 +35,19 @@
|
|||||||
<i class="fa-brands fa-twitch"></i> Twitch
|
<i class="fa-brands fa-twitch"></i> Twitch
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<h3>{{ 'SOCIALS_GAMES' | translate }}</h3>
|
<h3>{{ 'socials.games' | translate }}</h3>
|
||||||
<a href="https://steamcommunity.com/id/itzMiney/" target="_blank" class="btn steam">
|
<a href="https://steamcommunity.com/id/itzMiney/" target="_blank" class="btn steam">
|
||||||
<i class="fa-brands fa-steam"></i> Steam
|
<i class="fa-brands fa-steam"></i> Steam
|
||||||
</a>
|
</a>
|
||||||
<a href="https://osu.ppy.sh/users/16470989" target="_blank" class="btn osu">
|
<a href="https://osu.ppy.sh/users/16470989" target="_blank" class="btn osu">
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="20" height="20" viewBox="0 0 50 50">
|
<img src="assets/osu.svg" /> osu!
|
||||||
<path d="M 25 3 C 12.85 3 3 12.85 3 25 C 3 37.15 12.85 47 25 47 C 37.15 47 47 37.15 47 25 C 47 12.85 37.15 3 25 3 z M 38 18 L 40 18 L 40 26 L 38 26 L 38 18 z M 14.048828 20.898438 C 14.523828 20.898438 14.995078 20.968719 15.455078 21.136719 C 16.701078 21.591719 17.454875 22.528516 17.796875 23.853516 C 17.936875 24.396516 17.994047 24.950641 17.998047 25.556641 C 17.988047 26.368641 17.875859 27.204516 17.505859 27.978516 C 16.940859 29.161516 16.01125 29.820578 14.78125 30.017578 C 14.50125 30.063578 14.222359 30.087891 13.943359 30.087891 C 13.484359 30.087891 13.028078 30.022094 12.580078 29.871094 C 11.402078 29.474094 10.664438 28.608531 10.273438 27.394531 C 10.019438 26.604531 9.9594844 25.791844 10.021484 24.964844 C 10.082484 24.155844 10.271641 23.3835 10.681641 22.6875 C 11.270641 21.6865 12.138375 21.129891 13.234375 20.962891 C 13.506375 20.921891 13.777828 20.898437 14.048828 20.898438 z M 23.263672 20.90625 C 23.311672 20.90625 23.359203 20.90525 23.408203 20.90625 C 24.174203 20.92025 24.914719 21.08175 25.636719 21.34375 C 25.684719 21.36075 25.731656 21.369172 25.722656 21.451172 C 25.658656 22.018172 25.52025 22.562172 25.28125 23.076172 C 25.27625 23.086172 25.269531 23.095703 25.269531 23.095703 C 24.905531 22.985703 24.559125 22.862297 24.203125 22.779297 C 23.960125 22.723297 23.71475 22.689453 23.46875 22.689453 C 23.26175 22.689453 23.055609 22.712625 22.849609 22.765625 C 22.612609 22.827625 22.399594 22.935172 22.308594 23.201172 C 22.187594 23.553172 22.304859 23.909688 22.630859 24.054688 C 22.986859 24.213687 23.360562 24.325984 23.726562 24.458984 C 24.047563 24.575984 24.377453 24.674453 24.689453 24.814453 C 25.518453 25.186453 25.930234 25.872547 25.990234 26.810547 C 26.041234 27.598547 25.862562 28.307344 25.351562 28.902344 C 24.908562 29.416344 24.344703 29.716391 23.720703 29.900391 C 23.262703 30.035391 22.796125 30.082031 22.328125 30.082031 C 22.101125 30.082031 21.875438 30.071687 21.648438 30.054688 C 21.046437 30.010687 20.466391 29.857625 19.900391 29.640625 C 19.837391 29.616625 19.815266 29.587625 19.822266 29.515625 C 19.882266 28.935625 20.028906 28.381609 20.253906 27.849609 C 20.260906 27.831609 20.269203 27.815156 20.283203 27.785156 C 20.325203 27.801156 20.36625 27.814078 20.40625 27.830078 C 20.99625 28.065078 21.599516 28.220703 22.228516 28.220703 C 22.290516 28.220703 22.352062 28.218844 22.414062 28.214844 C 22.734063 28.198844 23.046984 28.147422 23.333984 27.982422 C 23.717984 27.761422 23.861719 27.434531 23.761719 27.019531 C 23.722719 26.859531 23.647813 26.721391 23.507812 26.650391 C 23.278813 26.534391 23.045687 26.421891 22.804688 26.337891 C 22.370687 26.184891 21.926188 26.06125 21.492188 25.90625 C 21.171187 25.79125 20.884047 25.604047 20.623047 25.373047 C 20.258047 25.050047 20.085391 24.624625 20.025391 24.140625 C 19.957391 23.593625 19.985219 23.054016 20.199219 22.541016 C 20.485219 21.854016 21.003391 21.434781 21.650391 21.175781 C 22.170391 20.966781 22.713672 20.90625 23.263672 20.90625 z M 29.070312 21.007812 C 29.437313 21.007812 29.805781 21.040375 30.175781 21.109375 L 30.175781 21.267578 C 30.176781 22.859578 30.170594 24.450969 30.183594 26.042969 C 30.186594 26.363969 30.236641 26.690906 30.306641 27.003906 C 30.447641 27.634906 30.835828 27.986312 31.423828 28.070312 C 31.580828 28.092312 31.738531 28.103516 31.894531 28.103516 C 32.159531 28.103516 32.422547 28.073578 32.685547 28.017578 C 32.780547 27.997578 32.810547 27.958609 32.810547 27.849609 C 32.807547 25.654609 32.808594 23.460625 32.808594 21.265625 L 32.808594 21.109375 C 33.173594 21.040375 33.534484 21.007812 33.896484 21.007812 C 34.261484 21.007812 34.627094 21.041375 34.996094 21.109375 L 34.996094 21.236328 C 34.996094 23.963328 34.995047 26.690969 34.998047 29.417969 C 34.998047 29.514969 34.972625 29.550125 34.890625 29.578125 C 33.934625 29.898125 32.962703 30.082031 31.970703 30.082031 C 31.778703 30.082031 31.586578 30.0765 31.392578 30.0625 C 30.877578 30.0245 30.361094 29.973344 29.871094 29.777344 C 28.944094 29.407344 28.421156 28.647578 28.160156 27.642578 C 28.006156 27.050578 27.96975 26.442078 27.96875 25.830078 C 27.96575 24.293078 27.96875 22.75575 27.96875 21.21875 C 27.96875 21.18475 27.970656 21.150375 27.972656 21.109375 C 28.339656 21.041375 28.705312 21.007812 29.070312 21.007812 z M 13.972656 22.787109 C 13.914656 22.787109 13.856828 22.789922 13.798828 22.794922 C 13.297828 22.833922 12.904734 23.075594 12.677734 23.558594 C 12.573734 23.780594 12.490547 24.019766 12.435547 24.259766 C 12.284547 24.920766 12.287609 25.592672 12.349609 26.263672 C 12.386609 26.669672 12.472437 27.064594 12.648438 27.433594 C 12.814438 27.780594 13.057109 28.039156 13.412109 28.160156 C 13.606109 28.226156 13.801094 28.259766 13.996094 28.259766 C 14.199094 28.259766 14.401516 28.223391 14.603516 28.150391 C 15.060516 27.985391 15.307891 27.61225 15.462891 27.15625 C 15.642891 26.62625 15.681453 26.073266 15.689453 25.447266 C 15.683Line truncated
|
|
||||||
</svg> osu!
|
|
||||||
</a>
|
</a>
|
||||||
<h3>{{ 'SOCIALS_COMMS' | translate }}</h3>
|
<a class="btn tux" (click)="toggleTux()" [class.toggled]="tuxToggled()">
|
||||||
<a href="https://ko-fi.com/itzMiney" target="_blank" class="btn kofi">
|
@if (tuxToggled()) {
|
||||||
<i class="fa-solid fa-mug-hot"></i> Ko-Fi Donations
|
<i class="fa-solid fa-skull-crossbones"></i> Club penguin is kil
|
||||||
</a>
|
} @else {
|
||||||
<a
|
<img src="assets/clubpenguin.png" /> Club Penguin
|
||||||
[href]="commissionsOpen ? 'https://ko-fi.com/itzMiney/commissions' : null"
|
}
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
class="btn kofi-comms"
|
|
||||||
[class.disabled]="!commissionsOpen"
|
|
||||||
(click)="!commissionsOpen && $event.preventDefault()"
|
|
||||||
[attr.title]="!commissionsOpen ? 'Commissions currently closed' : null"
|
|
||||||
>
|
|
||||||
<i class="fa-solid fa-mug-hot"></i>
|
|
||||||
 Ko-Fi Commissions
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
import {Component, OnInit, ChangeDetectionStrategy, signal} from '@angular/core';
|
||||||
import {NgStyle} from '@angular/common';
|
import {NgStyle} from '@angular/common';
|
||||||
import {ViewportService} from '../shared/services/viewport.service';
|
import {ViewportService} from '../shared/services/viewport.service';
|
||||||
import {TranslatePipe} from '@ngx-translate/core';
|
import {TranslatePipe} from '@ngx-translate/core';
|
||||||
@@ -18,7 +18,7 @@ import {SeoService} from '../shared/services/seo.service';
|
|||||||
})
|
})
|
||||||
export class SocialsComponent implements OnInit {
|
export class SocialsComponent implements OnInit {
|
||||||
isNarrow: boolean = false;
|
isNarrow: boolean = false;
|
||||||
commissionsOpen = false;
|
tuxToggled= signal(false);
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private deviceService: ViewportService,
|
private deviceService: ViewportService,
|
||||||
@@ -32,4 +32,8 @@ export class SocialsComponent implements OnInit {
|
|||||||
})
|
})
|
||||||
this.isNarrow = this.deviceService.isNarrow;
|
this.isNarrow = this.deviceService.isNarrow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
toggleTux() {
|
||||||
|
this.tuxToggled.set(true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user