-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 713240a
Showing
37 changed files
with
5,934 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "next/core-web-vitals" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.* | ||
.yarn/* | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/versions | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# env files (can opt-in for committing if needed) | ||
.env* | ||
|
||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/pages/api-reference/create-next-app). | ||
|
||
## Getting Started | ||
|
||
First, run the development server: | ||
|
||
```bash | ||
npm run dev | ||
# or | ||
yarn dev | ||
# or | ||
pnpm dev | ||
# or | ||
bun dev | ||
``` | ||
|
||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
|
||
You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file. | ||
|
||
[API routes](https://nextjs.org/docs/pages/building-your-application/routing/api-routes) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`. | ||
|
||
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/pages/building-your-application/routing/api-routes) instead of React pages. | ||
|
||
This project uses [`next/font`](https://nextjs.org/docs/pages/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel. | ||
|
||
## Learn More | ||
|
||
To learn more about Next.js, take a look at the following resources: | ||
|
||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. | ||
- [Learn Next.js](https://nextjs.org/learn-pages-router) - an interactive Next.js tutorial. | ||
|
||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome! | ||
|
||
## Deploy on Vercel | ||
|
||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
|
||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/pages/building-your-application/deploying) for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
import styles from "@/styles/Home.module.css"; | ||
|
||
function ArtOverlay() { | ||
return ( | ||
<div className={styles.artOverlay}> | ||
<div className={styles.artOverlayText}> | ||
<h1>Fanart Submissions</h1><br /> | ||
<p>Submitted by: Ankan Chakroborty</p> | ||
</div> | ||
<div className={styles.artOverlayBtn}> | ||
Submit your own Fanart! | ||
</div> | ||
</div > | ||
); | ||
} | ||
function CarouselComponent({ src, alt, width, isArt }) { | ||
return ( | ||
<div className={styles.carouselComplete}> | ||
<div className={styles.carousel}> | ||
<div className={styles.btnLeft}><</div> | ||
<div> | ||
{isArt ? <ArtOverlay /> : <></>} | ||
<img | ||
src={src} | ||
alt={alt} | ||
className={styles.carousel} | ||
width={width} | ||
/> | ||
</div> | ||
<div className={styles.btnRight}>></div> | ||
</div> | ||
<div className={styles.carouselBtns}> | ||
<div className={styles.carouselBtn}> </div> | ||
<div className={styles.carouselBtn}> </div> | ||
<div className={styles.carouselBtn}> </div> | ||
<div className={styles.carouselBtn}> </div> | ||
<div className={styles.carouselBtn}> </div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
export default function Carousel({ src, alt, width, isArt, isEvent, eventName, eventInfo, isAmv }) { | ||
if (isArt) { | ||
return ( | ||
<div className={styles.artCarousel}> | ||
<div className={styles.carouselTextArt}> | ||
<h1>Fanart Submissions</h1> | ||
<p> | ||
Lorem ipsum odor amet, consectetuer adipiscing elit. Dui volutpat torquent netus est augue. Commodo risus vel adipiscing, est convallis nostra. Class fringilla etiam dis tellus suscipit adipiscing fusce curabitur. Proin pellentesque nascetur consectetur convallis, | ||
</p> | ||
<div className={styles.carouselArtBtn}> | ||
Read more | ||
<img | ||
src='arrow.png' | ||
alt='arrow' | ||
/> | ||
</div> | ||
</div> | ||
<CarouselComponent | ||
src={src} | ||
alt={alt} | ||
isArt={isArt} | ||
/> | ||
</div> | ||
); | ||
} else if (isEvent) { | ||
return ( | ||
<div className={styles.padding}> | ||
<div className={styles.eventCarousel}> | ||
<div className={styles.btnLeft}><</div> | ||
<div className={styles.carouselContentEvent}> | ||
<img | ||
src={src} | ||
alt={alt} | ||
className={styles.carouselContentEvent} | ||
/> | ||
<div className={styles.carouselTextEvent}> | ||
<h1>{eventName}</h1> | ||
{eventInfo} | ||
<div className={styles.introAbout}> | ||
Read more | ||
<img | ||
src='arrow.png' | ||
alt='arrow' | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
<div className={styles.btnRight}>></div> | ||
</div> | ||
</div> | ||
); | ||
} else if (isAmv) { | ||
return ( | ||
<div style={{ display: 'flex', justifyContent: 'center' }}> | ||
<div style={{ width: '850px' }}> | ||
<CarouselComponent | ||
src={src} | ||
alt={alt} | ||
width={width} | ||
/> | ||
</div> | ||
</div> | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
import styles from "@/styles/Home.module.css"; | ||
|
||
function EventCard({ name, info, }) { | ||
return ( | ||
<div className={styles.eventCard}> | ||
<img | ||
src='event.png' | ||
alt='Event' | ||
height={37} | ||
width={37} | ||
/> | ||
<h2>{name}</h2> | ||
<p className={styles.event}>{info}</p> | ||
</div> | ||
); | ||
} | ||
function EventCardSelected({ name, info, selected }) { | ||
if (selected === true) { | ||
return ( | ||
<div className={styles.eventCardSelected}> | ||
<img | ||
src='event.png' | ||
alt='Event' | ||
height={37} | ||
width={37} | ||
/> | ||
<h2>{name}</h2> | ||
<p className={styles.event}>{info}</p> | ||
</div> | ||
) | ||
} else { | ||
return ( | ||
<EventCard name={name} info={info} /> | ||
); | ||
} | ||
} | ||
export default function Events() { | ||
return ( | ||
<div className={styles.padding}> | ||
<div style={{ display: 'flex', justifyContent: 'center' }}> | ||
<div className={styles.events}> | ||
<div className={styles.recentEvents}> | ||
<h2>Recent Events</h2> | ||
<p className={styles.event}>Lorem ipsum odor amet, consectetuer adipiscing elit. Odio iaculis primis nisi imperdiet adipiscing facilisis enim sociosqu. </p> | ||
</div> | ||
<div> </div> | ||
<div className={styles.eventLine}> </div> | ||
<hr className={styles.eventhr} /> | ||
<div> </div> | ||
<EventCardSelected name='OQAC' info='Lorem ipsum odor amet, consectetuer adipiscing elit. Odio iaculis primis ' /> | ||
<EventCardSelected name='Treasure Hunt' info='Lorem ipsum odor amet, consectetuer adipiscing elit. Odio iaculis primis ' selected={true} /> | ||
<EventCardSelected name='Art Competition' info='Lorem ipsum odor amet, consectetuer adipiscing elit. Odio iaculis primis ' /> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import styles from "@/styles/Home.module.css"; | ||
|
||
function Handle({ src, alt }) { | ||
return ( | ||
<div className={styles.handle}> | ||
<img | ||
src={src} | ||
alt={alt} | ||
/> | ||
</div> | ||
); | ||
} | ||
export default function Footer() { | ||
return ( | ||
<footer className={styles.footer}> | ||
<div className={styles.info}> | ||
<div>Privacy Policy</div> | ||
<div>Terms of Use</div> | ||
</div> | ||
<div> | ||
© 2024 Manga and Anime Society Kharagpur. All Rights Reserved. | ||
</div> | ||
<div className={styles.handles}> | ||
<Handle src='handles/instagram.png' alt='insta' /> | ||
<Handle src='handles/youtube.png' alt='yt' /> | ||
<Handle src='handles/facebook.png' alt='fb' /> | ||
<Handle src='handles/email.png' alt='mail' /> | ||
<Handle src='handles/github.png' alt='github' /> | ||
</div> | ||
</footer> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import styles from "@/styles/Home.module.css"; | ||
|
||
export default function Intro() { | ||
return ( | ||
<div className={styles.padding}> | ||
<div className={styles.intro}> | ||
<red style={{ color: '#E43332', fontWeight: 'bold' }}>Welcome</red> to the official website of <br /> | ||
<h1 className={styles.intro}><b className={styles.intro}>MANGA & ANIME</b><br /> SOCIETY KHARAGPUR</h1> | ||
<p> | ||
We are a community that is dedicated to anime and related content. We aim to spread our passion and love for anime, manga, and related media. We create content ranging from AMVs and reels to artwork and sketches, and hold crowd events like anime quizzes. | ||
</p> | ||
<div className={styles.introButtons}> | ||
<div className={styles.introAbout}> | ||
About Us | ||
</div> | ||
<div className={styles.news}> | ||
Check out our latest Newsletter! | ||
<img | ||
src="arrow.png" | ||
alt="arrow" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import styles from "@/styles/Home.module.css"; | ||
|
||
export default function Navbar() { | ||
return ( | ||
<> | ||
<navbar className={styles.navbar}> | ||
<div> | ||
<img | ||
src='logo.jpeg' | ||
alt="logo" | ||
className={styles.logo} | ||
/> | ||
</div> | ||
<div className={styles.containerNavbar}> | ||
<div>Home <hr className={styles.nav} /></div> | ||
<div>Art</div> | ||
<div>Newsletters</div> | ||
<div>Videos</div> | ||
<div>Events</div> | ||
<div>Members</div> | ||
</div> | ||
<div className={styles.about}> | ||
About Us | ||
</div> | ||
</navbar> | ||
<navbar className={styles.navbarPhone}> | ||
<div> | ||
<img | ||
src='logo.jpeg' | ||
alt="logo" | ||
className={styles.logo} | ||
/> | ||
</div> | ||
<div className={styles.containerNavbar}> | ||
<div>Home <hr className={styles.nav} /></div> | ||
</div> | ||
<div className={styles.about}> | ||
<hr className={styles.about} /> | ||
<hr className={styles.about} /> | ||
<hr className={styles.about} /> | ||
</div> | ||
</navbar> | ||
</> | ||
); | ||
} |
Oops, something went wrong.