Skip to content

Commit b327ac5

Browse files
committed
how you can reach me
1 parent d3d380f commit b327ac5

3 files changed

Lines changed: 45 additions & 5 deletions

File tree

src/app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::home::Home;
22
use crate::resume::Resume;
33
use leptos::prelude::*;
4-
use leptos_router::components::{A, Route, Router, Routes};
4+
use leptos_router::components::{Route, Router, Routes};
55
use leptos_router::path;
66

77
#[component]

src/home.rs

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,30 @@ pub fn Home() -> impl IntoView {
55
view! {
66
<style>
77
"
8-
.about { border: 2px solid var(--mauve); }
9-
.about h2 { color: var(--mauve); margin: 0 0 1.5rem 0; text-align: center; font-size: 1.8rem; }
8+
.about { border: 2px solid var(--mauve);text-align: center}
9+
.about h2 { color: var(--mauve); margin: 0 0 1.5rem 0; text-align: center; font-size: 1.8rem; text-align: center }
1010
.about-text { font-size: 1.15rem; line-height: 1.7; max-width: 750px; margin: 0 auto; text-align: center; }
11+
/* Social Buttons Styling */
12+
.socials-container {
13+
display: flex;
14+
justify-content: center;
15+
gap: 1rem;
16+
margin-top: 2rem;
17+
flex-wrap: wrap;
18+
}
19+
/* New lead-in text styling */
20+
.reach-me {
21+
text-align: center;
22+
margin-top: 2.5rem;
23+
margin-bottom: 1rem;
24+
color: var(--subtext);
25+
font-size: 1.1rem;
26+
font-weight: bold;
27+
}
28+
/* Custom hover colors for each platform */
29+
.social-btn.email:hover { border-color: var(--red); color: var(--red); }
30+
.social-btn.github:hover { border-color: var(--mauve); color: var(--mauve); }
31+
.social-btn.linkedin:hover { border-color: var(--green); color: var(--green); }
1132
"
1233
</style>
1334
<section class="card about">
@@ -16,6 +37,25 @@ pub fn Home() -> impl IntoView {
1637
<p>"Hi! I like to build backend systems, write memory-safe code for embedded devices, and develop flight software for rockets!"</p>
1738
<p>"Currently architecting hybrid rocket avionics and pushing for Rust adoption in aerospace environments. 🎀"</p>
1839
</div>
40+
<div class="reach-me">
41+
<h3>"Here is how you can reach me :) "</h3>
42+
</div>
43+
<div class="socials-container">
44+
45+
<a href="mailto:sofia.vazquez.duarte@tecnico.ulisboa.pt" class="social-btn email">
46+
"Email"
47+
</a>
48+
<a href="https://github.com/sofiavldd2005" target="_blank" rel="noopener noreferrer" class="social-btn github">
49+
"GitHub"
50+
</a>
51+
<a href="https://www.linkedin.com/in/sofia-duarte-2528682a1" target="_blank" rel="noopener noreferrer" class="social-btn linkedin">
52+
"LinkedIn"
53+
</a>
54+
</div>
1955
</section>
56+
<div class="built-with">
57+
"Built with 💖 and "
58+
<a href="https://leptos.dev/" target="_blank" rel="noopener noreferrer">"Leptos"</a>
59+
</div>
2060
}
2161
}

src/resume.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ pub fn Resume() -> impl IntoView {
66
<style>
77
"
88
.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; }
9+
.resume h2 { color: var(--green); margin: 0 0 1.5rem 0; text-align: center; font-size: 1.8rem;text-align: center }
1010
.resume-grid { display: grid; gap: 3rem; }
1111
@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; }
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; text-align: center}
1313
.col-left .section-heading { color: var(--yellow); }
1414
.col-right .section-heading { color: var(--red); }
1515
.experience-list { list-style-type: none; padding: 0; margin: 0; }

0 commit comments

Comments
 (0)