Skip to content

Commit

Permalink
upload to github
Browse files Browse the repository at this point in the history
  • Loading branch information
Jx-ls committed Dec 12, 2024
0 parents commit 713240a
Show file tree
Hide file tree
Showing 37 changed files with 5,934 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
40 changes: 40 additions & 0 deletions .gitignore
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
40 changes: 40 additions & 0 deletions README.md
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.
106 changes: 106 additions & 0 deletions components/carousel.js
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}>&lt;</div>
<div>
{isArt ? <ArtOverlay /> : <></>}
<img
src={src}
alt={alt}
className={styles.carousel}
width={width}
/>
</div>
<div className={styles.btnRight}>&gt;</div>
</div>
<div className={styles.carouselBtns}>
<div className={styles.carouselBtn}>&nbsp;</div>
<div className={styles.carouselBtn}>&nbsp;</div>
<div className={styles.carouselBtn}>&nbsp;</div>
<div className={styles.carouselBtn}>&nbsp;</div>
<div className={styles.carouselBtn}>&nbsp;</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}>&lt;</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}>&gt;</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>
);
}
}
57 changes: 57 additions & 0 deletions components/events.js
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>&nbsp;</div>
<div className={styles.eventLine}>&nbsp;</div>
<hr className={styles.eventhr} />
<div>&nbsp;</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>
);
}
32 changes: 32 additions & 0 deletions components/footer.js
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>
);
}
27 changes: 27 additions & 0 deletions components/intro.js
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>
);
}
45 changes: 45 additions & 0 deletions components/navbar.js
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>
</>
);
}
Loading

0 comments on commit 713240a

Please sign in to comment.