Compare commits

..

2 Commits

4 changed files with 5 additions and 3 deletions

View File

@ -43,6 +43,7 @@ export default function News() {
{data?.map((item: News) => {
return (
<div
key={item.id}
className="w-full lg:w-[48%] border rounded-lg flex flex-row shadow-md hover:shadow-none transition-all
h-[20em] sm:h-[15em] max-sm:flex-col max-sm:gap-[3px]"
>

View File

@ -63,6 +63,7 @@ export default function NewsDetail({ id }: { id: any }) {
<div className=" text-gray-500 mt-2">
{convertFullTime(data.dateTime)}
</div>
<div className="">{data.description}</div>
<div className="">{data.content}</div>
</>
)}

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "sootzani",
"version": "0.1.7",
"version": "0.1.8",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "sootzani",
"version": "0.1.7",
"version": "0.1.8",
"dependencies": {
"@hookform/resolvers": "^3.3.2",
"@radix-ui/react-alert-dialog": "^1.0.5",

View File

@ -1,6 +1,6 @@
{
"name": "sootzani",
"version": "0.1.7",
"version": "0.1.8",
"private": true,
"scripts": {
"dev": "next dev",