diff --git a/app.py b/app.py index 3f4500f..9efd090 100644 --- a/app.py +++ b/app.py @@ -1,9 +1,14 @@ +import json + from flask import Flask from flask import jsonify from flask import render_template app = Flask(__name__) +with open("config.json", "r") as c: + params = json.load(c)["params"] + @app.route("/") def landingPage(): @@ -20,6 +25,11 @@ def result(): return render_template("result.html") +@app.route("/team") +def team(): + return render_template("team.html", params=params) + + @app.errorhandler(404) # inbuilt function which takes error as parameter def not_found(e): diff --git a/config.json b/config.json new file mode 100644 index 0000000..f9496fb --- /dev/null +++ b/config.json @@ -0,0 +1,22 @@ +{ + "params": { + "project_admin_name": "HARSH BARDHAN MISHRA", + "project_admin_github_url": "https://github.com/HarshCasper", + "project_admin_linkedin_url": "https://www.linkedin.com/in/harshcasper/", + "1_mentor_name": "Vishnu Varthan Rao", + "1_mentor_github_url": "https://github.com/VarthanV", + "1_mentor_linkedin_url": "https://www.linkedin.com/in/vishnu-varthan-rao-765345175/", + "2_mentor_name": "Sarthak kundra", + "2_mentor_github_url": "https://github.com/sarthakkundra", + "2_mentor_linkedin_url": "https://www.linkedin.com/in/sarthak-kundra-2b6247189/", + "3_mentor_name": "Balaka Biswas", + "3_mentor_github_url": "https://github.com/BALaka-18", + "3_mentor_linkedin_url": "https://www.linkedin.com/in/balaka-biswas/", + "4_mentor_name": "Bhadresh Savani", + "4_mentor_github_url": "https://github.com/bhadreshpsavani", + "4_mentor_linkedin_url": "https://www.linkedin.com/in/bhadreshsavani/", + "5_mentor_name": "Abdul", + "5_mentor_github_url": "https://github.com/macabdul9", + "5_mentor_linkedin_url": "https://www.linkedin.com/in/abdul-waheed-26b123126/" + } +} diff --git a/master b/master new file mode 100644 index 0000000..e69de29 diff --git a/static/css/team.css b/static/css/team.css new file mode 100644 index 0000000..8fecc59 --- /dev/null +++ b/static/css/team.css @@ -0,0 +1,111 @@ +@import url('https://fonts.googleapis.com/css?family=Exo+2|Yatra+One'); + +*{ + margin: 0; + padding: 0; + box-sizing: border-box; + font-family: montserrat, sans-serif; +} + +body{ + background: #8c7ae6; +} + +.wrapper{ + margin-top: 60px; + text-align: center; +} + +.wrapper h1{ + font-family: 'Monsterrat', sans-serif; + font-size: 48px; + color: #fff; + margin-bottom: 25px; +} + +.our_team{ + width: auto; + display: flex; + justify-content: center; + flex-wrap: wrap; +} + +.our_team .team_member{ + width: 250px; + margin: 5px; + background: #8C1ADA + padding: 20px 10px; +} + +.our_team .team_member .member_img{ + background: #fff; + max-width: 190px; + width: 100%; + height: 190px; + margin: 0 auto; + border-radius: 50%; + padding: 5px; + position: relative; + cursor: pointer; +} + +.our_team .team_member .member_img img{ + width: 100%; + height: 100%; +} + +.our_team .team_member h3{ + text-transform: uppercase; + font-size: 18px; + line-height: 18px; + letter-spacing: 2px; + margin: 15px 0 0px; + color: #fff; +} + +.our_team .team_member span{ + font-size: 10px; +} + +.our_team .team_member p{ + margin-top: 20px; + font-size: 14px; + line-height: 20px; +} +.mentors_part{ + background: #8C1ADA; + } + +.our_team .team_member .member_img .social_media{ + position: absolute; + top: 5px; + left: 5px; + background: rgba(0,0,0,0.65); + width: 95%; + height: 95%; + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; + transform: scale(0); + transition: all 0.5s ease; +} + +.our_team .team_member .member_img .social_media .item{ + margin: 0 10px; +} + +.our_team .team_member .member_img .social_media .fab{ + color: #8c7ae6; + font-size: 20px; +} +.rounded-circle { + border-radius: 50% !important; +} +.mx-auto { + margin-right: auto !important; +} + +.our_team .team_member .member_img:hover .social_media{ + transform: scale(1); +} diff --git a/static/img/team/0.jpg b/static/img/team/0.jpg new file mode 100644 index 0000000..620c357 Binary files /dev/null and b/static/img/team/0.jpg differ diff --git a/static/img/team/1.jpg b/static/img/team/1.jpg new file mode 100644 index 0000000..71b2e9f Binary files /dev/null and b/static/img/team/1.jpg differ diff --git a/static/img/team/2.jpg b/static/img/team/2.jpg new file mode 100644 index 0000000..5d3bf3d Binary files /dev/null and b/static/img/team/2.jpg differ diff --git a/static/img/team/3.jpg b/static/img/team/3.jpg new file mode 100644 index 0000000..50131b7 Binary files /dev/null and b/static/img/team/3.jpg differ diff --git a/static/img/team/4.jpg b/static/img/team/4.jpg new file mode 100644 index 0000000..202f3e9 Binary files /dev/null and b/static/img/team/4.jpg differ diff --git a/static/img/team/5.jpg b/static/img/team/5.jpg new file mode 100644 index 0000000..3d42d91 Binary files /dev/null and b/static/img/team/5.jpg differ diff --git a/static/img/team/6.jpg b/static/img/team/6.jpg new file mode 100644 index 0000000..ef7a9cf Binary files /dev/null and b/static/img/team/6.jpg differ diff --git a/templates/team.html b/templates/team.html new file mode 100644 index 0000000..4996ec0 --- /dev/null +++ b/templates/team.html @@ -0,0 +1,103 @@ + + + + Team Page + + + + +
+

Project Admin

+
+
+
+ + + +
+

{{params['project_admin_name']}}

+ +
+
+
+ +
+
+

Mentors

+
+
+
+ + + +
+

{{params['1_mentor_name']}}

+ +
+
+
+ + +
+

{{params['2_mentor_name']}}

+ +
+
+
+ + +
+

{{params['3_mentor_name']}}

+ +
+
+
+ + +
+

{{params['4_mentor_name']}}

+ +
+
+
+ + +
+

{{params['5_mentor_name']}}

+ +
+
+
+
+ +