Skip to content

Commit

Permalink
Merge pull request #14 from EnigmaData/main
Browse files Browse the repository at this point in the history
Build is working
  • Loading branch information
ShubhAgarwal-dev authored Oct 28, 2023
2 parents f2ed4c5 + d229ede commit 24f25b2
Show file tree
Hide file tree
Showing 11 changed files with 230 additions and 301 deletions.
29 changes: 15 additions & 14 deletions app/achievements/data.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
import blocksData from '@/types/Block/blockCard.types'
import basic_img from '@/public/Projects/Images/GRAND.png'
// import blocksData from '@/types/Block/blockCard.types'
// import basic_img from '@/public/Projects/Images/GRAND.png'

const data: blocksData = [
{
heading: 'Inter IIT TechMeet 11',
time: 'May',
content:
'Lorem Ipsum is simply dummy text of the printing and typesetting industry.',
knowMoreLink: 'https://www.granddecoder.mit.edu/',
image: basic_img.src,
},
// other achievements
]
// const data: blocksData = [
// {
// id: '0',
// title: 'Inter IIT TechMeet 11',
// start_month: 'May',
// description:
// 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.',
// url: 'https://www.granddecoder.mit.edu/',
// image_url: basic_img.src,
// },
// // other achievements
// ]

export default data
// export default data
46 changes: 24 additions & 22 deletions app/events/data.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
import blocksData from '@/types/Block/blockCard.types'
// import blocksData from '@/types/Block/blockCard.types'

const data: blocksData = [
{
heading: 'Toolset Unbounded',
time: 'June - July',
content:
'The problem Statement involves developing a GUI frontend with a user-friendly UI/UX. It includes a secure signup/login page with password/OTP protection. Implement a lossless image and text compression/decompression algorithms. Compressed images are stored in a secure database, and a file management system allows users to add/delete their images. You are free to choose various components, and exploration is encouraged.',
knowMoreLink:
'https://drive.google.com/file/d/15gb-OIBMqm8VlWeJ3AOWYgFbwCTwLM4d/view?usp=sharing',
image: '/Events/pics/IMAGE_CODING_CLUB_01.jpg',
},
{
heading: 'Bitwise Symphony',
time: 'July',
content:
'Unleash your algorithmic prowess, crafting a symphony from integers. Witness the mesmerizing rise of numbers, powered by bitwise sorcery. Seek the harmonies that transcend ordinariness, forging an ascending masterpiece. Dare you compose the ultimate melody, or chase the enigmatic crescendo? Enter the realm of Bitwise Symphony!.',
knowMoreLink:
'https://drive.google.com/file/d/1oYef04uoGGo2glUbUzRyPpaeH74GXIer/view?usp=sharing',
image: '/Events/pics/sar.png',
},
]
// const data: blocksData = [
// {
// id: "0",
// title: 'Toolset Unbounded',
// start_month: 'June - July',
// description:
// 'The problem Statement involves developing a GUI frontend with a user-friendly UI/UX. It includes a secure signup/login page with password/OTP protection. Implement a lossless image and text compression/decompression algorithms. Compressed images are stored in a secure database, and a file management system allows users to add/delete their images. You are free to choose various components, and exploration is encouraged.',
// image_url:
// 'https://drive.google.com/file/d/15gb-OIBMqm8VlWeJ3AOWYgFbwCTwLM4d/view?usp=sharing',
// : '/Events/pics/IMAGE_CODING_CLUB_01.jpg',
// },
// {
// id: "1",
// title: 'Bitwise Symphony',
// time: 'July',
// content:
// 'Unleash your algorithmic prowess, crafting a symphony from integers. Witness the mesmerizing rise of numbers, powered by bitwise sorcery. Seek the harmonies that transcend ordinariness, forging an ascending masterpiece. Dare you compose the ultimate melody, or chase the enigmatic crescendo? Enter the realm of Bitwise Symphony!.',
// knowMoreLink:
// 'https://drive.google.com/file/d/1oYef04uoGGo2glUbUzRyPpaeH74GXIer/view?usp=sharing',
// image: '/Events/pics/sar.png',
// },
// ]

