Skip to content

Commit bdb8956

Browse files
committed
add : logos
1 parent f3be728 commit bdb8956

File tree

9 files changed

+192
-28
lines changed

9 files changed

+192
-28
lines changed

public/assets/logos/kvs.svg

Lines changed: 63 additions & 0 deletions
Loading

public/assets/logos/macs.png

12.1 KB
Loading

public/assets/logos/mec.png

27.4 KB
Loading

public/assets/logos/tdhss.png

72.7 KB
Loading

public/assets/logos/tle.svg

Lines changed: 1 addition & 0 deletions
Loading

src/components/Education.astro

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,33 @@ const items = [
44
institution: "Model Engineering College, Thrikkakara",
55
degree: "B.Tech in Computer Science and Engineering",
66
duration: "2021-2025",
7+
logo: {
8+
url: "https://www.mec.ac.in",
9+
src: "/assets/logos/mec.png",
10+
alt: "Model Engineering College logo",
11+
},
712
},
813
{
914
institution: "TD HSS, Thuravoor",
1015
degree: "Higher Secondary Education",
1116
duration: "2019-2021",
1217
percentage: "97.8%",
18+
logo: {
19+
url: "",
20+
src: "/assets/logos/tdhss.png",
21+
alt: "TD HSS Thuravoor logo",
22+
},
1323
},
1424
{
1525
institution: "Kendriya Vidyalaya No.1, Kochi",
1626
degree: "Matriculation",
1727
duration: "2009-2019",
1828
percentage: "89.4%",
29+
logo: {
30+
url: "https://no1cochin.kvs.ac.in/",
31+
src: "/assets/logos/kvs.svg",
32+
alt: "Kendriya Vidyalaya No.1 Kochi logo",
33+
},
1934
},
2035
];
2136
---
@@ -24,7 +39,16 @@ const items = [
2439
{
2540
items.map((item) => (
2641
<li>
27-
<>
42+
<a href={item.logo.url} target="_blank" rel="noopener noreferrer">
43+
{item.logo.src && (
44+
<img
45+
src={item.logo.src}
46+
alt={item.logo.alt}
47+
style="width: 4em; height: 4em; object-fit: contain; margin-right: 1em; float: left;"
48+
/>
49+
)}
50+
</a>
51+
<span>
2852
<b>
2953
{item.institution} <span class="duration">{item.duration}</span>
3054
</b>
@@ -36,15 +60,14 @@ const items = [
3660
) : null}
3761
<br />
3862
</p>
39-
</>
63+
</span>
4064
</li>
4165
))
4266
}
4367
</ul>
4468

4569
<style>
4670
ul {
47-
border-left: 2px solid var(--gray-300);
4871
padding: 0;
4972
}
5073

@@ -64,19 +87,4 @@ const items = [
6487
padding: 0 0 0 1.5em;
6588
font-size: 0.75em;
6689
}
67-
68-
ul li:before {
69-
display: inline-block;
70-
width: 1.2em;
71-
height: 1.2em;
72-
margin: 0 0.5em 0 -0.65em;
73-
border-radius: 50%;
74-
content: " ";
75-
text-align: center;
76-
background: var(--gray-100);
77-
border: 2px solid var(--gray-300);
78-
color: var(--gray-500);
79-
font-size: 0.8em;
80-
line-height: 1.2em;
81-
}
8290
</style>

