Skip to content

Commit 705188d

Browse files
committed
Completed design and made it responsive
1 parent 6b934b6 commit 705188d

19 files changed

+861
-189
lines changed

api/controller.go

+29-29
Original file line numberDiff line numberDiff line change
@@ -16,124 +16,124 @@ var projects = []Repo{
1616
Name: "Parkify",
1717
Url: "​​https://github.com/DSCKGEC/parkify",
1818
Description: "Hassle-free way to book your parking space with easy cancellations and timeline extensions",
19-
Tags: []string{},
19+
Tags: []string{"html", "css", "javascript", "node-js", "express", "mongodb", "bootstrap"},
2020
},
2121
{
2222
Name: "Libraryly",
2323
Url: "​​https://github.com/DSCKGEC/Libraryly",
2424
Description: "A software solution to handle the primary functions of a library like managing books, members and issues",
25-
Tags: []string{},
25+
Tags: []string{"html", "css", "javascript", "node-js", "express", "mongodb"},
2626
},
2727
{
2828
Name: "Seat&Eat",
2929
Url: "​​https://github.com/DSCKGEC/SeatAndEat",
30-
Description: "This is a beautifully designed commercial website template for a restaurant. This project is a beginner-friendly project. It is a static website and mostly based on the front end.",
31-
Tags: []string{},
30+
Description: "SeatAndEat is a beautifully designed commercial website template for a restaurant.",
31+
Tags: []string{"html", "css", "javascript"},
3232
},
3333
{
3434
Name: "DevBook",
3535
Url: "​​https://github.com/DSCKGEC/DevBook",
36-
Description: "DevBook is a social development environment for front-end designers and developers. A project editor that supports HTML, CSS, and JavaScript, where you can show off your work, build test cases to learn and debug and find inspiration",
37-
Tags: []string{},
36+
Description: "DevBook is a development environment for front-end designers and developers that supports HTML, CSS, and JavaScript.",
37+
Tags: []string{"react", "html", "css", "javascript"},
3838
},
3939
{
4040
Name: "Leucos",
4141
Url: "​​https://github.com/DSCKGEC/Leucos",
4242
Description: "Real-time chatting application within private rooms, from anywhere in the world",
43-
Tags: []string{},
43+
Tags: []string{"html", "css", "javascript", "node-js", "express", "mongodb"},
4444
},
4545
{
4646
Name: "Taskify",
4747
Url: "​​https://github.com/DSCKGEC/Taskify",
48-
Description: "It is a task management system for everyone. It is designed to help you manage your tasks and projects from ideation to delivery. This task manager helps to bring in only the necessary parts – without all the annoying clutter.",
49-
Tags: []string{},
48+
Description: "Taskify is a task management system for everyone to help you manage your tasks and projects from ideation to delivery.",
49+
Tags: []string{"html", "css", "javascript", "node-js", "express", "mongodb"},
5050
},
5151
{
5252
Name: "Codeaon",
5353
Url: "​​https://github.com/DSCKGEC/Codeaon",
54-
Description: "A one-stop website for all developers and coders. This platform helps us to get all YouTube tutorials, blogs and articles for a certain topic in one place. This project proves to be a very handy and effective yet resourceful tool for learners.",
55-
Tags: []string{},
54+
Description: "A one-stop website for all programmers that helps us to get all YouTube tutorials and articles for a certain topic in one place.",
55+
Tags: []string{"html", "css", "javascript", "node-js", "express", "mongodb"},
5656
},
5757
{
5858
Name: "C-Coins",
5959
Url: "​​https://github.com/DSCKGEC/C-Coins",
6060
Description: "Defining the basic behaviour of Blockchains and Web-2.0 imitation",
61-
Tags: []string{},
61+
Tags: []string{"python"},
6262
},
6363
{
6464
Name: "kitkat.virus",
6565
Url: "​​https://github.com/DSCKGEC/kitkat.virus",
6666
Description: "A simple python based keylogger",
67-
Tags: []string{},
67+
Tags: []string{"python"},
6868
},
6969
{
7070
Name: "CSGO-Professional",
7171
Url: "​​https://github.com/DSCKGEC/CSGO-Professional",
7272
Description: "Scraping, Cleaning and Exploring a Dataset about CSGO Athletes from hltv.org",
73-
Tags: []string{},
73+
Tags: []string{"jupyter notebook"},
7474
},
7575
{
7676
Name: "Learn-Machine-Learn",
7777
Url: "​​https://github.com/DSCKGEC/Learn-Machine-Learn",
7878
Description: "A machine learning repository to demonstrate regression and classification problems",
79-
Tags: []string{},
79+
Tags: []string{"jupyter notebook"},
8080
},
8181
{
8282
Name: "Text Recognition",
8383
Url: "​​https://github.com/DSCKGEC/OCR-TextRecognition",
8484
Description: "Recognizes text from any image and prints them",
85-
Tags: []string{},
85+
Tags: []string{"python"},
8686
},
8787
{
8888
Name: "Movie Recommendation",
8989
Url: "​​https://github.com/DSCKGEC/MovieRecommendationSystem",
9090
Description: "A Movie Recommendation System along with Data Analysis and Data Visualization and Revenue Prediction Model",
91-
Tags: []string{},
91+
Tags: []string{"jupyter notebook"},
9292
},
9393
{
9494
Name: "NASA Collision Detection",
9595
Url: "​​https://github.com/DSCKGEC/NASA_nearest_earth_object_classifier",
9696
Description: "Classifying hazardous asteroids based on NASA Dataset.",
97-
Tags: []string{},
97+
Tags: []string{"jupyter notebook"},
9898
},
9999
{
100100
Name: "Resumie",
101101
Url: "​​https://github.com/DSCKGEC/Resumie",
102102
Description: "Resumie is an android CV & Portfolio app. Now carry your resume with you wherever you go!",
103-
Tags: []string{},
103+
Tags: []string{"java"},
104104
},
105105
{
106106
Name: "Health Tracker App",
107107
Url: "​https://github.com/DSCKGEC/Health-Tracker-App",
108108
Description: "Health Tracker is your one stop solution to keep your heath related information in a secured way",
109-
Tags: []string{},
109+
Tags: []string{"dart", "c++", "cmake", "html", "swift", "c"},
110110
},
111111
{
112-
Name: "Samsung Gallery",
112+
Name: "Galleriz",
113113
Url: "​​https://github.com/DSCKGEC/samsung-gallery-clone",
114-
Description: "Clone of Samsung's Default Gallery",
115-
Tags: []string{},
114+
Description: "A beautiful and functional gallery app for smartphones",
115+
Tags: []string{"javascript", "java", "objective-c", "ruby", "starlark"},
116116
},
117117
{
118-
Name: "Wallpaper App",
118+
Name: "WallX",
119119
Url: "​​https://github.com/DSCKGEC/flutter-wallx-wallpaperApp",
120-
Description: "",
121-
Tags: []string{},
120+
Description: "A cool wallpaper app for smartphones",
121+
Tags: []string{"dart", "html", "swift"},
122122
},
123123
}
124124

