feat: update dependencies and enhance privacy policy

Replace "@vercel/analytics" with "@tryghost/content-api" and add 
"node-fetch" to dependencies. Remove "@vercel/speed-insights" to 
streamline the package. Update robots.txt to dis access to 
"/legal-notice" and "/privacy-policy". Change <p> tags to <div> in 
the Privacy Policy for better structure. Update the last modified 
date in the Legal Notice. Add a new API route for fetching images 
with error handling for missing URL parameters.
This commit is contained in:
2025-02-12 12:59:15 +01:00
parent 433a3c6d58
commit 635c244c06
14 changed files with 665 additions and 329 deletions

View File

@@ -9,39 +9,38 @@ import Footer from "./components/Footer";
import Script from "next/script";
export default function Home() {
return (
<div className="min-h-screen flex flex-col bg-radiant-animated">
<Script
id={"structured-data"}
type="application/ld+json"
dangerouslySetInnerHTML={{
__html: JSON.stringify({
"@context": "https://schema.org",
"@type": "Person",
"name": "Dennis Konkol",
"url": "https://dki.one",
"jobTitle": "Software Engineer",
"address": {
"@type": "PostalAddress",
"addressLocality": "Osnabrück",
"addressCountry": "Germany",
},
"sameAs": [
"https://github.com/Denshooter",
"https://linkedin.com/in/dkonkol",
],
}),
}}
/>
<Header/>
<div className="h-10"></div>
<main>
<Hero/>
<Projects/>
<Contact/>
<Footer/>
</main>
</div>
);
}
return (
<div className="min-h-screen flex flex-col bg-radiant-animated">
<Script
id={"structured-data"}
type="application/ld+json"
dangerouslySetInnerHTML={{
__html: JSON.stringify({
"@context": "https://schema.org",
"@type": "Person",
name: "Dennis Konkol",
url: "https://dki.one",
jobTitle: "Software Engineer",
address: {
"@type": "PostalAddress",
addressLocality: "Osnabrück",
addressCountry: "Germany",
},
sameAs: [
"https://github.com/Denshooter",
"https://linkedin.com/in/dkonkol",
],
}),
}}
/>
<Header />
<div className="h-10"></div>
<main>
<Hero />
<Projects />
<Contact />
<Footer />
</main>
</div>
);
}