Skip to content

Commit afe7c84

Browse files
committed
feat: add founder identity to footer and schema
1 parent 1097669 commit afe7c84

2 files changed

Lines changed: 56 additions & 0 deletions

File tree

‎src/components/Footer.astro‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
---
22
const { lang } = Astro.props;
33
4+
const founderLinkedinUrl = "https://www.linkedin.com/in/damian-nosowicz";
5+
46
const text = lang === "pl"
57
? {
68
line1: "Szczecin / Europe-Warsaw · Dostępność: konsulting + wdrożenia",
79
label: "Kontakt:",
810
suffix: "Opisz swój kontekst — zaproponujemy sensowny kolejny krok.",
11+
founderLabel: "Założyciel",
12+
founderLinkedinLabel: "Damian Nosowicz na LinkedIn",
913
}
1014
: {
1115
line1: "Szczecin / Europe-Warsaw · Availability: consulting + delivery",
1216
label: "Contact:",
1317
suffix: "Share your context — we’ll suggest a reasonable next step.",
18+
founderLabel: "Founder",
19+
founderLinkedinLabel: "Damian Nosowicz on LinkedIn",
1420
};
1521
---
1622

@@ -30,6 +36,39 @@ const text = lang === "pl"
3036
{" "}
3137
· {text.suffix}
3238
</div>
39+
40+
<div style="margin-top:6px; color: rgba(255,255,255,.5); display:flex; align-items:center; gap:6px; flex-wrap:wrap;">
41+
<span>{text.founderLabel} ·</span>
42+
<a
43+
href={founderLinkedinUrl}
44+
target="_blank"
45+
rel="noreferrer"
46+
style="border-bottom-color: rgba(122,162,255,.55)"
47+
>
48+
Damian Nosowicz
49+
</a>
50+
<a
51+
href={founderLinkedinUrl}
52+
target="_blank"
53+
rel="noreferrer"
54+
aria-label={text.founderLinkedinLabel}
55+
style="display:inline-flex; align-items:center; border-bottom:none; color:inherit;"
56+
>
57+
<svg
58+
xmlns="http://www.w3.org/2000/svg"
59+
viewBox="0 0 24 24"
60+
width="14"
61+
height="14"
62+
aria-hidden="true"
63+
focusable="false"
64+
>
65+
<path
66+
fill="currentColor"
67+
d="M4.98 3.5C4.98 4.88 3.87 6 2.5 6S0 4.88 0 3.5 1.11 1 2.5 1 4.98 2.12 4.98 3.5zM.5 8h4V24h-4V8zm7 0h3.83v2.19h.05c.53-1.01 1.84-2.19 3.79-2.19 4.05 0 4.8 2.67 4.8 6.14V24h-4v-7.58c0-1.81-.03-4.14-2.52-4.14-2.52 0-2.91 1.97-2.91 4.01V24h-4V8z"
68+
/>
69+
</svg>
70+
</a>
71+
</div>
3372
</div>
3473

3574
<div style="display:flex; gap:14px; align-items:center;">

‎src/layouts/BaseLayout.astro‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,22 @@ const routePaths = routeKey ? getRoutePaths(routeKey, routeParams) : null;
2727
const plUrl = routePaths ? new URL(routePaths.pl, baseUrl).toString() : null;
2828
const enUrl = routePaths ? new URL(routePaths.en, baseUrl).toString() : null;
2929
const canonicalUrl = routePaths ? (lang === "pl" ? plUrl : enUrl) : null;
30+
const organizationSchema = {
31+
"@context": "https://schema.org",
32+
"@type": "Organization",
33+
name: "rocketdeploy",
34+
url: baseUrl,
35+
email: "hello@rocketdeploy.dev",
36+
sameAs: [
37+
"https://github.com/rocketdeploy-dev",
38+
"https://www.linkedin.com/showcase/rocketdeploy-dev",
39+
],
40+
founder: {
41+
"@type": "Person",
42+
name: "Damian Nosowicz",
43+
sameAs: ["https://www.linkedin.com/in/damian-nosowicz"],
44+
},
45+
};
3046
---
3147

3248
<!doctype html>
@@ -47,6 +63,7 @@ const canonicalUrl = routePaths ? (lang === "pl" ? plUrl : enUrl) : null;
4763
{plUrl && <link rel="alternate" hreflang="pl" href={plUrl} />}
4864
{enUrl && <link rel="alternate" hreflang="en" href={enUrl} />}
4965
{enUrl && <link rel="alternate" hreflang="x-default" href={enUrl} />}
66+
<script type="application/ld+json" set:html={JSON.stringify(organizationSchema)} />
5067
</head>
5168

5269
<body>

0 commit comments

Comments
 (0)