diff options
Diffstat (limited to 'src/pages/releases')
| -rw-r--r-- | src/pages/releases/[version].tsx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/pages/releases/[version].tsx b/src/pages/releases/[version].tsx index 280925b..dde1e3b 100644 --- a/src/pages/releases/[version].tsx +++ b/src/pages/releases/[version].tsx | |||
| @@ -2,20 +2,12 @@ import { Page, PipelineStageError } from "corvos"; | |||
| 2 | 2 | ||
| 3 | import { strapiLoader } from "$/deps/strapi.tsx"; | 3 | import { strapiLoader } from "$/deps/strapi.tsx"; |
| 4 | import { releaseStrapiSchema } from "$/schemas/releases.ts"; | 4 | import { releaseStrapiSchema } from "$/schemas/releases.ts"; |
| 5 | import { BaseLayout } from "$/ui/base/BaseLayout.tsx"; | ||
| 6 | import { SplitLayout } from "$/ui/base/SplitLayout.tsx"; | 5 | import { SplitLayout } from "$/ui/base/SplitLayout.tsx"; |
| 7 | import { ReleaseCard } from "$/ui/components/ReleaseCard.tsx"; | ||
| 8 | import { SiteHeader } from "$/ui/components/SiteHeader.tsx"; | ||
| 9 | import { CardList } from "$/ui/layouts/CardList.tsx"; | ||
| 10 | import { Container } from "$/ui/layouts/Container.tsx"; | ||
| 11 | import { HList } from "$/ui/layouts/HList.tsx"; | ||
| 12 | import { ActionButton } from "$/ui/objects/ActionButton.tsx"; | 6 | import { ActionButton } from "$/ui/objects/ActionButton.tsx"; |
| 13 | import { Badge } from "$/ui/objects/Badge.tsx"; | ||
| 14 | import { Body } from "$/ui/objects/Body.tsx"; | 7 | import { Body } from "$/ui/objects/Body.tsx"; |
| 15 | import { Button } from "$/ui/objects/Button.tsx"; | 8 | import { Button } from "$/ui/objects/Button.tsx"; |
| 16 | import { Card } from "$/ui/objects/Card.tsx"; | 9 | import { Card } from "$/ui/objects/Card.tsx"; |
| 17 | import { CardBody } from "$/ui/objects/CardBody.tsx"; | 10 | import { CardBody } from "$/ui/objects/CardBody.tsx"; |
| 18 | import { Divider } from "$/ui/objects/Divider.tsx"; | ||
| 19 | import { Heading } from "$/ui/objects/Heading.tsx"; | 11 | import { Heading } from "$/ui/objects/Heading.tsx"; |
| 20 | import { Icon } from "$/ui/objects/Icon.tsx"; | 12 | import { Icon } from "$/ui/objects/Icon.tsx"; |
| 21 | import site from "@/corvos.config.ts"; | 13 | import site from "@/corvos.config.ts"; |
| @@ -24,6 +16,7 @@ export const pages = site.$.pageGenerator(async function* () { | |||
| 24 | for await (const item of strapiLoader.loadCollection("corvos-releases", releaseStrapiSchema, { | 16 | for await (const item of strapiLoader.loadCollection("corvos-releases", releaseStrapiSchema, { |
| 25 | "populate[0]": "files", | 17 | "populate[0]": "files", |
| 26 | "sort[0]": "date:desc", | 18 | "sort[0]": "date:desc", |
| 19 | "sort[1]": "version:desc", | ||
| 27 | })) { | 20 | })) { |
| 28 | if (item instanceof PipelineStageError) { | 21 | if (item instanceof PipelineStageError) { |
| 29 | yield item; | 22 | yield item; |
