style: some color & spacing changes

This commit is contained in:
Ayo Ayco 2025-06-30 11:54:47 +02:00
parent 06c014dd19
commit 514b43a4e9
4 changed files with 4 additions and 4 deletions

View file

@ -153,7 +153,7 @@ const description =
<strong>Import</strong>
</p>
<h2>Full <code>.csv</code> content</h2>
<h2>Full <code class="inline-code">.csv</code> content</h2>
<br />
<Code code={importedCode} />

View file

@ -57,7 +57,7 @@ const year = new Date().getFullYear()
<style>
footer {
padding: 0;
padding: 1em;
display: grid;
gap: 1em;
grid-auto-flow: row;

View file

@ -8,7 +8,7 @@ let publishedOn = `the 15th of February, 2025`
const publishDate = `2025-02-15`
const publishState = ``
const content = `<p>I have moved main activities (e.g, repository, planned work, announcements/discussions) on my projects to <a href="https://sourcehut.org">SourceHut</a> — a <em>code forge</em> much like GitHub, GitLab or Codeberg, but with significant differences.</p>
<p>The projects are still automatically mirrored to GitHub using automatic <code>git push --mirror</code> via <a href="https://builds.sr.ht">SourceHut Builds</a>.</p>
<p>The projects are still automatically mirrored to GitHub using automatic <code class="inline-code">git push --mirror</code> via <a href="https://builds.sr.ht">SourceHut Builds</a>.</p>
<p>👉 <a href="https://sr.ht/~ayoayco/">My projects on SourceHut</a></p>`
publishedOn = publishedOn === '' ? publishDate : publishedOn

View file

@ -10,7 +10,7 @@ const publishState = ``
const content = `<p>Started some migrations of JS projects to TypeScript. There are a few moves from TypeScript &#x26; node that influenced me to do this:</p>
<ol>
<li><a href="https://nodejs.org/api/typescript.html#type-stripping">Node's type stripping</a> - allows execution of TypeScript files that only contains erasable TypeScript syntax.</li>
<li><a href="https://www.totaltypescript.com/erasable-syntax-only">TypeScript's erasable syntax only</a> - a flag to tell <code>tsc</code> to throw error on syntax that are not erasable (e.g., enums, namespaces, and class parameter properties)</li>
<li><a href="https://www.totaltypescript.com/erasable-syntax-only">TypeScript's erasable syntax only</a> - a flag to tell <code class="inline-code">tsc</code> to throw error on syntax that are not erasable (e.g., enums, namespaces, and class parameter properties)</li>
<li><a href="https://devblogs.microsoft.com/typescript/typescript-native-port/">TypeScript native compiler</a> - promises 10x faster typescript compilation</li>
</ol>`