|
| 1 | +use leptos::prelude::*; |
| 2 | + |
| 3 | +#[component] |
| 4 | +pub fn Resume() -> impl IntoView { |
| 5 | + view! { |
| 6 | + <style> |
| 7 | + " |
| 8 | + .resume { border: 2px solid var(--green); } |
| 9 | + .resume h2 { color: var(--green); margin: 0 0 1.5rem 0; text-align: center; font-size: 1.8rem; } |
| 10 | + .resume-grid { display: grid; gap: 3rem; } |
| 11 | + @media (min-width: 768px) { .resume-grid { grid-template-columns: 1fr 1fr; } } |
| 12 | + .section-heading { border-bottom: 1px solid var(--surface-border); padding-bottom: 0.5rem; margin-bottom: 1.5rem; font-size: 1.2rem; margin-top: 0; } |
| 13 | + .col-left .section-heading { color: var(--yellow); } |
| 14 | + .col-right .section-heading { color: var(--red); } |
| 15 | + .experience-list { list-style-type: none; padding: 0; margin: 0; } |
| 16 | + .experience-list li { margin-bottom: 1.5rem; } |
| 17 | + .role-title { color: var(--text); font-weight: bold; display: block; margin-bottom: 0.3rem; font-size: 1.05rem; } |
| 18 | + .role-desc { color: var(--subtext); font-size: 0.95rem; line-height: 1.5; } |
| 19 | + .skills-container { display: flex; flex-wrap: wrap; gap: 0.6rem; } |
| 20 | + .skill-badge { background-color: var(--surface); color: #f5e0dc; padding: 0.4rem 0.8rem; border-radius: 8px; font-size: 0.9rem; border: 1px solid var(--surface-border); font-weight: bold; } |
| 21 | + |
| 22 | + .download-btn { background-color: var(--pink); color: var(--base); padding: 0.7rem 1.5rem; border-radius: 8px; text-decoration: none; font-weight: bold; display: inline-block; transition: opacity 0.2s; margin-bottom: 2rem; } |
| 23 | + .download-btn:hover { opacity: 0.8; } |
| 24 | + " |
| 25 | + </style> |
| 26 | + <section class="card resume"> |
| 27 | + <h2>"Service Record & Tech Stack"</h2> |
| 28 | + |
| 29 | + <div style="text-align: center;"> |
| 30 | + // Make sure your PDF is inside the 'public' folder of your project! |
| 31 | + <a href="/Sofia_Duarte_CV.pdf" download="Sofia_Duarte_CV.pdf" class="download-btn"> |
| 32 | + "Download Full CV" |
| 33 | + </a> |
| 34 | + </div> |
| 35 | + |
| 36 | + <div class="resume-grid"> |
| 37 | + <div class="col-left"> |
| 38 | + <h3 class="section-heading">"🚀 Flight & Space Systems"</h3> |
| 39 | + <ul class="experience-list"> |
| 40 | + <li> |
| 41 | + <span class="role-title">"Co-Team Leader @ RED Electronics"</span> |
| 42 | + <span class="role-desc">"Architecting hybrid rocket flight software on an RTOS. Managing distributed avionics, HIL testing, and driving the transition to embedded Rust."</span> |
| 43 | + </li> |
| 44 | + <li> |
| 45 | + <span class="role-title">"Command & Data Handling @ LISAT"</span> |
| 46 | + <span class="role-desc">"Developed cache optimization algorithms to streamline orbit data processing for satellite onboard computers."</span> |
| 47 | + </li> |
| 48 | + </ul> |
| 49 | + |
| 50 | + <h3 class="section-heading" style="margin-top: 2rem;">"🦀 Open Source & Projects"</h3> |
| 51 | + <ul class="experience-list"> |
| 52 | + <li> |
| 53 | + <span class="role-title">"Rust HIL & Ground Station Framework"</span> |
| 54 | + <span class="role-desc">"Modular, asynchronous simulation engine for avionics validation using Embassy and Rust."</span> |
| 55 | + </li> |
| 56 | + </ul> |
| 57 | + </div> |
| 58 | + |
| 59 | + <div class="col-right"> |
| 60 | + <h3 class="section-heading">"💻 Hardware & Embedded"</h3> |
| 61 | + <div class="skills-container"> |
| 62 | + <SkillBadge text="C/C++" /><SkillBadge text="Embedded Rust" /><SkillBadge text="RISC-V" /> |
| 63 | + <SkillBadge text="STM32 & ESP32" /><SkillBadge text="FreeRTOS" /><SkillBadge text="KiCad" /> |
| 64 | + </div> |
| 65 | + |
| 66 | + <h3 class="section-heading" style="margin-top: 2.5rem;">"⚙️ Systems & Analysis"</h3> |
| 67 | + <div class="skills-container"> |
| 68 | + <SkillBadge text="Async/Await (Embassy)" /><SkillBadge text="Python" /><SkillBadge text="MATLAB" /> |
| 69 | + <SkillBadge text="GitHub Actions CI/CD" /><SkillBadge text="Linux/Bash" /> |
| 70 | + </div> |
| 71 | + </div> |
| 72 | + </div> |
| 73 | + </section> |
| 74 | + } |
| 75 | +} |
| 76 | + |
| 77 | +#[component] |
| 78 | +fn SkillBadge(text: &'static str) -> impl IntoView { |
| 79 | + view! { <span class="skill-badge">{text}</span> } |
| 80 | +} |
0 commit comments