Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modules page added #55

Merged
merged 37 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
e829800
gallery component added
r4inr3aper Oct 14, 2024
8784c94
Merge branch 'dev' of https://github.com/gdsc-nits-org/tecnoesis-2024…
r4inr3aper Oct 14, 2024
49ae42e
added route in custom button for home
r4inr3aper Oct 14, 2024
a1aaffd
added gdg logo and added footer to layout
tech-hunter-mainak Oct 20, 2024
a2464be
Merge branch 'dev' of https://github.com/gdsc-nits-org/tecnoesis-2024…
r4inr3aper Oct 20, 2024
8f988b6
adding open graph
tech-hunter-mainak Oct 20, 2024
c69688a
fixing opengraph
tech-hunter-mainak Oct 20, 2024
ed8237e
fixing opengraph
tech-hunter-mainak Oct 20, 2024
a083ab6
openGraph fix
tech-hunter-mainak Oct 20, 2024
4b30efe
fixes
tech-hunter-mainak Oct 20, 2024
d4ca671
fixes
tech-hunter-mainak Oct 20, 2024
34bae15
fixes
tech-hunter-mainak Oct 20, 2024
a026185
testing opengraph
tech-hunter-mainak Oct 20, 2024
913eb60
testing opengraph
tech-hunter-mainak Oct 20, 2024
d866029
small fixes
tech-hunter-mainak Oct 20, 2024
b39090a
opengraph added
tech-hunter-mainak Oct 20, 2024
0218619
Landing ui bugs fix (#36)
barnilsarma Oct 20, 2024
cad2fe1
Nav fix (#39)
JDeepD Oct 20, 2024
0a296ae
small fixes
tech-hunter-mainak Oct 20, 2024
8defaa3
Merge branch 'dev' of https://github.com/gdsc-nits-org/tecnoesis-2024…
tech-hunter-mainak Oct 20, 2024
06caf2b
minor fix
tech-hunter-mainak Oct 20, 2024
0acfa82
fixes
tech-hunter-mainak Oct 20, 2024
42d4142
minor fixes
tech-hunter-mainak Oct 20, 2024
ccfcedf
Merge branch 'dev' of https://github.com/gdsc-nits-org/tecnoesis-2024…
tech-hunter-mainak Oct 20, 2024
86ac0d2
events page added
r4inr3aper Oct 20, 2024
19e739e
Merge branch 'dev' of https://github.com/gdsc-nits-org/tecnoesis-2024…
r4inr3aper Oct 20, 2024
bf23b3d
changed footer
tech-hunter-mainak Oct 20, 2024
d7a875e
Merge branch 'dev' of https://github.com/gdsc-nits-org/tecnoesis-2024…
tech-hunter-mainak Oct 20, 2024
267a1e1
font fixes in footer
tech-hunter-mainak Oct 20, 2024
c3e2b5d
Merge branch 'dev' of https://github.com/gdsc-nits-org/tecnoesis-2024…
r4inr3aper Oct 21, 2024
a9ff4bb
Merge branch 'dev' of https://github.com/gdsc-nits-org/tecnoesis-2024…
tech-hunter-mainak Oct 21, 2024
61b6caf
updated photos for gallery
tech-hunter-mainak Oct 21, 2024
331aa5f
Merge branch 'dev' of https://github.com/gdsc-nits-org/tecnoesis-2024…
r4inr3aper Oct 21, 2024
451e00a
Merge branch 'openGraph' of https://github.com/gdsc-nits-org/tecnoesi…
r4inr3aper Oct 21, 2024
9538854
Merge branch 'dev' of https://github.com/gdsc-nits-org/tecnoesis-2024…
r4inr3aper Oct 22, 2024
6880f8c
modules page added
r4inr3aper Oct 22, 2024
4b27aa0
Merge branch 'dev' into gallery
JDeepD Oct 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
199 changes: 6 additions & 193 deletions src/app/(main)/modules/page.tsx
Original file line number Diff line number Diff line change
@@ -1,196 +1,9 @@
import Image from 'next/image';
import images from '../modules/images.json';
import Modules from "~/components/Modules";

export default function Page() {
return (
<div className="bg-[radial-gradient(circle_at_center,#011528_75%,#000204_100%)] min-h-screen">
<div>
<div className="header flex items-center justify-center text-4xl md:text-5xl lg:text-6xl font-rp1 mt-15 p-28 text-white">
<h1>MORE MODULES</h1>
</div>

{/* Container for modules */}
<div className="flex flex-wrap justify-center">
{images.map((image) => (
<div key={image.id} className="module2 w-[480px] h-[300px] bg-red-500 m-6 rounded-2xl overflow-hidden">
<Image
src={image.src}
alt={image.alt}
height={300}
width={480}
className="object-cover w-full h-full"
/>
</div>
))}
</div>
</div>
</div>
);
return (
<>
<Modules/>
</>
);
}





























































// import Image from "next/image";

// export default function Page() {
// return (
// <div className="bg-[radial-gradient(circle_at_center,#011528_75%,#000204_100%)] min-h-screen">
// <div>
// <div className="header flex items-center justify-center text-6xl font-rp1 mt-15 p-28 text-white">
// <h1>MORE MODULES</h1>
// </div>

// {/* Hardcoded module divs */}
// <div className="flex flex-wrap justify-center"> {/* Added flex wrap to align modules properly */}
// <div className="module2 w-[480px] h-[300px] bg-red-500 m-6 rounded-2xl overflow-hidden">
// <Image
// src="/assests/modules/module1.jpeg"
// alt="hello"
// height={300}
// width={480}
// className="object-cover w-full h-full" // Ensuring the image covers the div
// />
// </div>

// <div className="module2 w-[480px] h-[300px] bg-red-500 m-6 rounded-2xl overflow-hidden">
// <Image
// src="/assests/modules/module2.jpeg"
// alt="hello"
// height={300}
// width={480}
// className="object-cover w-full h-full"
// />
// </div>

// <div className="module2 w-[480px] h-[300px] bg-red-500 m-6 rounded-2xl overflow-hidden">
// <Image
// src="/assests/modules/module3.jpeg"
// alt="hello"
// height={300}
// width={480}
// className="object-cover w-full h-full"
// />
// </div>

// <div className="module2 w-[480px] h-[300px] bg-red-500 m-6 rounded-2xl overflow-hidden">
// <Image
// src="/assests/modules/module1.jpeg"
// alt="hello"
// height={300}
// width={480}
// className="object-cover w-full h-full"
// />
// </div>

// <div className="module2 w-[480px] h-[300px] bg-red-500 m-6 rounded-2xl overflow-hidden">
// <Image
// src="/assests/modules/module2.jpeg"
// alt="hello"
// height={300}
// width={480}
// className="object-cover w-full h-full"
// />
// </div>

// <div className="module2 w-[480px] h-[300px] bg-red-500 m-6 rounded-2xl overflow-hidden">
// <Image
// src="/assests/modules/module3.jpeg"
// alt="hello"
// height={300}
// width={480}
// className="object-cover w-full h-full"
// />
// </div>

// <div className="module2 w-[480px] h-[300px] bg-red-500 m-6 rounded-2xl overflow-hidden">
// <Image
// src="/assests/modules/module1.jpeg"
// alt="hello"
// height={300}
// width={480}
// className="object-cover w-full h-full"
// />
// </div>

// <div className="module2 w-[480px] h-[300px] bg-red-500 m-6 rounded-2xl overflow-hidden">
// <Image
// src="/assests/modules/module2.jpeg"
// alt="hello"
// height={300}
// width={480}
// className="object-cover w-full h-full"
// />
// </div>

// <div className="module2 w-[480px] h-[300px] bg-red-500 m-6 rounded-2xl overflow-hidden">
// <Image
// src="/assests/modules/module3.jpeg" // Different image for the last module
// alt="hello"
// height={300}
// width={480}
// className="object-cover w-full h-full"
// />
// </div>
// </div>
// </div>
// </div>
// );
// }
147 changes: 0 additions & 147 deletions src/components/Events.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/Gallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const Gallery: React.FC = () => {
<div
className="fixed inset-0 z-10000"
dangerouslySetInnerHTML={{
__html: `<spline-viewer url="https://prod.spline.design/csAC-rSJnjVQZbBi/scene.splinecode" style="width: 100%; height: 100%;"></spline-viewer>`,
__html: `<spline-viewer url="https://prod.spline.design/NPelTris6eEVQkKp/scene.splinecode" style="width: 100%; height: 100%;"></spline-viewer>`,
}}
></div>

Expand Down
Loading
Loading