Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/images/winners/Satakshi.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/winners/ashpreet.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/winners/atishay.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/winners/ayan.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.png" />
<link rel="icon" href="./logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#FFFFFF" />
<meta
Expand Down
Binary file added public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 18 additions & 9 deletions src/sections/winners/components/winnercard/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ const WinnerCard = ({
name,
title,
description,
a_description,
add_description,
linkedin,
twitter = null,
github,
image,
}) => {
return (
Expand Down Expand Up @@ -35,22 +37,29 @@ const WinnerCard = ({
<div className="card-section is-active" id="about">
<div className="card-content">
<div className="card-subtitle">ABOUT</div>
<p className="card-desc">{description}</p>
<p className="card-desc">{description}<br/>{a_description}<br/>{add_description}</p>
</div>
<div className="card-social">
{twitter !== null && (
<a href={twitter} target="_blank" rel="noopener">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path d="M512 97.248c-19.04 8.352-39.328 13.888-60.48 16.576 21.76-12.992 38.368-33.408 46.176-58.016-20.288 12.096-42.688 20.64-66.56 25.408C411.872 60.704 384.416 48 354.464 48c-58.112 0-104.896 47.168-104.896 104.992 0 8.32.704 16.32 2.432 23.936-87.264-4.256-164.48-46.08-216.352-109.792-9.056 15.712-14.368 33.696-14.368 53.056 0 36.352 18.72 68.576 46.624 87.232-16.864-.32-33.408-5.216-47.424-12.928v1.152c0 51.008 36.384 93.376 84.096 103.136-8.544 2.336-17.856 3.456-27.52 3.456-6.72 0-13.504-.384-19.872-1.792 13.6 41.568 52.192 72.128 98.08 73.12-35.712 27.936-81.056 44.768-130.144 44.768-8.608 0-16.864-.384-25.12-1.44C46.496 446.88 101.6 464 161.024 464c193.152 0 298.752-160 298.752-298.688 0-4.64-.16-9.12-.384-13.568 20.832-14.784 38.336-33.248 52.608-54.496z" />
</svg>
</a>
)}



<a href={linkedin} target="_blank" rel="noopener">
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M23.994 24v-.001H24v-8.802c0-4.306-.927-7.623-5.961-7.623-2.42 0-4.044 1.328-4.707 2.587h-.07V7.976H8.489v16.023h4.97v-7.934c0-2.089.396-4.109 2.983-4.109 2.549 0 2.587 2.384 2.587 4.243V24zM.396 7.977h4.976V24H.396zM2.882 0C1.291 0 0 1.291 0 2.882s1.291 2.909 2.882 2.909 2.882-1.318 2.882-2.909A2.884 2.884 0 002.882 0z" />
</svg>
</a>
{github !== null && (
<a href={github} target="_blank" rel="noopener">
<svg xmlns="http://www.w3.org/2000/svg"
aria-label="GitHub" role="img"
viewBox="0 0 512 512"><rect
width="512" height="512"
rx="15%"
fill="#1B1817"/>
<path fill="#fff" d="M335 499c14 0 12 17 12 17H165s-2-17 12-17c13 0 16-6 16-12l-1-50c-71 16-86-28-86-28-12-30-28-37-28-37-24-16 1-16 1-16 26 2 40 26 40 26 22 39 59 28 74 22 2-17 9-28 16-35-57-6-116-28-116-126 0-28 10-51 26-69-3-6-11-32 3-67 0 0 21-7 70 26 42-12 86-12 128 0 49-33 70-26 70-26 14 35 6 61 3 67 16 18 26 41 26 69 0 98-60 120-117 126 10 8 18 24 18 48l-1 70c0 6 3 12 16 12z"/></svg>

</a>
)}
</div>
</div>
</div>
Expand Down
54 changes: 46 additions & 8 deletions src/sections/winners/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,57 @@ import "./styles/index.css";

const Winnerslist = [
{
name: "John",
title: "Doe",
name: "Atishay Srivastava",
title: "DSC Technical Coordinator",
description:
"Description",
linkedin: "#",
image: "images/winners/test.jpg",
"Frontend Engineer",
a_description:"Problem Solver ",
add_description:"15+ Hackathons Experience",
linkedin: "https://www.linkedin.com/in/atishay-srivastava-7a1140174/",
github:"https://github.com/xAtishayx/",
image: "images/winners/atishay.jpg",
},


{
name: "Ayan Goyal",
title: "DSC Coordinator",
description:
"Flutter Developer",
a_description:"AR/VR enthusiast",
add_description:"Campus Facilitator for 30 Days of Google Cloud and yeah I code in JAVA.",
linkedin: "https://www.linkedin.com/in/ayan-goel-2a30ab190/",
github:"https://github.com/GAyan17",
image: "images/winners/ayan.jpeg",
},
{
name: "Satakshi Garg",
title: "DSC Technical Coordinator",
description:
"Competitive Programmer ",
a_description:"WTEF@google |Cryptography",
add_description:"AR/VR | ML | Web/App Dev",
linkedin: "https://www.linkedin.com/in/satakshigarg",
github:"https://github.com/satakshigarg",
image: "images/winners/Satakshi.jpg",
},
{
name: "Ashpreet Singh",
title: "DSC Technical Coordinator",
description:
" Organizer at KDM Delhi NCR",
a_description:"ML and Health-tech Enthusiast",
add_description:"",
linkedin: "https://www.linkedin.com/in/arshpreet-singh-791721173/",
github:"https://github.com/arshpreet10",
image: "images/winners/ashpreet.jpg",
},

];

const Winners = () => {
return (
<section className="speakers__wrapper" id="speakers-section">
<div className="row section__header justify-content-center">
<div className="col-md-10">Winners</div>
<div className="col-md-10">Mentors</div>
</div>

<div className="row justify-content-center">
Expand All @@ -30,8 +65,11 @@ const Winners = () => {
key={e.linkedin}
title={e.title}
linkedin={e.linkedin}
github={e.github}
name={e.name}
description={e.description}
a_description={e.a_description}
add_description={e.add_description}
image={e.image}
/>
))}
Expand Down
8 changes: 5 additions & 3 deletions src/sections/winners/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,14 @@ body.dark-mode .card-main {
}

body.dark-mode .card-content {
padding: 20px;
padding: 15px;
background-color:rgb(49, 49, 49) !important;
}

.card-desc {
line-height: 1.6;
color: var(--text-tertiary);
font-size: 14px;
font-size: 12px;
margin: 0;
font-weight: 400;
}
Expand All @@ -186,8 +186,10 @@ body.dark-mode .card-desc {
bottom: 0;
display: flex;
align-items: center;
left:45px;
padding: 0 20px;
margin-bottom: 30px;
margin-bottom: 15px;

}
.card-social svg {
fill: rgb(165, 181, 206);
Expand Down
2 changes: 1 addition & 1 deletion src/shared_components/sidebar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Sidebar = () => {
<li className="sidebar__item sidebar__logo">
<a href="#landing-section" className="sidebar__item__link">
<img
src="favicon.png"
src="logo.png"
alt="Hackerspree"
className="sidebar__logo__img"
/>
Expand Down