From d2bd6a43deb9eedb170bb8e63fb5b905791bf040 Mon Sep 17 00:00:00 2001 From: Alp Ozkan Date: Tue, 7 Nov 2023 15:41:29 +0300 Subject: [PATCH] debug and images disallowed --- app/robots.txt | 3 +++ components/posts.tsx | 4 ++-- components/projects.tsx | 2 +- tailwind.config.js | 6 +----- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/app/robots.txt b/app/robots.txt index 77d9d35..7c5e24f 100644 --- a/app/robots.txt +++ b/app/robots.txt @@ -2,6 +2,9 @@ User-agent: * Allow: / +User-agent: Googlebot-Image +Disallow: /_next/image + # Host Host: https://www.alpozkanm.info diff --git a/components/posts.tsx b/components/posts.tsx index 83cc105..31bea9b 100644 --- a/components/posts.tsx +++ b/components/posts.tsx @@ -20,8 +20,8 @@ export default function Posts({ posts }: { posts: Content[] }) {

{post.description}

{post.image && ( -
- {post.title} +
+ {post.title}
)}
diff --git a/components/projects.tsx b/components/projects.tsx index 5131b10..94ee7eb 100644 --- a/components/projects.tsx +++ b/components/projects.tsx @@ -19,7 +19,7 @@ export default function Projects({ projects }: { projects: Content[] }) { {project.image && (
- {project.title} + {project.title}
)} diff --git a/tailwind.config.js b/tailwind.config.js index 99c736f..fa6333f 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -91,9 +91,5 @@ module.exports = { }), }, }, - plugins: [ - require("@tailwindcss/forms"), - require("tailwindcss-debug-screens"), - require("@tailwindcss/typography"), - ], + plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")], };