-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from poornachandugade/master
add sponsors
- Loading branch information
Showing
33 changed files
with
260 additions
and
32 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
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,111 @@ | ||
import React, { Component } from "react"; | ||
import SponsorsView from "./SponsorsView"; | ||
const pastsponsors = { | ||
first: [ | ||
{ name: "DELL", img: "/static/img/past-sponsors/dell.png" }, | ||
{ name: "Pepsi", img: "/static/img/past-sponsors/pepsi.png" }, | ||
{ name: "Coca Cola", img: "/static/img/past-sponsors/coca-cola.jpg" }, | ||
{ | ||
name: "Dominos Pizza", | ||
img: "/static/img/past-sponsors/dominos-pizza.png" | ||
}, | ||
{ name: "Bikanervala", img: "/static/img/past-sponsors/bikanervala.png" }, | ||
{ | ||
name: "Godrej interio", | ||
img: "/static/img/past-sponsors/godrej-interio.png" | ||
} | ||
], | ||
second: [ | ||
{ name: "Dhyeya IAS", img: "/static/img/past-sponsors/dhyeya-ias.png" }, | ||
{ name: "Indian Oil", img: "/static/img/past-sponsors/indian-oil.png" }, | ||
{ name: "Made Easy", img: "/static/img/past-sponsors/made-easy.png" }, | ||
{ name: "IMS", img: "/static/img/past-sponsors/ims.png" }, | ||
{ name: "KTPL", img: "/static/img/past-sponsors/ktpl.png" }, | ||
{ name: "Gate Forum", img: "/static/img/past-sponsors/gate-forum.jpg" } | ||
], | ||
third: [ | ||
{ name: "KTM", img: "/static/img/past-sponsors/ktm.jpg" }, | ||
{ | ||
name: "Royal Enfield", | ||
img: "/static/img/past-sponsors/royal-enfield.jpg" | ||
}, | ||
{ name: "Hero", img: "/static/img/past-sponsors/hero.png" }, | ||
{ name: "TATA", img: "/static/img/past-sponsors/tata.png" }, | ||
{ name: "Toyota", img: "/static/img/past-sponsors/toyota.png" }, | ||
{ name: "Hyundai", img: "/static/img/past-sponsors/hyundai.png" } | ||
], | ||
fourth: [ | ||
{ name: "Jagran", img: "/static/img/past-sponsors/jagran.svg" }, | ||
{ name: "Sonata", img: "/static/img/past-sponsors/sonata.jpg" }, | ||
{ name: "SBI", img: "/static/img/past-sponsors/sbi.jpg" }, | ||
{ name: "Vijaya Bank", img: "/static/img/past-sponsors/vijaya-bank.png" }, | ||
{ | ||
name: "Allahabad Bank", | ||
img: "/static/img/past-sponsors/allahabad-bank.png" | ||
} | ||
], | ||
fifth: [ | ||
{ name: "Hackerearth", img: "/static/img/past-sponsors/hackerearth.png" }, | ||
{ | ||
name: "Hindustantimes", | ||
img: "/static/img/past-sponsors/hindustan-times.png" | ||
}, | ||
{ name: "Autodesk", img: "/static/img/past-sponsors/autodesk.jpg" }, | ||
{ name: "Levis", img: "/static/img/past-sponsors/levis.png" } | ||
], | ||
all: [ | ||
{ name: "DELL", img: "/static/img/past-sponsors/dell.png" }, | ||
{ name: "Pepsi", img: "/static/img/past-sponsors/pepsi.png" }, | ||
{ name: "Coca Cola", img: "/static/img/past-sponsors/coca-cola.jpg" }, | ||
{ | ||
name: "Dominos Pizza", | ||
img: "/static/img/past-sponsors/dominos-pizza.png" | ||
}, | ||
{ name: "Bikanervala", img: "/static/img/past-sponsors/bikanervala.png" }, | ||
{ | ||
name: "Godrej interio", | ||
img: "/static/img/past-sponsors/godrej-interio.png" | ||
}, | ||
{ name: "Dhyeya IAS", img: "/static/img/past-sponsors/dhyeya-ias.png" }, | ||
{ name: "Indian Oil", img: "/static/img/past-sponsors/indian-oil.png" }, | ||
{ name: "Made Easy", img: "/static/img/past-sponsors/made-easy.png" }, | ||
{ name: "IMS", img: "/static/img/past-sponsors/ims.png" }, | ||
{ name: "KTPL", img: "/static/img/past-sponsors/ktpl.png" }, | ||
{ name: "Gate Forum", img: "/static/img/past-sponsors/gate-forum.jpg" }, | ||
{ name: "KTM", img: "/static/img/past-sponsors/ktm.jpg" }, | ||
{ | ||
name: "Royal Enfield", | ||
img: "/static/img/past-sponsors/royal-enfield.jpg" | ||
}, | ||
{ name: "Hero", img: "/static/img/past-sponsors/hero.png" }, | ||
{ name: "TATA", img: "/static/img/past-sponsors/tata.png" }, | ||
{ name: "Toyota", img: "/static/img/past-sponsors/toyota.png" }, | ||
{ name: "Hyundai", img: "/static/img/past-sponsors/hyundai.png" }, | ||
{ name: "Jagran", img: "/static/img/past-sponsors/jagran.svg" }, | ||
{ name: "Sonata", img: "/static/img/past-sponsors/sonata.jpg" }, | ||
{ name: "SBI", img: "/static/img/past-sponsors/sbi.jpg" }, | ||
{ name: "Vijaya Bank", img: "/static/img/past-sponsors/vijaya-bank.png" }, | ||
{ | ||
name: "Allahabad Bank", | ||
img: "/static/img/past-sponsors/allahabad-bank.png" | ||
}, | ||
{ name: "Hackerearth", img: "/static/img/past-sponsors/hackerearth.png" }, | ||
{ | ||
name: "Hindustantimes", | ||
img: "/static/img/past-sponsors/hindustan-times.png" | ||
}, | ||
{ name: "Autodesk", img: "/static/img/past-sponsors/autodesk.jpg" }, | ||
{ name: "Levis", img: "/static/img/past-sponsors/levis.png" } | ||
] | ||
}; | ||
class PastSponsors extends Component { | ||
render() { | ||
return ( | ||
<div> | ||
<SponsorsView people={pastsponsors.all} heading="Past Sponsors" /> | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
export default PastSponsors; |
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,58 @@ | ||
import React, { Component } from "react"; | ||
|
||
export default ({ people, heading }) => { | ||
return ( | ||
<section> | ||
<h1>{heading}</h1> | ||
<div className="container"> | ||
{people.map(function(sponsor) { | ||
return ( | ||
<div className="img-container"> | ||
<img src={sponsor.img} alt={sponsor.name} /> | ||
</div> | ||
); | ||
})} | ||
</div> | ||
<style jsx>{` | ||
section { | ||
padding: 20px 0px; | ||
background-color: white; | ||
} | ||
h1 { | ||
text-align: center; | ||
color: #e91e63; | ||
} | ||
div.container { | ||
display: flex; | ||
width: 80%; | ||
height: auto; | ||
margin: 0 auto; | ||
flex-wrap: wrap; | ||
justify-content: center; | ||
box-sizing: border-box; | ||
} | ||
div.img-container { | ||
width: 150px; | ||
height: 150px; | ||
margin: 30px; | ||
} | ||
img { | ||
width: 100%; | ||
height: auto; | ||
vertical-align: baseline; | ||
margin-top: 75px; | ||
transform: translateY(-50%); | ||
} | ||
@media (max-width: 700px) { | ||
div.container { | ||
width: 100%; | ||
} | ||
section { | ||
margin-top: 35px; | ||
background-color: white; | ||
} | ||
} | ||
`}</style> | ||
</section> | ||
); | ||
}; |
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
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,15 @@ | ||
import React, { Component } from "react"; | ||
import Meta from "../components/Meta"; | ||
import PastSponsors from "../components/sponsors/PastSponsors"; | ||
import Footer from "../components/Footer"; | ||
export default class extends Component { | ||
render() { | ||
return ( | ||
<div> | ||
<Meta /> | ||
<PastSponsors /> | ||
<Footer /> | ||
</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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.