Skip to content

Commit 77e712d

Browse files
committed
patch update: projects page and general themeing
1 parent 22deb0f commit 77e712d

File tree

5 files changed

+143
-237
lines changed

5 files changed

+143
-237
lines changed

api/controller.go

+121-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,124 @@ import (
44
"github.com/gin-gonic/gin"
55
)
66

7+
type Repo struct {
8+
Name string `json:"name,omitempty"`
9+
Url string `json:"url,omitempty"`
10+
Description string `json:"description,omitempty"`
11+
Tags []string `json:"tags,omitempty"`
12+
}
13+
14+
var projects = []Repo{
15+
{
16+
Name: "Parkify",
17+
Url: "​​https://github.com/DSCKGEC/parkify",
18+
Description: "Hassle-free way to book your parking space with easy cancellations and timeline extensions",
19+
Tags: []string{},
20+
},
21+
{
22+
Name: "Libraryly",
23+
Url: "​​https://github.com/DSCKGEC/Libraryly",
24+
Description: "A software solution to handle the primary functions of a library like managing books, members and issues",
25+
Tags: []string{},
26+
},
27+
{
28+
Name: "Seat&Eat",
29+
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{},
32+
},
33+
{
34+
Name: "DevBook",
35+
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{},
38+
},
39+
{
40+
Name: "Leucos",
41+
Url: "​​https://github.com/DSCKGEC/Leucos",
42+
Description: "Real-time chatting application within private rooms, from anywhere in the world",
43+
Tags: []string{},
44+
},
45+
{
46+
Name: "Taskify",
47+
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{},
50+
},
51+
{
52+
Name: "Codeaon",
53+
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{},
56+
},
57+
{
58+
Name: "C-Coins",
59+
Url: "​​https://github.com/DSCKGEC/C-Coins",
60+
Description: "Defining the basic behaviour of Blockchains and Web-2.0 imitation",
61+
Tags: []string{},
62+
},
63+
{
64+
Name: "kitkat.virus",
65+
Url: "​​https://github.com/DSCKGEC/kitkat.virus",
66+
Description: "A simple python based keylogger",
67+
Tags: []string{},
68+
},
69+
{
70+
Name: "CSGO-Professional",
71+
Url: "​​https://github.com/DSCKGEC/CSGO-Professional",
72+
Description: "Scraping, Cleaning and Exploring a Dataset about CSGO Athletes from hltv.org",
73+
Tags: []string{},
74+
},
75+
{
76+
Name: "Learn-Machine-Learn",
77+
Url: "​​https://github.com/DSCKGEC/Learn-Machine-Learn",
78+
Description: "A machine learning repository to demonstrate regression and classification problems",
79+
Tags: []string{},
80+
},
81+
{
82+
Name: "Text Recognition",
83+
Url: "​​https://github.com/DSCKGEC/OCR-TextRecognition",
84+
Description: "Recognizes text from any image and prints them",
85+
Tags: []string{},
86+
},
87+
{
88+
Name: "Movie Recommendation",
89+
Url: "​​https://github.com/DSCKGEC/MovieRecommendationSystem",
90+
Description: "A Movie Recommendation System along with Data Analysis and Data Visualization and Revenue Prediction Model",
91+
Tags: []string{},
92+
},
93+
{
94+
Name: "NASA Collision Detection",
95+
Url: "​​https://github.com/DSCKGEC/NASA_nearest_earth_object_classifier",
96+
Description: "Classifying hazardous asteroids based on NASA Dataset.",
97+
Tags: []string{},
98+
},
99+
{
100+
Name: "Resumie",
101+
Url: "​​https://github.com/DSCKGEC/Resumie",
102+
Description: "Resumie is an android CV & Portfolio app. Now carry your resume with you wherever you go!",
103+
Tags: []string{},
104+
},
105+
{
106+
Name: "Health Tracker App",
107+
Url: "​https://github.com/DSCKGEC/Health-Tracker-App",
108+
Description: "Health Tracker is your one stop solution to keep your heath related information in a secured way",
109+
Tags: []string{},
110+
},
111+
{
112+
Name: "Samsung Gallery",
113+
Url: "​​https://github.com/DSCKGEC/samsung-gallery-clone",
114+
Description: "Clone of Samsung's Default Gallery",
115+
Tags: []string{},
116+
},
117+
{
118+
Name: "Wallpaper App",
119+
Url: "​​https://github.com/DSCKGEC/flutter-wallx-wallpaperApp",
120+
Description: "",
121+
Tags: []string{},
122+
},
123+
}
124+
7125
// RenderHome ...
8126
func (g *GitHubAPI) RenderHome(c *gin.Context) {
9127
c.HTML(200, "index.html", gin.H{
@@ -51,9 +169,11 @@ func (g *GitHubAPI) Refresh(c *gin.Context) {
51169

52170
// RenderProject ...
53171
func (g *GitHubAPI) RenderProject(c *gin.Context) {
172+
54173
c.HTML(200, "projects.html", gin.H{
55174
"title": "Projects",
56-
"button": "View Dashboard",
175+
"button": "View Leaderboard",
176+
"repos": projects,
57177
})
58178
}
59179

views/css/style.css

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,600,800");
1+
@import url("https://fonts.googleapis.com/css?family=Poppins:400,600,800");
22

33
*,
44
*::before,
@@ -68,9 +68,9 @@ a:active {
6868
html,
6969
body {
7070
width: 100%;
71-
font-size: 18px;
71+
font-size: 16px;
7272
line-height: 1.2;
73-
font-family: monospace !important;
73+
font-family: 'Poppins', monospace;
7474
color: var(--main-text-color);
7575
background-color: var(--main-wrapper-color);
7676
position: relative;
@@ -135,11 +135,11 @@ a.btn-cta.big {
135135
}
136136

137137
.ksoc-title {
138-
font-size: 140px;
138+
font-size: 120px;
139139
padding-block: 2rem;
140140
font-weight: 900;
141141
display: flex;
142-
gap: 32px;
142+
gap: 24px;
143143
line-height: 1;
144144
position: relative;
145145
}
@@ -241,11 +241,11 @@ section {
241241
}
242242

243243
h1 {
244-
font-size: 350%;
244+
font-size: 325%;
245245
}
246246

247247
h2 {
248-
font-size: 300%;
248+
font-size: 270%;
249249
}
250250

251251
p,

views/header.html

-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
<div class="nav-link-item">
2929
<a href="/projects"><i class="fa-solid fa-file-code"></i></a>
3030
</div>
31-
<div class="nav-link-item">
32-
<a href="/dashboard"><i class="fa-solid fa-table-columns"></i></a>
33-
</div>
3431
<div class="nav-link-item">
3532
<a href="/leaderboard"><i class="fa-solid fa-people-group"></i></a>
3633
</div>

views/index.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,11 @@ <h2>Here's what to <div class="red">expect</div>
145145
</h2>
146146
<p class="long-text">
147147
<ol>
148-
<li><span class="span-blue">(</span> <span class="span-red">1st May</span> <span class="span-blue">)</span> => Keynote Session</li>
149-
<li><span class="span-blue">(</span> <span class="span-red">2nd May</span> <span class="span-blue">)</span> => Registrations Open</li>
150-
<li><span class="span-blue">(</span> <span class="span-red">8th May</span> <span class="span-blue">)</span> => Community Interaction Starts</li>
151-
<li><span class="span-blue">(</span> <span class="span-red">15th May</span> <span class="span-blue">)</span> => Project Building Phase</li>
152-
<li><span class="span-blue">(</span> <span class="span-red">5th July</span> <span class="span-blue">)</span> => Distribution of Certificates</li>
148+
<li><span class="span-blue">(</span> <span class="span-red">24th July</span> <span class="span-blue">)</span> => Registrations Open</li>
149+
<li><span class="span-blue">(</span> <span class="span-red">25th July</span> <span class="span-blue">)</span> => Intro session to GitHub and KSoC</li>
150+
<li><span class="span-blue">(</span> <span class="span-red">26th July</span> <span class="span-blue">)</span> => Contribution Phase Starts</li>
151+
<li><span class="span-blue">(</span> <span class="span-red">7th August</span> <span class="span-blue">)</span> => End of contribution phase</li>
152+
<li><span class="span-blue">(</span> <span class="span-red">10th August</span> <span class="span-blue">)</span> => Distribution of Certificates</li>
153153
</ol>
154154
</p>
155155
</div>

0 commit comments

Comments
 (0)