src/components/Experience.astro

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
const items = [
3+
{
4+
organization: "redBus",
5+
role: "Software Engineer",
6+
duration: "January 2025 - Present",
7+
logo: {
8+
url: "https://redbus.in",
9+
src: "https://s3.rdbuz.com/Images/rdc/rdc-redbus-logo.svg",
10+
alt: "redBus India logo",
11+
},
12+
},
13+
];
14+
---
15+
16+
<ul>
17+
{
18+
items.map((item) => (
19+
<li>
20+
<span>
21+
<a href={item.logo.url} target="_blank" rel="noopener noreferrer">
22+
<img
23+
src={item.logo.src}
24+
alt={item.logo.alt}
25+
style="width: 50px; height: auto; margin-right: 1em; float: left;"
26+
/>
27+
</a>
28+
<b>
29+
{item.organization} <span class="duration">{item.duration}</span>
30+
</b>
31+
<p>{item.role}</p>
32+
</span>
33+
</li>
34+
))
35+
}
36+
</ul>
37+
38+
<style>
39+
ul {
40+
padding: 0;
41+
}
42+
43+
ul li {
44+
list-style: none;
45+
margin: 0 0 0.5em 0;
46+
padding: 0;
47+
font-size: 1em;
48+
}
49+
50+
ul li .duration {
51+
float: right;
52+
margin-left: auto;
53+
}
54+
ul li p {
55+
margin: 0;
56+
padding: 0 0 0 1.5em;
57+
font-size: 0.75em;
58+
}
59+
60+
</style>

src/components/Positions.astro

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,44 @@ const items = [
55
at: "TLE MEC",
66
description: "The competitive coding and DSA club",
77
duration: "2024-25",
8-
},
9-
{
10-
position: "Competitive Programming Lead",
11-
at: "TLE MEC",
12-
description: "The competitive coding and DSA club",
13-
duration: "2023-24",
8+
logo: {
9+
url: "https://tle.mec.ac.in",
10+
src: "/assets/logos/tle.svg",
11+
alt: "",
12+
},
1413
},
1514
{
1615
position: "Web Admin",
1716
at: "MACS MEC",
1817
description: "The association of Computer Science Engineering students",
1918
duration: "2024-25",
19+
logo: {
20+
url: "https://mec.ac.in",
21+
src: "/assets/logos/macs.png",
22+
alt: "",
23+
},
24+
},
25+
{
26+
position: "Competitive Programming Lead",
27+
at: "TLE MEC",
28+
description: "The competitive coding and DSA club",
29+
duration: "2023-24",
30+
logo: {
31+
url: "https://tle.mec.ac.in",
32+
src: "/assets/logos/tle.svg",
33+
alt: "",
34+
},
2035
},
2136
{
2237
position: "Project Manager",
2338
at: "College Fresher Registration Portal",
2439
description: "A portal for registering freshers for the college",
2540
duration: "2023-24",
41+
logo: {
42+
url: "https://mec.ac.in",
43+
src: "/assets/logos/mec.png",
44+
alt: "",
45+
},
2646
},
2747
];
2848
---
@@ -31,25 +51,32 @@ const items = [
3151
{
3252
items.map((item) => (
3353
<li>
34-
<>
54+
<span>
55+
<a href={item.logo.url} target="_blank" rel="noopener noreferrer">
56+
<img
57+
src={item.logo.src}
58+
alt={item.logo.alt}
59+
style="width: 50px; height: auto; margin-right: 1em; float: left;"
60+
/>
61+
</a>
3562
<b>
3663
{item.position}, <span class="duration">{item.duration}</span>
3764
</b>
3865
{item.at}
3966
<p>{item.description}</p>
40-
</>
67+
</span>
4168
</li>
4269
))
4370
}
4471
</ul>
45-
4672
<style>
4773
ul {
4874
padding: 0;
4975
}
5076

5177
ul li {
52-
margin: 0 0 1rem 0;
78+
list-style: none;
79+
margin: 0 0 0.5em 0;
5380
padding: 0;
5481
font-size: 1em;
5582
}

src/pages/about.astro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import BaseLayout from "../layouts/BaseLayout.astro";
33
44
import CallToAction from "../components/CallToAction.astro";
55
import Education from "../components/Education.astro";
6+
import Experience from "../components/Experience.astro";
67
import Hero from "../components/Hero.astro";
78
import Positions from "../components/Positions.astro";
89
---
@@ -40,6 +41,10 @@ import Positions from "../components/Positions.astro";
4041
</div>
4142
</section>
4243
<section>
44+
<h2 class="section-title">Experience</h2>
45+
<div class="content">
46+
<Experience />
47+
</div>
4348
<h2 class="section-title">Education</h2>
4449
<div class="content">
4550
<Education />

0 commit comments

Comments
 (0)