feat: add floating social share buttons and restore text justification

This commit is contained in:
2026-05-10 14:30:38 +02:00
parent fe7acfa927
commit 15700036e5
5 changed files with 174 additions and 39 deletions

31
check_db.cjs Normal file
View File

@@ -0,0 +1,31 @@
const { PrismaClient } = require('@prisma/client');
const prisma = new PrismaClient();
async function main() {
const post = await prisma.blogPost.findUnique({
where: { slug: 'cyber-dome-cato' }
});
if (!post) {
console.log("Post not found");
return;
}
const snippet = post.content.substring(0, 1000);
console.log("Content start:");
console.log(snippet);
const match = post.content.match(/s.e sont/);
if (match) {
console.log("Found 's.e sont':", match[0]);
console.log("Hex:", Buffer.from(match[0]).toString('hex'));
}
const match2 = post.content.match(/cyberattaqu.es/);
if (match2) {
console.log("Found 'cyberattaqu.es':", match2[0]);
console.log("Hex:", Buffer.from(match2[0]).toString('hex'));
}
}
main().catch(console.error).finally(() => prisma.$disconnect());