Do some small changes to the LastBlogs and LastProjects components

This commit is contained in:
itsfinniii
2026-03-28 12:32:06 +01:00
parent 231131cc41
commit e2598c58cf
2 changed files with 0 additions and 3 deletions

View File

@@ -4,7 +4,6 @@ import { getSettings } from '@/content/settings/settings';
import CalendarIcon from '@/icons/CalendarIcon.astro';
import { getImageUrl } from '@/lib/images';
import { getBlogRoute } from '@/lib/routing';
import type { ACTION_ERROR_CODES } from 'astro:actions';
import { Image } from 'astro:assets';
interface Props {

View File

@@ -23,8 +23,6 @@ const projects = Astro.props.projects;
const settings = await getSettings();
const lastProjects = await getLastProjects(projects.amount);
const size = calculateSizeClasses(projects.amount, lastProjects.length);
console.log(lastProjects[0].searchEngine);
---
{ settings.project.enabled && (