Skip to content

Commit

Permalink
JFRA-10: Add new Flag component.
Browse files Browse the repository at this point in the history
  • Loading branch information
Radapls committed Mar 6, 2025
1 parent 9fc4d83 commit 81e20e2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/components/Flag.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
---
<section class="quote-container container">
ENTER AS A ESTRANGER. LEAVE AS A FRIEND
</section>

<style>
.quote-container {
background-color: #711389;
padding: 0.5rem;
border: solid 0.5rem #EBA614;
color: #EEE2C6;
font-weight: bold;
text-decoration: none;
font-family: sans-serif;
line-height: normal;
font-size: 1.875rem;
text-align: center;
outline: solid 1px #b47e0f;
text-shadow: 0 0 1px #c9bfa0;
text-wrap: balance;
}
</style>
2 changes: 2 additions & 0 deletions src/pages/[lang]/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Portfolio from "@sections/Portfolio.astro";
import ContactMe from "@sections/ContactMe.astro";
import CTA from "@sections/CTA.astro";
import Skills from "@sections/Skills.astro";
import Flag from "@components/Flag.astro";
export const getStaticPaths = () =>
Object.keys(LOCALES).map((lang) => ({
Expand All @@ -19,6 +20,7 @@ export const getStaticPaths = () =>

<Layout title="Juan Felipe Rada | Portfolio" variant="radapls">
<Home />
<Flag/>
<About />
<Skills />
<Experience />
Expand Down

0 comments on commit 81e20e2

Please sign in to comment.