diff --git a/src/app/sponsors/page.tsx b/src/app/sponsors/page.tsx
index 3dc03c2..d6ccc8b 100644
--- a/src/app/sponsors/page.tsx
+++ b/src/app/sponsors/page.tsx
@@ -5,7 +5,7 @@ import Image from 'next/image';
import astronaut from '../../assets/images/astronaut.svg';
export default function Sponsors() {
- const sponsorsList: SponsorCardProps[] = [];
+ const sponsorsList: SponsorCardProps[] = Array(30).fill({ name: 'nextjs', logo: '/next.svg' });
// backend logic
// sponsorsList = await(await fetch("backend url",{next:{tags:['collection']}})).json();
@@ -23,10 +23,12 @@ export default function Sponsors() {
SPONSORS
-
- {sponsorsList.map((e: SponsorCardProps) => (
-
- ))}
+
+
+ {sponsorsList.map((e: SponsorCardProps) => (
+
+ ))}
+
>
) : (
diff --git a/src/app/sponsors/sponsors.module.css b/src/app/sponsors/sponsors.module.css
index accabd1..f48b26f 100644
--- a/src/app/sponsors/sponsors.module.css
+++ b/src/app/sponsors/sponsors.module.css
@@ -91,7 +91,7 @@
height: min-content;
@media screen and (max-width:560px) {
- transform: translate(10%, -85%);
+ transform: translate(10%, -05%);
margin-top: 60px;
}
}
@@ -120,6 +120,7 @@
display: flex;
justify-content: center;
align-items: center;
+
@media screen and (max-width:560px) {
transform: translate(10%, -45%);
margin-top: 60px;
@@ -131,21 +132,39 @@
display: flex;
flex-wrap: wrap;
max-height: 100%;
- overflow-y: scroll;
+ width: fit-content;
+ height: fit-content;
overflow-x: hidden;
+ gap: 115px;
+ justify-content: center;
+
@media screen and (max-width:560px) {
flex-wrap: nowrap;
flex-direction: column;
align-items: center;
- gap:5px;
+ gap: 5px;
}
}
.astro {
overflow: hidden;
min-width: 220px !important;
+
@media screen and (max-width:560px) {
display: none;
}
+}
+
+.parentList {
+ padding: 50px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ overflow-y: scroll;
+
+
+}
+.parentList::-webkit-scrollbar {
+ display: none;
}
\ No newline at end of file
diff --git a/src/assets/images/top-left-border.svg b/src/assets/images/top-left-border.svg
index be9956d..4016c5a 100644
--- a/src/assets/images/top-left-border.svg
+++ b/src/assets/images/top-left-border.svg
@@ -1,3 +1,3 @@
-