From a92fea5a856c3d9a7dcb358258a3d466c2dea78e Mon Sep 17 00:00:00 2001 From: harshithpabbati Date: Fri, 3 Jan 2020 18:49:24 +0530 Subject: [PATCH] index: Add Accepted Students section --- content/projects/amritaresource/index.md | 4 ++ content/projects/pydatastructs/index.md | 5 ++ content/projects/savetheearth/index.md | 3 ++ content/projects/spicymarshmellow/index.md | 3 ++ content/projects/stardox/index.md | 5 ++ content/projects/teachcode/index.md | 6 +++ content/projects/templeapp/index.md | 4 ++ src/pages/index.js | 58 +++++++++++++++++++--- 8 files changed, 82 insertions(+), 6 deletions(-) diff --git a/content/projects/amritaresource/index.md b/content/projects/amritaresource/index.md index 845f611..6c54fe8 100644 --- a/content/projects/amritaresource/index.md +++ b/content/projects/amritaresource/index.md @@ -5,6 +5,10 @@ cover: './cover.png' topic: Android Development mentors: ['Ajay Prabhakar'] mentorsEmail: ['ajayprabhakar369@gmail.com'] +selected: true +selectedStudent: ['Kaniganti Sai Tarun'] +content: By using facebook API firebase can store the token in the app so, that login will be easy for the user but in email, users have to verify. + And I want to improve the User Interface Of app draft: false --- diff --git a/content/projects/pydatastructs/index.md b/content/projects/pydatastructs/index.md index d77f47f..0dd177b 100644 --- a/content/projects/pydatastructs/index.md +++ b/content/projects/pydatastructs/index.md @@ -5,6 +5,11 @@ cover: './cover.png' topic: Data Structures mentors: ['Gagandeep Singh'] mentorsEmail: ['gdp.1807@gmail.com'] +selected: true +selectedStudent: ['Anand Murali'] +content: This project has a lot of data structures in python, a queue can be implemented using arrays. + As I am quite new to programming with python implementing a data structure like queue in + python will be a good start for me to get into contributing to open source. draft: false --- diff --git a/content/projects/savetheearth/index.md b/content/projects/savetheearth/index.md index e20663c..5c53bfd 100644 --- a/content/projects/savetheearth/index.md +++ b/content/projects/savetheearth/index.md @@ -5,6 +5,9 @@ cover: './cover.png' topic: Android App Development mentors: ['Abhijith Ramesh'] mentorsEmail: ['abhijitramesh2k@gmail.com'] +selected: false +selectedStudent: ['xyz'] +content: AmritaResource makes easier to share documents like Exam Paper, Study Material draft: false --- diff --git a/content/projects/spicymarshmellow/index.md b/content/projects/spicymarshmellow/index.md index 4be0bfb..83558b1 100644 --- a/content/projects/spicymarshmellow/index.md +++ b/content/projects/spicymarshmellow/index.md @@ -5,6 +5,9 @@ cover: './cover.png' topic: Android App Development mentors: ['Abhilash G'] mentorsEmail: ['abhilash.ag1997@gmail.com '] +selected: false +selectedStudent: ['xyz'] +content: AmritaResource makes easier to share documents like Exam Paper, Study Material draft: false --- diff --git a/content/projects/stardox/index.md b/content/projects/stardox/index.md index c691337..fed94b9 100644 --- a/content/projects/stardox/index.md +++ b/content/projects/stardox/index.md @@ -5,6 +5,11 @@ cover: './cover.png' topic: Python Scripting mentors: ['Prateek Mishra'] mentorsEmail: ['pr4t333k@gmail.com'] +selected: true +selectedStudent: ['Bhavesh Solanki'] +content: Stardox is an advanced GitHub stargazers information gathering tool. It scraps Github for information + and displays them in a list tree view. It can be used for collecting information about someone’s repository + stargazer’s details.This project is listed in Blackarch Linux distribution. draft: false --- diff --git a/content/projects/teachcode/index.md b/content/projects/teachcode/index.md index 3ad6a90..44436d4 100644 --- a/content/projects/teachcode/index.md +++ b/content/projects/teachcode/index.md @@ -5,6 +5,12 @@ cover: './cover.png' topic: Web Development mentors: ['James George'] mentorsEmail: ['jamesgeorge2021@cs.ajce.in'] +selected: true +selectedStudent: ['Rishabh Kalakoti'] +content: Teachcode provides 30 basic questions for Python and JavaScript, for validation, the + output is checked against the correct programs. To take this package to the next level, proper + tests are missing, there are no proper checks to know if a code change is breaking the code. I + plan to write tests for full coverage for the same. draft: false --- diff --git a/content/projects/templeapp/index.md b/content/projects/templeapp/index.md index 207e7e1..e6f6ee5 100644 --- a/content/projects/templeapp/index.md +++ b/content/projects/templeapp/index.md @@ -5,6 +5,10 @@ cover: './cover.png' topic: Android App Development mentors: ['Ajay Prabhakar'] mentorsEmail: ['ajayprabhakar369@gmail.com'] +selected: true +selectedStudent: ['Aashrith Kandimalla'] +content: This app is a cost-efficient way of maintaining records of poojas, donations made by people and also all the financial records in temples. Using this app, people in the temple counter will be able to enter all the details regarding the poojas they want or some donations they want to do for the temple. + draft: false --- diff --git a/src/pages/index.js b/src/pages/index.js index bec2b22..834aa49 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -1,10 +1,8 @@ import React, { useContext, useState, useEffect } from "react"; import { Link, graphql } from "gatsby"; -import LazyImage from "gatsby-image"; import { Card, CardContent, - CardImage, Column, Columns, Container, @@ -26,7 +24,6 @@ import FAQ from "../components/faq"; import HttpsRedirect from "react-https-redirect"; import Contact from "./contact"; import RSVPForm from "../components/rsvpForm"; -import Research from "../components/research"; const ProjectsIndex = props => { const { theme } = useContext(ThemeContext); @@ -166,6 +163,55 @@ const ProjectsIndex = props => { + {projects.length > 0 ? ( + + + + Accepted Students + + + + {projects.map(({ node }) => { + const title = node.frontmatter.title || node.fields.slug; + return node.frontmatter.selected ? ( + + +
+
+ {node.frontmatter.selectedStudent} + + {title} + +
+
+ {node.frontmatter.content} +
+
+
+
+ ): null; + })} +
+
+
+
+ ) : null} @@ -209,9 +255,6 @@ const ProjectsIndex = props => { > Projects -
- Do not forget to submit your proposals well before December 31, 2019, 23:59 IST -
{projects.map(({ node }) => { @@ -278,6 +321,9 @@ export const pageQuery = graphql` slug } frontmatter { + selected + content + selectedStudent mentors topic title