Skip to content

Commit 58bf043

Browse files
committed
feat: Improve contact section design
1 parent c05ccf0 commit 58bf043

3 files changed

Lines changed: 19 additions & 15 deletions

File tree

src/components/Contact.astro

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
---
22
import { Icon } from "astro-icon/components";
33
import GlowingHeader from "./react/GlowingHeader";
4+
import SpotlightCard from "./react/SpotlightCard";
45
---
56

67
<section class="py-20 space-y-4 cursor-default select-none text-justify">
78
<GlowingHeader>Contact</GlowingHeader>
9+
<SpotlightCard
10+
client:only="react"
11+
className="flex flex-col items-start gap-5"
12+
>
13+
You can contact me anytime I'll reach back to you as soon as possible,
14+
you can contact me either for a job proposal, a research cooperation
15+
idea, or a project you have in mind. All the information received by me
16+
from you is unless expressed by you otherwise private and won't be
17+
released no matter what.
818

9-
You can contact me anytime I'll reach back to you as soon as possible, you
10-
can contact me either for a job proposal, a research cooperation idea, or a
11-
project you have in mind. All the information received by me from you is
12-
unless expressed by you otherwise private and won't be released no matter
13-
what.
14-
<br />
15-
<br />
16-
<div class="flex flex-col items-start gap-5">
1719
<!-- Social networks -->
1820
<div class="flex flex-col gap-2 w-fit">
1921
<b class="w-full">Social Networks </b>
@@ -71,7 +73,7 @@ import GlowingHeader from "./react/GlowingHeader";
7173
<!-- Cybersecurity Profiles -->
7274
<div class="flex flex-col gap-2 w-fit">
7375
<b class="w-full">Cybersecurity Profiles </b>
74-
<ul class="flex gap-2">
76+
<ul class="flex flex-wrap gap-2">
7577
<li>
7678
<a
7779
target="_blank"
@@ -104,7 +106,7 @@ import GlowingHeader from "./react/GlowingHeader";
104106

105107
<div class="flex flex-col gap-2 w-fit">
106108
<b class="w-full">Communities </b>
107-
<ul class="flex gap-2">
109+
<ul class="flex flex-wrap gap-2">
108110
<li>
109111
<a
110112
target="_blank"
@@ -123,5 +125,5 @@ import GlowingHeader from "./react/GlowingHeader";
123125
</li>
124126
</ul>
125127
</div>
126-
</div>
128+
</SpotlightCard>
127129
</section>

src/components/Footer.astro

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
2-
31
<footer class="py-14 text-center text-gray-500">
4-
<p>© Esteban — Offensive Security & Rust Engineering</p>
2+
<p>
3+
All rights reserved © Esteban Chacon Martin
4+
<br />
5+
Offensive Security & Rust Engineering
6+
</p>
57
</footer>

src/components/react/GlowingHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import GlowingText from "./GlowingText";
22

33
export default function GlowingHeader({ children }: { children: string }) {
44
return (
5-
<div className="text-center animate-fade-up mb-20">
5+
<div className="text-center animate-fade-up mb-20 cursor-default select-none">
66
<GlowingText>
77
<h2 className="text-3xl font-bold">{children}</h2>
88
<span> ╰─〔❨✧✧❩〕─╯ </span>

0 commit comments

Comments
 (0)