diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 294389d..84edce7 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,8 +1,29 @@ --- -const platform = "GitHub" -const username = "rjNemo" +import Social from "./Social.astro" + +const platforms = [ +{ + platform: "GitHub", + username: "rjNemo", +},{ +platform: "LinkedIn", +username: "ruidy-nemausat", +} +] const url = `https://ruidy.nemausat.com` --- + + diff --git a/src/components/Social.astro b/src/components/Social.astro new file mode 100644 index 0000000..bc0b705 --- /dev/null +++ b/src/components/Social.astro @@ -0,0 +1,14 @@ +--- +const { platform, username } = Astro.props +--- + +{platform} + +