Skip to content
Merged
Show file tree
Hide file tree
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
23 changes: 23 additions & 0 deletions src/components/Contributor.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
interface Props {
handle: string;
}

const { handle } = Astro.props;
const url = `https://github.com/${handle}`;
const alt = `Contributor @${handle}`;
---

<a class="handle" href={url} title={alt}>
@{handle}
</a>


<style>
.handle {
text-decoration: underline;
color: inherit;
font-weight: bold;
line-height: 30px;
}
</style>
8 changes: 4 additions & 4 deletions src/components/EditorSettings.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Code, TabItem, Tabs } from "@astrojs/starlight/components";

interface Props {
zed: {
value: string;
value: string | object;
name: string;
};
vsCode: {
Expand All @@ -19,15 +19,15 @@ const zedCode = `
"biome": {
"settings": {
"${zed.name}": ${zed.value}
}
}
}
}
}
`;
const vscodeCode = `
{
"biome.lsp": {
"${vsCode.name}": ${vsCode.value}
"${vsCode.name}": ${vsCode.value}
}
}
`;
Expand All @@ -40,4 +40,4 @@ const vscodeCode = `
<TabItem label="VS Code" icon="vscode">
<Code title=".vscode/settings.json" code={vscodeCode} lang="json" />
</TabItem>
</Tabs>
</Tabs>
Loading