125125
// RenderHome ...
126126
func (g *GitHubAPI) RenderHome(c *gin.Context) {
127127
c.HTML(200, "index.html", gin.H{
128-
"title": "KGEC Summer of Code 2021",
128+
"title": "KGEC Summer of Code 2022",
129129
"isHome": true,
130130
})
131131
}
132132

133133
// RenderDashboard ...
134134
func (g *GitHubAPI) RenderDashboard(c *gin.Context) {
135135
c.HTML(200, "dashboard.html", gin.H{
136-
"title": "Dashboard | KGEC Summer of Code 2021",
136+
"title": "Dashboard | KGEC Summer of Code 2022",
137137
"issues": g.issues,
138138
"pulls": g.pulls,
139139
})
@@ -142,7 +142,7 @@ func (g *GitHubAPI) RenderDashboard(c *gin.Context) {
142142
// RenderLeaderboard ...
143143
func (g *GitHubAPI) RenderLeaderboard(c *gin.Context) {
144144
c.HTML(200, "leaderboard.html", gin.H{
145-
"title": "Leaderboard | KGEC Summer of Code 2021",
145+
"title": "Leaderboard | KGEC Summer of Code 2022",
146146
"issues": g.issues,
147147
"pulls": g.pulls,
148148
})

run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Install nodemon globally before running this command
22

3-
nodemon --watch './**/*.go' --signal SIGTERM --exec 'go' run main.go
3+
nodemon --watch './**/*.*' --signal SIGTERM --exec 'go' run main.go

views/css/faq.css

+16-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:root {
22
--main-bg-color: #000f1d;
33
--main-wrapper-color: #07141a;
4-
--main-text-color: #ffffff;
4+
--shadow-color: #ffffff;
55
--shadow-color: #ebecee;
66
--para-color: #c4c4c4;
77
--cta-color: #fbbc05;
@@ -34,7 +34,7 @@
3434
}
3535

3636
#faq h1 {
37-
color: var(--neon-green);
37+
color: var(--pale-blue);
3838
text-align: center;
3939
}
4040

@@ -57,9 +57,9 @@
5757
text-align: left;
5858
width: 100%;
5959
padding: 1em 0;
60-
color: var(--main-text-color);
61-
font-size: 1.15rem;
62-
font-weight: 400;
60+
color: var(--shadow-color);
61+
font-size: 16px;
62+
font-weight: 500;
6363
border: none;
6464
background: none;
6565
outline: none;
@@ -122,8 +122,18 @@
122122
will-change: opacity, max-height;
123123
}
124124
.accordion .accordion-content p {
125-
font-size: 1rem;
125+
font-size: 16px;
126126
font-weight: 300;
127127
margin: 2em 0;
128128
color: var(--para-color);
129129
}
130+
131+
@media only screen and (max-width: 448px) {
132+
.accordion-title,
133+
.accordion-content {
134+
font-size: 14px;
135+
}
136+
.accordion .accordion-content p {
137+
font-size: 14px;
138+
}
139+
}

views/css/leaderboard.css

+53-8
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
--spacing-l: 60px;
3030
}
3131

