Skip to content

Commit ab3bbe3

Browse files
authored
Merge pull request #31 from metakgp/vector-logo
2 parents 3b051cc + b7be868 commit ab3bbe3

File tree

16 files changed

+68
-17
lines changed

16 files changed

+68
-17
lines changed

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
<link rel="preconnect" href="https://fonts.googleapis.com">
66
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
77
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap" rel="stylesheet">
8-
<link href="https://fonts.googleapis.com/css2?family=Nanum+Gothic+Coding:wght@400;700&display=swap" rel="stylesheet">
8+
<link href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap" rel="stylesheet">
9+
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;700&display=swap" rel="stylesheet">
910
<link rel="icon" type="image/webp" href="/favicon.webp">
1011
<meta name="viewport" content="width=device-width, initial-scale=1" />
1112
<meta name="theme-color" content="#000000" />

public/one-line.svg

Lines changed: 16 additions & 0 deletions
Loading

src/data/featured_data.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,35 @@
33
"screenshot_img": "projects/gyft.webp",
44
"usage": "Using GYFT you can get your KGP time table directly in your calendar app such as Google Calendar or your calendar app. Either login with your ERP credentials or upload a screenshot of your timetable.",
55
"name": "gyft",
6+
"display_name": "GYFT",
67
"homepage": "https://gyft.metakgp.org"
78
},
89
{
910
"screenshot_img": "projects/travel.webp",
1011
"usage": "Finding travel companions for going home during the vacations? Travel Buddy helps you do exactly that! Enter your trip details to find others on the same journey!",
1112
"name": "travel-buddy",
13+
"display_name": "Travel Buddy",
1214
"homepage": "https://travel.metakgp.org"
1315
},
1416
{
1517
"screenshot_img": "projects/naarad.webp",
1618
"usage": "Our Naarad serves news (notices) to the KGP community. It is a self-hosted ntfy.sh instance with custom configuration. It is protected by heimdall, allowing access only to KGPians.",
1719
"name": "naarad",
20+
"display_name": "Naarad",
1821
"homepage": "https://naarad.metakgp.org"
1922
},
2023
{
2124
"screenshot_img": "projects/wiki.webp",
22-
"usage": "The metakgp wiki is an open repository of community knowledge about IIT Kharagpur that anyone can edit. This is your first stop for information about KGP",
25+
"usage": "The metaKGP Wiki is an open repository of community knowledge about IIT Kharagpur that anyone can edit. This is your first stop for information about KGP.",
2326
"name": "metakgp-wiki",
27+
"display_name": "metaKGP Wiki",
2428
"homepage": "https://wiki.metakgp.org"
2529
},
2630
{
2731
"screenshot_img": "projects/iqps.webp",
28-
"usage": "IQPS is a platform for searching and uploading previous year question papers for IIT Kharagpur students. Search for previous year papers here. Upload your question papers to help future batches",
32+
"usage": "IQPS is a platform for searching and uploading previous year question papers for IIT Kharagpur students. Search for previous year papers here. Upload your question papers to help future batches.",
2933
"name": "iqps-go",
34+
"display_name": "IQPS",
3035
"homepage": "https://qp.metakgp.org"
3136
}
3237
]

src/sections/FeaturedDisplay.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ interface featured_json {
1212
screenshot_img: string;
1313
usage: string;
1414
name: string;
15+
display_name: string;
1516
}
1617

1718
const FeaturedSection = () => {
@@ -20,6 +21,7 @@ const FeaturedSection = () => {
2021
const featuredReposList: featured_json[] = FeaturedData as featured_json[];
2122
const featuredRepos: FEATURED_REPO[] = featuredReposList.map((featured_repo) => {
2223
return {
24+
display_name: featured_repo.display_name,
2325
screenshot_img: featured_repo.screenshot_img,
2426
usage: featured_repo.usage,
2527
repo: Repos.find(repo => repo.name == featured_repo.name)!
@@ -51,7 +53,7 @@ const FeaturedSection = () => {
5153
</Link>
5254
<div className='featured-desc-container'>
5355
<a href={`https://github.com/metakgp/${featuredRepo.repo.name}`} className="no-highlight featured-repo-title">
54-
<h2 className='section-header-left'>{featuredRepo.repo.name}</h2>
56+
<h2 className='section-header-left'>{featuredRepo.display_name}</h2>
5557
</a>
5658
<p className='description'>{featuredRepo.usage}</p>
5759
<a href={featuredRepo.repo.homepage} className='featured-button no-highlight'>

src/sections/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const FooterSection = () => {
1515
<div className="icon-col footer-col">
1616
Made with ❤️ and
1717
&lt;/&gt;
18-
by metaKGP
18+
by <span className="bold">metaKGP</span>
1919
<div className="social-icons ">
2020
<a href="https://www.facebook.com/metakgp/">
2121
<i className="fa-brands fa-facebook"></i>

src/sections/Header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export const HeaderSection = () => {
1414

1515
return (
1616
<div className="header">
17-
<Link to={"https://wiki.metakgp.org"} className="metakgp-logo-link">
18-
<h1 className='metakgp-logo' data-set="metaKGP" ><span className='bold'>meta</span><span className='black'>KGP</span></h1>
17+
<Link to={"/"} className="metakgp-logo-link">
18+
<img src="one-line.svg" alt="metaKGP Logo" className="metakgp-logo" />
1919
</Link>
2020
<nav className="nav-bar">
2121
{pages.map((page) => (

src/sections/Hero.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export const HeroSection = () => {
3030
</div>
3131
</div>
3232
<div className="hero-image-container">
33+
<img src="one-line.svg" alt="metaKGP Logo" className="hero-logo"/>
3334
<img className="hero-image" src={devFocus} alt="hero-image"/>
3435
</div>
3536
</div>

src/styles/components/FeaturedDisplay.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
}
4747

4848
.featured-desc-container h2 {
49-
text-transform: uppercase;
5049
padding: 0;
5150
margin: 0;
5251
}

src/styles/components/StatsCard.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
.card-description {
5151
font-size: 1rem;
5252
color: #f0f0f0;
53-
font-family: "Space Mono", monospace;
53+
font-family: var(--mono-primary);
5454
font-weight: 400;
5555
font-style: normal;
5656
}

src/styles/global.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
:root {
2+
--mono-primary: 'Inconsolata', monospace;
3+
}
4+
15
html,
26
body,
37
#root {
@@ -32,7 +36,7 @@ body,
3236
}
3337

3438
code {
35-
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
39+
font-family: "Source Code Pro", Menlo, Monaco, Consolas, 'Courier New',
3640
monospace;
3741
}
3842

0 commit comments

Comments
 (0)