replacing elements in page directories

This commit is contained in:
2026-06-02 10:06:41 +02:00
parent 2cde72a93c
commit 546a4f4e29
16 changed files with 13 additions and 13 deletions
@@ -4,7 +4,7 @@ import { useRef, useEffect } from 'react';
import { useTranslations } from "next-intl"; import { useTranslations } from "next-intl";
import { Project } from "@/lib/projects/types"; import { Project } from "@/lib/projects/types";
import { ProjectCard } from "../ui/ProjectCard"; import { ProjectCard } from "../../../components/ui/ProjectCard";
type props = { type props = {
projects: Project[]; projects: Project[];
+2 -2
View File
@@ -3,8 +3,8 @@ import type { Metadata } from "next";
import { notFound } from "next/navigation"; import { notFound } from "next/navigation";
import { MDXRemote } from "next-mdx-remote/rsc"; import { MDXRemote } from "next-mdx-remote/rsc";
import { getArticleBySlug, getAllArticles, getAlternatesArticle } from "@/lib/blog/get-articles"; import { getArticleBySlug, getAllArticles, getAlternatesArticle } from "@/lib/blog/get-articles";
import { ArticleHero } from "@/components/sections/ArticleHero"; import { ArticleHero } from "@/app/[locale]/blog/[slug]/_components/ArticleHero";
import { ArticleSummary } from "@/components/sections/ArticleSummary"; import { ArticleSummary } from "@/app/[locale]/blog/[slug]/_components/ArticleSummary";
import { locales } from "@/middleware"; import { locales } from "@/middleware";
import Link from "next/link"; import Link from "next/link";
import { MermaidDiagram } from "@/components/mdx/MermaidDiagram"; import { MermaidDiagram } from "@/components/mdx/MermaidDiagram";
+2 -2
View File
@@ -1,6 +1,6 @@
import { getAllArticles } from "@/lib/blog/get-articles"; import { getAllArticles } from "@/lib/blog/get-articles";
import { BlogHero } from "@/components/sections/BlogHero"; import { BlogHero } from "@/app/[locale]/blog/_components/BlogHero";
import { ArticleList } from "@/components/sections/ArticleList"; import { ArticleList } from "@/app/[locale]/blog/[slug]/_components/ArticleList";
type props = { type props = {
params: Promise<{ locale: string }>; params: Promise<{ locale: string }>;
+4 -4
View File
@@ -1,7 +1,7 @@
import HeroSection from "@/components/sections/HeroSection"; import HeroSection from "@/app/[locale]/_components/HeroSection";
import WorksSection from "@/components/sections/WorksSection"; import WorksSection from "@/app/[locale]/_components/WorksSection";
import ApproachSection from "@/components/sections/AppoachSection"; import ApproachSection from "@/app/[locale]/_components/AppoachSection";
import TimelineSection from "@/components/sections/AboutSection"; import TimelineSection from "@/app/[locale]/_components/AboutSection";
import { getAllProjects } from "@/lib/projects/get-projects"; import { getAllProjects } from "@/lib/projects/get-projects";
+4 -4
View File
@@ -2,10 +2,10 @@ import { notFound } from "next/navigation";
import { MDXRemote } from "next-mdx-remote/rsc"; import { MDXRemote } from "next-mdx-remote/rsc";
import { getAllProjects, getProjectBySlug, getProjectSlugs } from "@/lib/projects/get-projects"; import { getAllProjects, getProjectBySlug, getProjectSlugs } from "@/lib/projects/get-projects";
import { mdxComponents } from "@/components/mdx/mdxComponents"; import { mdxComponents } from "@/components/mdx/mdxComponents";
import { ProjectHero } from "@/components/sections/ProjectHero"; import { ProjectHero } from "@/app/[locale]/works/_components/ProjectHero";
import { ProjectMeta } from "@/components/sections/ProjectMeta"; import { ProjectMeta } from "@/app/[locale]/works/_components/ProjectMeta";
import { ProjectTechnologies } from "@/components/sections/ProjectTechnologies"; import { ProjectTechnologies } from "@/app/[locale]/works/_components/ProjectTechnologies";
import { OtherProjects } from "@/components/sections/OtherProjects"; import { OtherProjects } from "@/app/[locale]/works/_components/OtherProjects";
type props = { type props = {
params: Promise<{ params: Promise<{