Skip to content

Commit

Permalink
Merge pull request #57 from IntelligentBeaver/sfd-2024
Browse files Browse the repository at this point in the history
Updated schedule page with small improvements to design.
  • Loading branch information
SatyaRajAwasth1 authored Sep 23, 2024
2 parents 73e9282 + b72777b commit 3529bb8
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 30 deletions.
6 changes: 6 additions & 0 deletions css/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -1818,6 +1818,12 @@ video {
.lg\:text-start {
text-align: start;
}

.lg\:text-2xl {
font-size: 1.5rem;
line-height: 2rem;
}

.lg\:text-7xl {
font-size: 4.5rem;
line-height: 1;
Expand Down
65 changes: 38 additions & 27 deletions data/schedule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"time": "09:00 - 09:30",
"title": "Check-In",
"title": "Check-In & Registrations",
"speaker": {
"name": "NOSK Team",
"title": "Welcoming and Preparation",
Expand Down Expand Up @@ -55,26 +55,37 @@
"link": "https://example.com/capture-the-flag"
},
{
"time": "11:00 - 14:00",
"title": "Linux Distro & Open Source Projects Demo",
"time": "11:00 - 12:00",
"title": "Cybersecurity Insights",
"speaker": {
"name": "NOSK & Open Source Contributors",
"title": "Linux & Open Source Specialists",
"name": "Er. Kumar Pudasaini",
"title": "Global Cybersecurity Community Forum",
"image": "https://via.placeholder.com/50"
},
"date": "Demo",
"link": "https://example.com/distro-demo"
"date": "Talk 1",
"link": "https://example.com/capture-the-flag"
},
{
"time": "11:00 - 12:00",
"title": "NOSKODE 5.0",
"speaker": {
"name": "Bishal Poudel, Abhilekh Gautam",
"title": "NOSKODE Host, NOSK Contributors",
"name": "NOSKODE Host",
"title": "NOSK Contributer",
"image": "https://via.placeholder.com/50"
},
"date": "Competition",
"link": "https://example.com/noskode"
"link": "https://example.com/capture-the-flag"
},
{
"time": "11:00 - 14:00",
"title": "Linux Distro & Open Source Projects Demo",
"speaker": {
"name": "NOSK & Open Source Contributors",
"title": "Linux & Open Source Specialists",
"image": "https://via.placeholder.com/50"
},
"date": "Demo",
"link": "https://example.com/distro-demo"
},
{
"time": "12:00 - 12:30",
Expand Down Expand Up @@ -111,42 +122,42 @@
},
{
"time": "14:00 - 14:30",
"title": "Pioneering Perspectives",
"title": "Open Source Journey",
"speaker": {
"name": "Er. Bikalpa Dhakal",
"title": "Software Engineer, Canonical",
"image": "https://via.placeholder.com/50"
},
"date": "Talk 1",
"date": "Talk 2",
"link": "https://example.com/pioneering-perspectives"
},
{
"time": "14:30 - 15:00",
"title": "Innovation Spotlight",
"time": "14:30 - 14:45",
"title": "Giveaway Results",
"speaker": {
"name": "Speaker 3",
"title": "Open Source Contributor",
"name": "Mudita Store",
"title": "Win Headphones, Pendrives, and Mousepads",
"image": "https://via.placeholder.com/50"
},
"date": "Talk 2",
"link": "https://example.com/innovation-spotlight"
"date": "Giveaway",
"link": "https://example.com/giveaway-results"
},
{
"time": "15:00 - 15:15",
"title": "Giveaway Results",
"time": "14:45 - 15:15",
"title": "Open Source & SigNoz",
"speaker": {
"name": "Event Host",
"title": "Win Headphones, Pendrives, and Mousepads",
"name": "Er. Prashant Sahi",
"title": "Maintainer, SigNoz",
"image": "https://via.placeholder.com/50"
},
"date": "Giveaway",
"link": "https://example.com/giveaway-results"
"date": "Talk 3",
"link": "https://example.com/innovation-spotlight"
},
{
"time": "15:15 - 16:00",
"title": "Awarding and Certification Ceremony",
"speaker": {
"name": "Certificates and Token Distribution Team",
"name": "Certificates and Token Distribution",
"title": "Sponsors, Community Partners, and Enthusiasts",
"image": "https://via.placeholder.com/50"
},
Expand All @@ -155,7 +166,7 @@
},
{
"time": "16:00 - 16:45",
"title": "Open Source and ChitChats / Open Floor Discussion",
"title": "Open Floor Discussion",
"speaker": {
"name": "Community Leaders",
"title": "Open Floor Moderators",
Expand All @@ -169,7 +180,7 @@
"title": "Photo Shoot",
"speaker": {
"name": "All Participants",
"title": "Capture Your Memories",
"title": "Break Time",
"image": "https://via.placeholder.com/50"
},
"date": "Photos",
Expand Down
8 changes: 7 additions & 1 deletion data/sponsors.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
"image": "https://raw.githubusercontent.com/noskofficial/sfd-resources/refs/heads/sfd-2024/nosk-sfd-2024/assets/sponsors/NCIT.jpg",
"link": "https://ncit.edu.np/"
},
{
"title": "Silver Sponsor",
"name": "Broadway Infosys",
"image": "/assets/sponsors/Broadway.svg",
"link": "https://broadwayinfosys.com/"
},
{
"title": "Silver Sponsor",
"name": "Kantipur Coffee",
Expand All @@ -18,7 +24,7 @@
"link": "https://www.lftechnology.com/"
},
{
"title": "Silver Sponsor",
"title": "Bronze Sponsor",
"name": "rEngine",
"image": "https://raw.githubusercontent.com/noskofficial/sfd-resources/refs/heads/sfd-2024/nosk-sfd-2024/assets/sponsors/rengine.png",
"link": "https://rengine.wiki/"
Expand Down
4 changes: 2 additions & 2 deletions js/schedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ document.addEventListener("DOMContentLoaded", () => {
let eventHTML = `
<div class="relative p-4 my-6 card ${index % 2 === 0 ? "md:col-start-1 md:col-end-7 md:mr-auto" : "md:col-start-7 md:col-end-13 md:ml-auto"}">
<p class="text-blue-400 text-sm mb-2">${event.time}</p>
<h3 class="text-lg font-semibold lg:text-xl">${event.title}</h3>
<h3 class="text-xl font-semibold lg:text-2xl">${event.title}</h3>
<div class="flex items-center mt-4">
<!-- <img src="${event.speaker.image}" alt="${event.speaker.name}" class="w-12 h-12 rounded-full mr-4"> -->
<div>
<p class="font-semibold">${event.speaker.name}</p>
<p class="text-gray-400 text-sm">${event.speaker.title}</p>
</div>
</div>
<span class="absolute text-sm text-[#DAA520] -top-5 left-2 whitespace-nowrap">${event.date}</span>
<span class="absolute text-sm font-bold text-[#DAA520] -top-5 left-2 whitespace-nowrap">${event.date}</span>
</div>
`;

Expand Down

0 comments on commit 3529bb8

Please sign in to comment.