-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from IERoboticsClub/main
Fair Hot Features
- Loading branch information
Showing
9 changed files
with
117 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
// Import your layout and scripts | ||
import Layout from '../../layouts/Layout.astro'; | ||
import getProject from '../../scripts/load-projects.js'; | ||
// Function to extract the ID from a Google Drive link | ||
function extractID(driveLink) { | ||
const match = /[-\w]{25,}/.exec(driveLink); | ||
return match ? match[0] : null; | ||
} | ||
// Fetch the list of projects. Assuming getProject is an async function that returns project data. | ||
let projects; | ||
try { | ||
projects = await getProject(); | ||
} catch (error) { | ||
console.error('Error fetching projects:', error); | ||
projects = []; | ||
} | ||
--- | ||
|
||
<Layout title="Projects | AI and Robotics Club" class="dark"> | ||
<div class="min-h-screen bg-white dark:bg-gray-800 text-black dark:text-white"> | ||
<header class="text-center py-12"> | ||
<h1 class="text-4xl font-bold">Our Projects</h1> | ||
</header> | ||
|
||
<section class="container mx-auto px-4 py-8"> | ||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | ||
{projects.map((project, index) => ( | ||
<div class="bg-white dark:bg-gray-700 rounded-lg shadow-md p-6 border border-gray-200 dark:border-gray-600" key={index}> | ||
<h2 class="text-2xl font-bold mb-2">{project.project_name}</h2> | ||
<p class="mb-4">{project.description}</p> | ||
<p class="mt-4 font-semibold">Status: {project.progress_status}/10</p> | ||
<a class="text-blue-800 dark:text-blue-400 hover:underline" href={project.video_demo_link} target="_blank">Video Demo</a> | ||
</div> | ||
))} | ||
</div> | ||
</section> | ||
</div> | ||
</Layout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
function loadProjects() { | ||
return [ | ||
{ | ||
"timestamp": "23/11/2023 13:09:08", | ||
"email_address": "[email protected]", | ||
"project_name": "Club website", | ||
"description": "Connecting the club to the world", | ||
"video_demo_link": "https://drive.google.com/open?id=1WP4LyVJGjp7lRTioPf46nocHS2lWM1Iv", | ||
"cover_image_link": "https://drive.google.com/open?id=1v325wY3lo1Il4YIY4b04xBA0YN_JjM4U", | ||
"progress_status": "8" | ||
}, | ||
{ | ||
"timestamp": "23/11/2023 13:39:19", | ||
"email_address": "[email protected]", | ||
"project_name": "Luna: Dawn to Dusk", | ||
"description": "Luna is a virtual assistant that will help your start or end your day the best way! Create tailored playlists, keep track of your schedule, get the latest news and weather updates, and more - all with Luna!", | ||
"video_demo_link": "https://drive.google.com/file/d/1-ksU-Bu3IytEB8I9qDtpCF_aMzRSURYo/view?usp=drive_link", | ||
"cover_image_link": "", | ||
"progress_status": "5" | ||
}, | ||
{ | ||
"timestamp": "23/11/2023 15:18:35", | ||
"email_address": "[email protected]", | ||
"project_name": "Orgone", | ||
"description": "Autonomous Self Navigating Vehicle", | ||
"video_demo_link": "https://drive.google.com/open?id=1nCmf0CfEOHd2CfYGxoTJ6Y49friH-0E1", | ||
"cover_image_link": "https://drive.google.com/open?id=1jwZi-8uYFv0fh70ptPtxbtn86qRHc_tk", | ||
"progress_status": "4" | ||
}, | ||
{ | ||
"timestamp": "23/11/2023 15:34:18", | ||
"email_address": "[email protected]", | ||
"project_name": "Pepper & Emoji", | ||
"description": "I'm developing a project to improve communication between individuals with and without autism, shifting from speech transcription to a Computer Vision approach. It features a prototype using a webcam to recognize facial expressions and translate them into simple emojis, aiding those with autism in understanding social cues. Using OpenCV and DeepFace for real-time emotion detection, the plan is to integrate this into Pepper, our lab's robot, for enhanced emotional communication via its display. Challenges include ensuring real-time accuracy, privacy, emotional sensitivity, minimizing biases, and incorporating feedback from the autism community.", | ||
"video_demo_link": "https://drive.google.com/open?id=1wkDMy-8X-P8q4pSMpdqBLtJPGK7O7L40", | ||
"cover_image_link": "https://drive.google.com/open?id=1ko6O0M2D7lbYYpbJCf9L_v9rngV16M5q", | ||
"progress_status": "6" | ||
} | ||
] | ||
|
||
} | ||
|
||
export default loadProjects; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters