diff --git a/app/article/[slug]/@comments/page.tsx b/app/article/[slug]/@comments/page.tsx new file mode 100644 index 00000000..992ce925 --- /dev/null +++ b/app/article/[slug]/@comments/page.tsx @@ -0,0 +1,13 @@ +import { CommentForm } from "components/article/@comments/comment-form"; +import { Comments } from "components/article/@comments/comments"; + +const CommentsPage = () => { + return ( +
+ {`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac dui feugiat, elementum est ut, sodales dolor. Quisque nec consequat ante, ac mattis risus. Vestibulum pretium nec sem vel rutrum. Sed congue ipsum sit amet tincidunt maximus. Phasellus vel nulla arcu. Nullam maximus viverra sollicitudin. Nunc nulla enim, consequat a sem at, lacinia auctor tellus. Quisque mollis hendrerit tortor. Quisque et fermentum lectus. Morbi volutpat eros vel lorem laoreet, id scelerisque quam malesuada. + +Phasellus id scelerisque leo. Nam dui risus, vehicula vel euismod vel, laoreet eget metus. Aliquam maximus condimentum enim, lobortis semper tortor volutpat id. Vivamus vehicula tellus nec vestibulum volutpat. Sed non maximus mi. Quisque iaculis urna aliquet interdum convallis. Suspendisse varius, nisl ac pretium accumsan, sem justo efficitur lectus, id blandit enim leo ut ligula. Ut quis neque magna. Cras vel enim nec eros venenatis ultrices sed eget dolor. Aliquam erat volutpat. Pellentesque sagittis felis in lectus vehicula, faucibus semper magna interdum. Phasellus elementum nisl nibh, at efficitur diam rutrum vel. + +Pellentesque eleifend iaculis aliquam. Ut consequat tellus nisi, id porta dolor laoreet lacinia. Donec diam quam, lacinia ac purus at, placerat scelerisque massa. Ut dictum quam at elementum convallis. Praesent dapibus risus vel convallis tincidunt. Sed nibh felis, placerat ac metus quis, euismod viverra neque. Nulla et tempor arcu, ut molestie elit. Sed porttitor ut risus vel commodo. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nullam id eros et tellus laoreet porttitor. Vestibulum rutrum vulputate luctus. Nulla malesuada venenatis eros id fermentum. + +Cras luctus vehicula mattis. Cras id pulvinar leo, non elementum nulla. Integer at ultricies mi. Morbi tempus nisi porttitor malesuada tincidunt. Pellentesque et gravida justo. Proin erat lorem, feugiat a pulvinar a, euismod et turpis. Ut porttitor auctor quam non porttitor. Phasellus in odio sollicitudin, tristique erat non, bibendum elit. Aenean in nisl auctor lectus posuere pulvinar quis ut tellus. Donec elit odio, consequat eu lorem non, fermentum posuere tortor. Donec blandit dolor sed metus imperdiet, vitae ullamcorper tortor congue. Donec nec suscipit erat. Pellentesque ligula nisl, ultrices sit amet laoreet vel, faucibus vel orci. Aenean vitae dictum arcu. Maecenas convallis mauris vel aliquam rutrum. Nam a libero suscipit, scelerisque magna quis, dignissim risus. + +Donec iaculis sit amet velit sed accumsan. Etiam et gravida urna. Cras finibus massa nec turpis fringilla ornare. Nullam placerat commodo quam sit amet blandit. Maecenas vel sollicitudin tortor, at commodo neque. In hac habitasse platea dictumst. Nunc vitae elit non nibh auctor faucibus. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla a ligula ut urna iaculis commodo. Nunc eleifend sapien nec mauris vestibulum suscipit. Duis tempor mi quis neque malesuada ullamcorper.`} +
+9 months ago
+ +This is the description for the post.
+ ++
{children}
); diff --git a/components/shared/ui/list-item/root.tsx b/components/shared/ui/list-item/root.tsx index d327cdba..586b1ab8 100644 --- a/components/shared/ui/list-item/root.tsx +++ b/components/shared/ui/list-item/root.tsx @@ -3,16 +3,16 @@ import type { ComponentPropsWithoutRef } from "react"; import { clsx } from "lib/clsx"; -type Props = ComponentPropsWithoutRef<"div">; +type Props = ComponentPropsWithoutRef<"li">; -export const Root = forwardRef