export default data
// export default data
2 changes: 2 additions & 0 deletions app/leaderboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ const Page = async () => {
headings={headings_lt}
row_data={arrLt}
table_heading='Leetcode'
setRowData={null}
/>
) : (
<Loading />
Expand All @@ -115,6 +116,7 @@ const Page = async () => {
headings={headings_cf}
row_data={arrCf}
table_heading='Codeforces'
setRowData={null}
/>
) : (
<Loading />
Expand Down
4 changes: 4 additions & 0 deletions app/members/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ const Page = () => {
headings={headings_mem}
row_data={memArr}
table_heading='Members'
setRowData={null}
/>
) : (
<Loading />
Expand All @@ -183,6 +184,7 @@ const Page = () => {
headings={headings_foss}
row_data={fossArr}
table_heading='FOSS MEMBERS'
setRowData={null}
/>
) : (
<Loading />
Expand All @@ -194,6 +196,7 @@ const Page = () => {
headings={headings_cp}
row_data={cpArr}
table_heading='Competitive Programming'
setRowData={null}
/>
) : (
<Loading />
Expand All @@ -205,6 +208,7 @@ const Page = () => {
headings={headings_gd}
row_data={gdArr}
table_heading='Game Development'
setRowData={null}
/>
) : (
<Loading />
Expand Down
58 changes: 29 additions & 29 deletions app/projects/data.ts
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
import blocksData from '@/types/Block/blockCard.types'
// import blocksData from '@/types/Block/blockCard.types'

import SCA from '@/public/Projects/Images/IMG_1_Stock.png'
import gd from '@/public/Projects/Images/Gaming Image.jpg'
// import SCA from '@/public/Projects/Images/IMG_1_Stock.png'
// import gd from '@/public/Projects/Images/Gaming Image.jpg'

const data: blocksData = [
{
heading: 'Student Companion App',
content:
"We're developing an inclusive mobile app for an educational institution, providing personalized timetables, \
instant notifications, in-class quizzes, and admin interaction. Key features: accessible timetables, real-time updates, \
in-class quizzes, and an admin dashboard. The app ensures secure communication, user profiles, and resource sharing, \
boosting student engagement, efficient communication, administrative efficiency, and tech integration. It centralizes \
academic resources, creating a dynamic learning environment and improving student-admin interaction.",
knowMoreLink:
'https://docs.google.com/document/d/1Xg70yNGxvFGi6nF9kM9sy2WNs6MPmpqwWJGSUkJJ5DY/edit?usp=sharing',
image: SCA.src,
time: 'FOSS',
},
// {
// heading: '2D-Platformer Game',
// content:
// 'Currently we are developing a 2D top down game ,based on the theme of ruin exploration, set on a fictional stage. \
// This game boasts a rich world filled with exploration and adventure.',
// knowMoreLink:
// 'https://docs.google.com/document/d/1QNEcDAQeoi_AZt7qXQF7T2RmdZCxovqfjODHy5joCzw/edit?usp=sharing',
// image: gd.src,
// time: 'Game Dev',
// },
]
// const data: blocksData = [
// {
// heading: 'Student Companion App',
// content:
// "We're developing an inclusive mobile app for an educational institution, providing personalized timetables, \
// instant notifications, in-class quizzes, and admin interaction. Key features: accessible timetables, real-time updates, \
// in-class quizzes, and an admin dashboard. The app ensures secure communication, user profiles, and resource sharing, \
// boosting student engagement, efficient communication, administrative efficiency, and tech integration. It centralizes \
// academic resources, creating a dynamic learning environment and improving student-admin interaction.",
// knowMoreLink:
// 'https://docs.google.com/document/d/1Xg70yNGxvFGi6nF9kM9sy2WNs6MPmpqwWJGSUkJJ5DY/edit?usp=sharing',
// image: SCA.src,
// time: 'FOSS',
// },
// // {
// // heading: '2D-Platformer Game',
// // content:
// // 'Currently we are developing a 2D top down game ,based on the theme of ruin exploration, set on a fictional stage. \
// // This game boasts a rich world filled with exploration and adventure.',
// // knowMoreLink:
// // 'https://docs.google.com/document/d/1QNEcDAQeoi_AZt7qXQF7T2RmdZCxovqfjODHy5joCzw/edit?usp=sharing',
// // image: gd.src,
// // time: 'Game Dev',
// // },
// ]

export default data
// export default data
8 changes: 4 additions & 4 deletions components/Members/CTA.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,16 +139,16 @@ const CTA = () => {
established for each batch year. For{' '}
<span className='font-semibold'>2024</span> batch students,
the minimum contest rating requirement is set at{' '}
<span className='font-semibold'>1700</span>. Similarly, for{' '}
<span className='font-semibold'>1850</span>. Similarly, for{' '}
<span className='font-semibold'>2025</span> batch students,
the minimum contest rating is{' '}
<span className='font-semibold'>1600</span>. For{' '}
<span className='font-semibold'>1750</span>. For{' '}
<span className='font-semibold'>2026</span> batch students,
the minimum contest rating is{' '}
<span className='font-semibold'>1500</span>, and for{' '}
<span className='font-semibold'>1675</span>, and for{' '}
<span className='font-semibold'>2027</span> batch students,
the minimum contest rating requirement is set at{' '}
<span className='font-semibold'>1400</span>. These ratings
<span className='font-semibold'>1600</span>. These ratings
serve as benchmarks to assess your performance and
competence in LeetCode contests, ensuring a competitive and
balanced membership within the club.
Expand Down
2 changes: 0 additions & 2 deletions components/Registration/RegBlock/RegBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import styles from './RegBlock.module.css'
import { State } from '@/types/AuthContext/AuthContext.type'
import { reg_inputs } from '@/types/Registration/RegBlock.types'
import axios from 'axios'
import Modal from 'react-modal'
import data from '../../../app/achievements/data'

interface Props {
title: string
Expand Down
1 change: 0 additions & 1 deletion components/Registration/Registration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Modal from 'react-modal'
import styles from './Registration.module.css'
import { Tabs } from 'flowbite-react'
import axios from 'axios'
import data from '../../app/achievements/data'
import useAuth from '@/hooks/useAuth'
import { State } from '@/types/AuthContext/AuthContext.type'
import { useRouter } from 'next/navigation'
Expand Down
1 change: 0 additions & 1 deletion pages/admin/members.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { IoGameController } from 'react-icons/io5'
import { IoIosPeople } from 'react-icons/io'
import Modal from 'react-modal'
import Alert from '@mui/material/Alert'
import data from '../../app/events/data'

const MEMBERS_REVALIDATION_TIME = 60 * 60 * 12

Expand Down
71 changes: 0 additions & 71 deletions prisma/seed.ts

This file was deleted.

Loading

0 comments on commit 24f25b2

Please sign in to comment.