update: aminberatu

This commit is contained in:
amd123 2024-01-17 17:19:02 +07:00
parent 955e1e488b
commit f3c5b3343d
6 changed files with 47 additions and 43 deletions

View File

@ -44,6 +44,7 @@ export default function Campaign() {
<div className='pt-10'> <div className='pt-10'>
<div className='flex flex-wrap justify-center gap-4 h-full'> <div className='flex flex-wrap justify-center gap-4 h-full'>
{dummyData.map((item, index) => ( {dummyData.map((item, index) => (
<Link href={`headline/detail/${item.id}`}>
<Card shadow="sm" key={index} className='w-[280px]'> <Card shadow="sm" key={index} className='w-[280px]'>
<CardBody className="overflow-visible p-0"> <CardBody className="overflow-visible p-0">
<Image <Image
@ -63,6 +64,7 @@ export default function Campaign() {
</Link> </Link>
</CardFooter> </CardFooter>
</Card> </Card>
</Link>
))} ))}
</div> </div>
<div className='flex justify-center pt-5'> <div className='flex justify-center pt-5'>

View File

@ -84,11 +84,12 @@ export default function Headline() {
freeMode={true} freeMode={true}
navigation={true} navigation={true}
modules={[FreeMode, Navigation]} modules={[FreeMode, Navigation]}
className="max-w-[90%] w-4/5 lg:w-full ml-2 mr-2" className="max-w-[90%] lg:w-full ml-2 mr-2 w-full"
> >
{headlineData.map((item) => ( {headlineData.map((item) => (
<SwiperSlide key={item.title}> <SwiperSlide key={item.title}>
<div className="flex flex-col relative overflow-hidden cursor-pointer rounded-lg "> <Link href={`/headline/detail/${item.id}`}>
<div className="flex flex-col relative overflow-hidden cursor-pointer rounded-lg">
<Card> <Card>
<CardBody className="items-center"> <CardBody className="items-center">
<Image <Image
@ -108,6 +109,7 @@ export default function Headline() {
</CardFooter> </CardFooter>
</Card> </Card>
</div> </div>
</Link>
</SwiperSlide> </SwiperSlide>
))} ))}
</Swiper> </Swiper>

View File

@ -14,7 +14,7 @@ import { useCallback, useRef } from "react";
export default function VisiMisi() { export default function VisiMisi() {
const sliderRef = useRef(null); const sliderRef = useRef<any>(null);
const images = [ const images = [
{ {

View File

@ -1,7 +1,7 @@
export type SiteConfig = typeof siteConfig; export type SiteConfig = typeof siteConfig;
export const siteConfig = { export const siteConfig = {
name: "Next.js + NextUI", name: "Aminbersatu.com",
description: "Make beautiful websites regardless of your design experience.", description: "Make beautiful websites regardless of your design experience.",
navItems: [ navItems: [
{ {
@ -14,7 +14,7 @@ export const siteConfig = {
}, },
{ {
label: "Update TPS", label: "Update TPS",
href: "/docs", href: "#",
}, },
// { // {
// label: "Blog", // label: "Blog",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 502 KiB

BIN
public/ffavicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB