Skip to content

Commit

Permalink
events page + navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Psych4-383 committed Mar 16, 2024
1 parent 7a40146 commit df5ef2e
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 12 deletions.
8 changes: 4 additions & 4 deletions data/alumni.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"name": "Aayush Garg",
"exrole": "President",
"pfp": "https://cdn.discordapp.com/attachments/1185210397779841084/1218608475794313226/74775129.jpeg?ex=66084895&is=65f5d395&hm=fd2ac741b108e8c13e17137594c73221359961650e92bc0b0b3a868d2d89598a&",
"pfp": "https://cdn.discordapp.com/attachments/984702920463384666/1218626638200307792/BMC_1546_copy1.jpg?ex=6608597f&is=65f5e47f&hm=be0c39c42c27fee9b92a324aed7a9297b9aab84812f18ad42fdb733619c24835&",
"batch": "2023-2024",
"status": "Outgoing Batch"
},
Expand Down Expand Up @@ -107,20 +107,20 @@
{
"name": "Nevis Kawatra",
"exrole": "Secretary",
"pfp": "https://media.discordapp.net/attachments/842383789216759868/1095681468623224903/IMG_20230412_012459.jpg?width=646&height=646",
"pfp": "https://media.discordapp.net/attachments/1218248466803720192/1218275625744470129/Screenshot_2021-08-15_100414.png?ex=66071297&is=65f49d97&hm=e364d95a7ec6ad47ba0825fbc7dc734e930386bb560335ca00e9edec147a0488&=&format=webp&quality=lossless&width=373&height=374",
"batch": "2022-2023",
"status": "Student at Monash"
},
{
"name": "Amish Mamtani",
"exrole": "Core Member",
"pfp": "https://media.discordapp.net/attachments/741244174736556076/974579902483415140/unknown.png",
"pfp": "https://i.imgur.com/WQwwr8w.jpeg",
"batch": "2022-2023",
"status": "Student at UofT"
},
{
"name": "Harsimrat Anand",
"pfp": "https://media.discordapp.net/attachments/792024933718294558/989404799139184720/IMG-20211002-WA0009_1_1.jpg?width=508&height=513",
"pfp": "https://media.discordapp.net/attachments/792024933718294558/989404799139184720/IMG-20211002-WA0009_1_1.jpg?width=508&height=513&ex=66050306&is=65f28e06&hm=a99ca66dfbab7d340aa69f82833c8098dd524633a2b6da02b831ce16ebdedea5&",
"exrole": "Member",
"batch": "2022-2023",
"status": "Student at University of Waterloo"
Expand Down
2 changes: 1 addition & 1 deletion data/members.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"role": "President",
"pfp": "https://cdn.discordapp.com/attachments/1165148384064176128/1165355612356497569/yuvimeta_1.png?ex=65ff1efd&is=65eca9fd&hm=8ff52d8c7bc1168409805a9999c7c9e4a784f1de3c6a2ac1d7ddddeb4fba17f4&",
"socials": [
"instagram.com",
"https://www.instagram.com/yuvrajmehta0_0/",
"https://linktr.ee/Ybot"
]
},
Expand Down
5 changes: 4 additions & 1 deletion src/components/Nav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</li>
</Link>
<li style="margin-top: -1.75vw;">|</li>
<Link to="/robo" style="text-decoration: none; color:#eee;">
<Link to="/tg" style="text-decoration: none; color:#eee;" id="tg">
<li>
<p>Training Grounds</p>
</li>
Expand Down Expand Up @@ -93,6 +93,9 @@
.nav-links p:hover:after {
width: 55%;
}
.nav-links #tg p:hover:after {
width: 30%;
}
@media only screen and (max-width: 768px) {
.nav {
display: none !important;
Expand Down
14 changes: 9 additions & 5 deletions src/pages/EventPage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="circle-6"></div>
<div class="line">
</div>
<div class="event-blob-1">
<div class="event-blob-1 current">
<p class="event-name">
Training Grounds
</p>
Expand Down Expand Up @@ -83,7 +83,7 @@
width:75%;
height: .75vw;
border-radius: 10vw;
background: linear-gradient(to right, #4e4e4e 20%,#16e16e 0%, #16e16e 0%, #16e16e 100%);
background: linear-gradient(to right, #16e16e 20%,#4e4e4e 0%, #4e4e4e 0%, #4e4e4e 100%);
display: block;
margin: 14.9vw auto auto;
}
Expand All @@ -101,7 +101,7 @@
.circle-3,
.circle-4,
.circle-5,.circle-6{
background: #16e16e;
background: #4e4e4e;
height: 1.5vw;
width: 1.5vw;
position: absolute;
Expand All @@ -110,12 +110,13 @@
}
.circle-1 {
margin-left: 11.5vw;
background: #4e4e4e;
background: #16e16e;
}
.circle-2{
margin-left: 85.5%;
}
.circle-3{
background: #16e16e;
margin-left: 26.5%;
/* background: #4e4e4e; */
}
Expand All @@ -134,12 +135,15 @@
.event-blob-2,
.event-blob-3,
.event-blob-4{
background: #009e45;
background: #4e4e4e;
position: absolute;
width: 20vw;
height: 8.5vw;
border-radius: 7.5px;
}
.current {
background-color: #009e45;
}
.event-blob-1{
/* background: #4e4e4e; */
margin: 3.5vw 15vw;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Robotronics.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<h1>Welcome to <br /> <span style="font-weight: 700;">Training Grounds '24</span></h1>
<p class="intech-info">
Training Grounds '24, the <span style="color: #16e16e;">3rd edition</span> of our workshop and task-based learning program will take place from
<span style="color: #16e16e;">April 8 to April 23</span>.
<span style="color: #16e16e;">April 8 to April 28</span>.
It aims to promote learning and
<span style="color: #16e16e;">skill development</span>through a variety of authentic and guided learning experiences. This year it shall comprise of __ events ranging from design, development, cryptography and crossword.
<br /><br /><br /><br />
Expand Down

0 comments on commit df5ef2e

Please sign in to comment.