diff --git a/src/app/cv/_components/CvCategory.tsx b/src/app/cv/_components/CvCategory.tsx
index 03df3c0..27225a1 100644
--- a/src/app/cv/_components/CvCategory.tsx
+++ b/src/app/cv/_components/CvCategory.tsx
@@ -29,7 +29,7 @@ export default function CvCategory(props:CvCategoryProps) {
{entries.data?.map((entry,i) => (
-
+
))}
diff --git a/src/app/cv/_components/CvEntry.tsx b/src/app/cv/_components/CvEntry.tsx
index 6e55ccd..9559d69 100644
--- a/src/app/cv/_components/CvEntry.tsx
+++ b/src/app/cv/_components/CvEntry.tsx
@@ -8,12 +8,16 @@ import rehypeHighlight from 'rehype-highlight'
import rehypeRaw from 'rehype-raw'
import type { RouterOutputs } from "~/server/routers/_app"
import type { ArrayElement } from "type-fest"
+import AnimateTextIn from "~/app/_components/Animated/AnimateIn"
+import AnimatePopUp from "~/app/_components/Animated/AnimatePopUp"
export default function CvEntry(params: {
initialData: ArrayElement['cvEntry']>,
- className?: string
+ className?: string,
+ position?: number
}) {
const query = trpc.entryv2.getById.useQuery(params.initialData.id);
const { data, isError, error } = query
+ const position = params.position ?? 0
return (
<>
{
@@ -23,23 +27,29 @@ export default function CvEntry(params: {
{
data.title ?
- {data.title}
+
+ {data.title}
+
:
<>>
}
{
data.description ?
-
- {data.description}
-
+
+
+ {data.description}
+
+
:
<>>
}
{
!data.hideDates ?
- {`von ${format((new Date()).setTime(Date.parse(data.fromTime)), 'M. yyyy')} bis zum ${format((new Date()).setTime(Date.parse(data.toTime)), 'M. yyyy')}`}
+
+ {`von ${format((new Date()).setTime(Date.parse(data.fromTime)), 'M. yyyy')} bis zum ${format((new Date()).setTime(Date.parse(data.toTime)), 'M. yyyy')}`}
+
:
<>>
}