32+
/* #leaderboard .container {
33+
overflow-x: hidden;
34+
} */
35+
3236
#leaderboard .wrapper {
3337
flex-direction: column;
3438
width: 100%;
@@ -84,6 +88,7 @@
8488
}
8589

8690
.github-handles {
91+
width: max-content;
8792
padding: 5px 10px;
8893
cursor: pointer;
8994
background-color: var(--neon-blue);
@@ -107,6 +112,13 @@
107112
color: var(--shadow-color);
108113
}
109114

115+
.leaderboard-card .d-flex {
116+
display: flex;
117+
flex-direction: column;
118+
align-items: center;
119+
gap: 16px;
120+
}
121+
110122
.leaderboard-card.leaderboard-card--first {
111123
margin-top: -24px;
112124
}
@@ -156,6 +168,14 @@ img.circle-img.circle-img--small {
156168
border-radius: 35px;
157169
}
158170

171+
.leaderboard-table-container {
172+
width: 100%;
173+
}
174+
175+
.leaderboard-table-wrapper {
176+
width: 100%;
177+
}
178+
159179
.table-heading {
160180
color: var(--para-color);
161181
font-size: 24px;
@@ -208,9 +228,9 @@ img.circle-img.circle-img--small {
208228
text-align: center;
209229
}
210230

211-
.table tbody tr {
231+
/* .table tbody tr {
212232
border-bottom: 1px solid var(--blue-light);
213-
}
233+
} */
214234

215235
/* .table tbody tr td {
216236
background: #fff;
@@ -224,14 +244,39 @@ img.circle-img.circle-img--small {
224244
border-radius: 0 5px 5px 0;
225245
}
226246

227-
@media only screen and (max-width: 767px) {
228-
table thead :where(th:nth-child(3), th:nth-child(4), th:nth-child(5)),
229-
table tbody tr :where(td:nth-child(3), td:nth-child(4), td:nth-child(5)) {
230-
display: none;
247+
@media only screen and (max-width: 768px) {
248+
.leaderboard-row {
249+
grid-template-columns: auto;
250+
}
251+
.leaderboard-card {
252+
max-width: 300px;
253+
margin: auto;
254+
}
255+
.leaderboard-card.leaderboard-card--first {
256+
margin-top: 0;
231257
}
232258

233-
.leaderboard-card.leaderboard-card--first,
234259
.leaderboard-card.leaderboard-card--second {
235-
transform: scale(1);
260+
margin-top: 0;
261+
}
262+
}
263+
264+
@media only screen and (max-width: 700px) {
265+
.leaderboard-table-container {
266+
overflow-x: hidden;
267+
}
268+
.leaderboard-table-wrapper {
269+
overflow-x: scroll;
270+
}
271+
.table th,
272+
.table td {
273+
padding: 8px;
274+
}
275+
.table td *,
276+
.github-handles {
277+
font-size: 14px;
278+
}
279+
.github-handles {
280+
padding: 6px;
236281
}
237282
}

0 commit comments

Comments
 (0)