Skip to content

Commit

Permalink
envisage games
Browse files Browse the repository at this point in the history
  • Loading branch information
krithikaa22 committed Jan 14, 2022
2 parents c9ec230 + 4988b0e commit 82c5eb7
Show file tree
Hide file tree
Showing 16 changed files with 226 additions and 80 deletions.
2 changes: 1 addition & 1 deletion .eslintcache

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"particles.js": "^2.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-ga": "^3.3.0",
"react-icons": "^3.0.0",
"react-intersection-observer": "^8.32.0",
"react-markdown": "^7.1.1",
Expand Down
29 changes: 28 additions & 1 deletion src/components/pages/Exhibitions/Exhibitions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as React from "react";
import CustomBox from "../../shared/CustomBox";
import EXHB2 from "../../../images/Exhibitions/exhb_2.png";
import "../../../styles/Exhibitions.css";
import { exhibitions,CauroselImages, Titlevariants, AboutusVariants, AboutusData } from "./Exhibitionsdata";
import { currentexhibitions,exhibitions,CauroselImages, Titlevariants, AboutusVariants, AboutusData } from "./Exhibitionsdata";
import Card from "./Card";
import { motion ,useAnimation } from 'framer-motion';
import Footer from "../../shared/Footer";
Expand Down Expand Up @@ -166,6 +166,33 @@ const Exhibitions = ()=>{
})
}
</SimpleGrid>
<Heading
fontWeight={500}
m={[2,5]}
className = "Title"
color={Titlecolor}
p={3}
lineHeight={1.1} fontSize={"4xl"}
>
Current EXHIBITIONS
</Heading>
<SimpleGrid columns={[1,1,2,3]} spacing={[10,20]} ref={ref} mb={5} pb={20}>
{
currentexhibitions.map( (item,index) => {
let i = index%3;
return(
<MotionBox
custom = {i}
animate = {animation}
className="ECard"
key= {index}
>
<Card data={item} />
</MotionBox>
)
})
}
</SimpleGrid>
</VStack>
</Container>

Expand Down
167 changes: 102 additions & 65 deletions src/components/pages/Exhibitions/Exhibitionsdata.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,35 @@ import EXHB10 from "../../../images/Exhibitions/exhb_10.png";
import EXHB11 from "../../../images/Exhibitions/exhb_11.png";
import EXHB12 from "../../../images/Exhibitions/exhb_12.png";
import EXHB13 from "../../../images/Exhibitions/exhb_13.png";
import EXHB14 from "../../../images/Exhibitions/exhb_14.jpg";
import EXHB15 from "../../../images/Exhibitions/exhb_15.jpg";
import EXHB16 from "../../../images/Exhibitions/exhb_16.jpg";
import EXHB17 from "../../../images/Exhibitions/exhb_17.png";

export const CauroselImages = [EXHB3,EXHB4,EXHB9,EXHB10,EXHB11,EXHB12];
export const CauroselImages = [EXHB3, EXHB4, EXHB9, EXHB10, EXHB11, EXHB12];

