Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
223 changes: 124 additions & 99 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,105 +19,130 @@ const hasEducation = siteConfig.education && siteConfig.education.length > 0;
{siteConfig.title}
</p>
<div class="flex gap-x-6">
<a
href={`mailto:${siteConfig.social.email}`}
aria-label="Email"
class="text-gray-600 transition-colors duration-300 hover:text-[var(--accent-color)]"
style={`--accent-color: ${siteConfig.accentColor}`}
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="h-6 w-6"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path
d="M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10z"
></path>
<path d="M3 7l9 6l9 -6"></path>
</svg>
</a>
<a
href={siteConfig.social.linkedin}
target="_blank"
rel="noopener noreferrer"
aria-label="LinkedIn"
class="text-gray-600 transition-colors duration-300 hover:text-[var(--accent-color)]"
style={`--accent-color: ${siteConfig.accentColor}`}
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="h-6 w-6"
><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path
d="M8 11v5"></path><path d="M8 8v.01"></path><path d="M12 16v-5"
></path><path d="M16 16v-3a2 2 0 1 0 -4 0"></path><path
d="M3 7a4 4 0 0 1 4 -4h10a4 4 0 0 1 4 4v10a4 4 0 0 1 -4 4h-10a4 4 0 0 1 -4 -4z"
></path></svg
>
</a>
<a
href={siteConfig.social.twitter}
target="_blank"
rel="noopener noreferrer"
aria-label="Twitter"
class="text-gray-600 transition-colors duration-300 hover:text-[var(--accent-color)]"
style={`--accent-color: ${siteConfig.accentColor}`}
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="h-6 w-6"
><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path
d="M4 4l11.733 16h4.267l-11.733 -16z"></path><path
d="M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772"></path></svg
>
</a>
<a
href={siteConfig.social.github}
target="_blank"
rel="noopener noreferrer"
aria-label="GitHub"
class="text-gray-600 transition-colors duration-300 hover:text-[var(--accent-color)]"
style={`--accent-color: ${siteConfig.accentColor}`}
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="h-6 w-6"
><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path
d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5"
></path></svg
>
</a>
{
siteConfig.social?.email && (
<a
href={`mailto:${siteConfig.social.email}`}
aria-label="Email"
class="text-gray-600 transition-colors duration-300 hover:text-[var(--accent-color)]"
style={`--accent-color: ${siteConfig.accentColor}`}
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="h-6 w-6"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10z" />
<path d="M3 7l9 6l9 -6" />
</svg>
</a>
)
}
{
siteConfig.social?.linkedin && (
<a
href={siteConfig.social.linkedin}
target="_blank"
rel="noopener noreferrer"
aria-label="LinkedIn"
class="text-gray-600 transition-colors duration-300 hover:text-[var(--accent-color)]"
style={`--accent-color: ${siteConfig.accentColor}`}
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="h-6 w-6"
>
<>
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M8 11v5" />
<path d="M8 8v.01" />
<path d="M12 16v-5" />
<path d="M16 16v-3a2 2 0 1 0 -4 0" />
<path d="M3 7a4 4 0 0 1 4 -4h10a4 4 0 0 1 4 4v10a4 4 0 0 1 -4 4h-10a4 4 0 0 1 -4 -4z" />
</>
</svg>
</a>
)
}

{
siteConfig.social?.twitter && (
<a
href={siteConfig.social.twitter}
target="_blank"
rel="noopener noreferrer"
aria-label="Twitter"
class="text-gray-600 transition-colors duration-300 hover:text-[var(--accent-color)]"
style={`--accent-color: ${siteConfig.accentColor}`}
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="h-6 w-6"
>
<>
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M4 4l11.733 16h4.267l-11.733 -16z" />
<path d="M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772" />
</>
</svg>
</a>
)
}

{
siteConfig.social?.github && (
<a
href={siteConfig.social.github}
target="_blank"
rel="noopener noreferrer"
aria-label="GitHub"
class="text-gray-600 transition-colors duration-300 hover:text-[var(--accent-color)]"
style={`--accent-color: ${siteConfig.accentColor}`}
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="h-6 w-6"
>
<>
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5" />
</>
</svg>
</a>
)
}
</div>
</div>

Expand Down