Source Code

src/pages/resume.rs

use leptos::*;
use leptos_meta::{Meta, Title};

/// Path to your PDF file inside the `public/` folder.
/// Place your resume at `public/resume.pdf` and this will load it automatically.
const RESUME_PDF: &str = "/resume.pdf";

#[component]
pub fn Resume() -> impl IntoView {
    view! {
        <Title text="Resume – Peter Pinto"/>
        <Meta name="description" content="Resume of Peter Pinto – Senior Software Engineer with experience in distributed systems, geospatial intelligence, DevOps, and AI/ML."/>
        <div class="page">
            // ── Header ────────────────────────────────────────────
            <div class="resume-header">
                <span class="eyebrow">"Résumé"</span>
                <h1>"Experience & " <em style="font-style:italic; color: var(--accent)">"Skills"</em></h1>
                <p class="lead">
                    "Senior Software Engineer & Technical Lead with experience in distributed systems,
                    geospatial intelligence, and AI/ML. Based in Charlottesville, VA."
                </p>
                <div class="resume-actions">
                    <a
                        href=RESUME_PDF
                        download="resume.pdf"
                        class="btn btn-primary"
                    >
                        "↓ Download PDF"
                    </a>
                    <a
                        href=RESUME_PDF
                        target="_blank"
                        rel="noopener noreferrer"
                        class="btn btn-outline"
                    >
                        "Open in new tab ↗"
                    </a>
                </div>
            </div>

            <hr class="divider" />

            // ── Work Experience ───────────────────────────────────
            <section>
                <span class="eyebrow">"Experience"</span>
                <h2>"Work " <em style="font-style:italic; color: var(--accent)">"History"</em></h2>
                <div class="experience-list">
                    // TODO: add prior roles here
                    <div class="experience-item">
                        <div class="experience-header">
                            <div>
                                <span class="experience-company">"General Atomics Intelligence"</span>
                                <span class="experience-title">"Senior Software Engineer & Project Technical Lead"</span>
                            </div>
                            <span class="experience-meta">"Jun 2023 – Present · Charlottesville, VA"</span>
                        </div>
                        <ul class="experience-bullets">
                            <li>"Lead cross-functional teams to define requirements and deliver geospatial intelligence tooling used in production"</li>
                            <li>"Build and maintain distributed systems for geospatial data processing and analysis"</li>
                            <li>"Drive technical architecture decisions across distributed systems, DevOps infrastructure, and GPU-accelerated pipelines"</li>
                        </ul>
                    </div>
                </div>
            </section>

            <hr class="divider" />

            // ── PDF Viewer ────────────────────────────────────────
            // Drop your resume.pdf into the public/ directory.
            // The iframe below will display it inline.
            // The placeholder is shown as a fallback.
            <div class="pdf-container">
                <iframe
                    src=RESUME_PDF
                    style="width:100%;height:100%;min-height:700px;border:none;"
                    title="Résumé PDF"
                />
            </div>
        </div>
    }
}