export const Titlevariants = {
lhidden:{
x: "-100vw"
lhidden: {
x: "-100vw"
},
final : {
final: {
x: 0,
transition:{
duration : "1",
transition: {
duration: "1",
}
},

}

export const AboutusVariants = {
hidden : {
opacity : 0
hidden: {
opacity: 0
},
visible : {
opacity : 1,
transition:{
duration : "2",
delay : 1
visible: {
opacity: 1,
transition: {
duration: "2",
delay: 1
}
}

Expand All @@ -49,63 +53,96 @@ They are responsible for conveying the ideas of the participants from a
They offer an unparalleled and ideal opportunity to showcase innovative products to a broad
spectrum of people.`;

interface exhibitions{
id: string,
year : string,
title : string,
description ?: string,
image : string
interface exhibitions {
id: string,
year: string,
title: string,
description?: string,
image: string
}

export const exhibitions : exhibitions[] =[
{
id : "1",
year:"2016",
title : "Vintage Car Exhibition",
description : `In collaboration with the Madras Heritage Motoring Club,
export const currentexhibitions: exhibitions[] = [
{
id: "2",
year: "13-01-22, 9 AM - 10 AM",
title: "Sirena Technologies",
description: `Sirena Technologies is making new strides in robotics. They have built the first Indian Humanoid Robot ‘Nino’, Nino-T a life size humanoid and have introduced SKIP (Sirena Knowledge and Information Program) for schools, which is crafted to enable students to learn cutting-edge trending technologies which include Humanoids, Artificial Intelligence, Internet of Things, Voice Recognition, Computer Vision, Mechatronics, 3D printing, Android programming and more.`,
image: EXHB15
},
{
id: "3",
year: "14-01-22, 9 AM - 10 AM",
title: "Yaskawa Robotics",
description: "Yaskawa Robotics is one of the top 10 leading robotics companies in the world.Yaskawa Motoman delivers high-quality industrial robots and fully-integrated robotic automation systems that enable various industries to attain higher standards.Yaskawa takes industrial automation to new levels through robotics. Their Motoman brand of robotic arms, part positioners, and easy-to-program controllers automate applications that were not thought possible a short time ago. ",
image: EXHB16
},
{
id: "4",
year: "14-01-22, 10 AM - 11 AM",
title: "Devic Earth",
description: "Devic Earth, a green-tech startup, had developed technology to clear pollutants using pulsed radio frequency energy. Pure Skies is the device developed by Devic Earth that aids in air purification. Devic Earth has delivered 150 million+ square feet of clean air so far. Devic Earth is working hard to ensure that its products exceed worldwide standards for product safety, fire and corrosion resistance, and IT security. ",
image: EXHB17
},
{
id: "1",
year: "15-01-22, 10 AM - 11 AM",
title: "Ather Energy",
description: `Ather Energy has changed the way India looks at electric vehicles. It is a pioneer in developing innovative and connected electric scooters. Their ingenious products and services are an amalgamation of clean design and engineering.The automobile industry is in the midst of a huge technological disruption.In parallel, the world around us is getting connected, enabling integration of devices and making our life experiences seamless. Intelligent vehicles will revolutionize our commute experience in the future and the Ather 450 stands at the cusp of this exciting reality.`,
image: EXHB14
},
];



export const exhibitions: exhibitions[] = [
{
id: "1",
year: "2016",
title: "Vintage Car Exhibition",
description: `In collaboration with the Madras Heritage Motoring Club,
We Presented a vintage car exhibition. Some automobiles such as, Austin 8, 1952 Topolino, which
brought about revolution in the industry was presented. `,
image : EXHB1
},
{
id : "2",
year:"2017",
title : " NAO: Autonomous humanoid Robot",
description:`Manav: India’s first 3D printed humanoid robot which was developed by
image: EXHB1
},
{
id: "2",
year: "2017",
title: " NAO: Autonomous humanoid Robot",
description: `Manav: India’s first 3D printed humanoid robot which was developed by
Diwakar Vaish of A-SET training institutes.`,
image : EXHB10
},
{
id : "3",
year:"2018",
title : "Defence and Aerospace models from ISRO",
description:"ISRO - GSLV and PSLV models were exhibited at Shaastra Exhibitions.",
image : EXHB5
},
{
id : "4",
year:"2018",
title : "Bike Expo",
description : "Shaastra 2018 unveiled the spectacular technological advancements in motorcycle history with its Bike Expo.",
image : EXHB8
},
{
id:"4",
year : "2019",
title:"International Expo",
description : `Shaastra for the first time ever, presents International Exhibitions, in association with the US Consulate General of Chennai.
image: EXHB10
},
{
id: "3",
year: "2018",
title: "Defence and Aerospace models from ISRO",
description: "ISRO - GSLV and PSLV models were exhibited at Shaastra Exhibitions.",
image: EXHB5
},
{
id: "4",
year: "2018",
title: "Bike Expo",
description: "Shaastra 2018 unveiled the spectacular technological advancements in motorcycle history with its Bike Expo.",
image: EXHB8
},
{
id: "4",
year: "2019",
title: "International Expo",
description: `Shaastra for the first time ever, presents International Exhibitions, in association with the US Consulate General of Chennai.
The International Exhibits was on three broad perspectives – Academics, Research and Business. `,
image : EXHB7
},
{
id:"5",
year : "2020",
title:"Defence Expo",
description:`The Defence Expo was an exhibition of the products of nascent defence technology start-ups,established
image: EXHB7
},
{
id: "5",
year: "2020",
title: "Defence Expo",
description: `The Defence Expo was an exhibition of the products of nascent defence technology start-ups,established
manufacturers,Defence PSUs and the Indian Armed Forces.It was conducted over the course of the 4 days of Shaastra 2020.
The Expo provided exposure to Defence Technology for the audience.`,
image : EXHB6
}
];
image: EXHB6
}
];



22 changes: 20 additions & 2 deletions src/components/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import "swiper/components/navigation/navigation.min.css";
import "swiper/components/pagination/pagination.min.css";
import "swiper/swiper-bundle";
import "swiper/swiper-bundle.esm.browser";
import { Link } from "react-router-dom";
import { Link,withRouter } from "react-router-dom";
import prevArrow from "../../images/prevArrow.svg";
import robos1 from "../../images/homepage_illustrations/ROBOS.png";
import robo1 from "../../images/homepage_illustrations/big.png";
Expand Down Expand Up @@ -62,6 +62,11 @@ import RameshChandraLahoti from "../../images/Speaker/newSpeakers/RameshChandraL
import ShashiTharoor from "../../images/Speaker/newSpeakers/ShashiTharoor.jpg";
import VinodDham from "../../images/Speaker/newSpeakers/VinodDham.jpg";
import Wineland from "../../images/Speaker/newSpeakers/wineland.jpg";
import ReactGA from 'react-ga';
const TRACKING_ID = "UA-216942538-1"; // YOUR_OWN_TRACKING_ID
ReactGA.initialize(TRACKING_ID);



interface Props {}

Expand All @@ -73,6 +78,11 @@ const Home = (props: Props) => {
DiceOutlineLightAnimated
);

React.useEffect(()=>{
ReactGA.pageview(window.location.pathname + window.location.search);

});

const speakersData = [
{
"Speaker Name": "Dr. Shashi Tharoor",
Expand Down Expand Up @@ -417,6 +427,14 @@ const Home = (props: Props) => {
>
<FaYoutubeSquare />
</a>
<span></span>
<a
target="_blank"
href="https://forms.gle/JHqGdgWeUVLm6hwR8"
>
Feedback
</a>

{window.innerWidth > 600 ? <span></span> : <></>}
</div>
</section>
Expand Down Expand Up @@ -848,4 +866,4 @@ const Home = (props: Props) => {
);
};

export default Home;
export default withRouter(Home);
Loading

0 comments on commit 82c5eb7

Please sign in to comment.