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:
71
app/page.tsx
71
app/page.tsx
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user