diff --git a/src/components/base/Header.astro b/src/components/base/Header.astro index 88f880d..35300c1 100644 --- a/src/components/base/Header.astro +++ b/src/components/base/Header.astro @@ -10,10 +10,6 @@ const menu: MenuItem[] = [ name: 'Posts', url: '/posts/', }, - { - name: 'Repos', - url: '/repos/', - }, { name: 'Slides', url: '/slides/', diff --git a/src/content/config.ts b/src/content/config.ts index 6a5a655..d9fa67b 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -30,14 +30,5 @@ export const collections = { }) ) }) - }), - repos: defineCollection({ - type: "data", - schema: z.object({ - type: z.string(), - url: z.string(), - description: z.string(), - icons: z.array(z.string()), - }) }) } diff --git a/src/content/repos/plwordnet-rs.json b/src/content/repos/plwordnet-rs.json deleted file mode 100644 index 0333310..0000000 --- a/src/content/repos/plwordnet-rs.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "type": "github", - "url": "https://github.com/kamoshi/plwordnet-rs", - "description": "Native Rust library facilitating the integration of plWordNet 4.2 lexical resources.", - "icons": ["rust"] -} \ No newline at end of file diff --git a/src/pages/repos.astro b/src/pages/repos.astro deleted file mode 100644 index d184ba3..0000000 --- a/src/pages/repos.astro +++ /dev/null @@ -1,31 +0,0 @@ ---- -import Base from "@layouts/Base.astro"; -import { getCollection } from 'astro:content'; - - -const repos = await getCollection('repos'); ---- - - -
-
-

Maintained repositories

-
- {repos.map(repo => ( - -
- -

{repo.id}

-
-
{repo.data.description}
-
- {repo.data.icons.map(icon => ( - - ))} -
-
- ))} -
-
-
- diff --git a/src/styles/layouts/_repos.scss b/src/styles/layouts/_repos.scss deleted file mode 100644 index 813241c..0000000 --- a/src/styles/layouts/_repos.scss +++ /dev/null @@ -1,51 +0,0 @@ -.l-repos { - padding: 1em; - - &__article { - margin: 1em auto 1em auto; - max-width: 60em; - } -} - -.repos { - display: flex; - color: unset; -} - -.repo-item { - max-width: 16em; - padding: 0.5em; - background: white; - border-radius: 0.5em; - color: unset; - text-decoration: unset; - box-shadow: var(--shadow-l); - transition: box-shadow ease-in-out 0.1s; - - &__header { - display: flex; - align-items: center; - gap: 0.5em; - padding-bottom: 0.25em; - margin-bottom: 0.25em; - border-bottom: 1px solid lightgray; - } - - &__icon { - max-height: 1.6em; - } - - &__heading { - margin: 0; - } - - &__tech { - display: flex; - gap: 0.25em; - } - - &:focus-within, - &:hover { - box-shadow: var(--shadow-m); - } -} diff --git a/src/styles/styles.scss b/src/styles/styles.scss index 30bba8a..a4aa3a7 100644 --- a/src/styles/styles.scss +++ b/src/styles/styles.scss @@ -38,6 +38,5 @@ @use 'layouts/pages'; @use 'layouts/article'; @use 'layouts/songs'; -@use 'layouts/repos'; @use 'layouts/wiki'; @use 'layouts/page-list'; \ No newline at end of file