mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-07-16 00:30:45 -05:00
* Bump the npm group across 1 directory with 11 updates Bumps the npm group with 11 updates in the /landing directory: | Package | From | To | | --- | --- | --- | | [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) | `2.1.2` | `2.2.0` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.0.2` | `22.8.6` | | [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.3.3` | `18.3.12` | | [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `18.3.0` | `18.3.1` | | [autoprefixer](https://github.com/postcss/autoprefixer) | `10.4.19` | `10.4.20` | | [eslint](https://github.com/eslint/eslint) | `8.57.0` | `9.13.0` | | [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `14.2.5` | `15.0.2` | | [next](https://github.com/vercel/next.js) | `14.2.5` | `15.0.2` | | [postcss](https://github.com/postcss/postcss) | `8.4.40` | `8.4.47` | | [tailwindcss](https://github.com/tailwindlabs/tailwindcss) | `3.4.7` | `3.4.14` | | [typescript](https://github.com/microsoft/TypeScript) | `5.5.4` | `5.6.3` | Updates `@headlessui/react` from 2.1.2 to 2.2.0 - [Release notes](https://github.com/tailwindlabs/headlessui/releases) - [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.2.0/packages/@headlessui-react) Updates `@types/node` from 22.0.2 to 22.8.6 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@types/react` from 18.3.3 to 18.3.12 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Updates `@types/react-dom` from 18.3.0 to 18.3.1 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom) Updates `autoprefixer` from 10.4.19 to 10.4.20 - [Release notes](https://github.com/postcss/autoprefixer/releases) - [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/autoprefixer/compare/10.4.19...10.4.20) Updates `eslint` from 8.57.0 to 9.13.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.57.0...v9.13.0) Updates `eslint-config-next` from 14.2.5 to 15.0.2 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/commits/v15.0.2/packages/eslint-config-next) Updates `next` from 14.2.5 to 15.0.2 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v14.2.5...v15.0.2) Updates `postcss` from 8.4.40 to 8.4.47 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.40...8.4.47) Updates `tailwindcss` from 3.4.7 to 3.4.14 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.14/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.7...v3.4.14) Updates `typescript` from 5.5.4 to 5.6.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.5.4...v5.6.3) --- updated-dependencies: - dependency-name: "@headlessui/react" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm - dependency-name: "@types/node" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm - dependency-name: "@types/react" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm - dependency-name: "@types/react-dom" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm - dependency-name: autoprefixer dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm - dependency-name: eslint dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm - dependency-name: eslint-config-next dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm - dependency-name: next dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm - dependency-name: postcss dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm - dependency-name: tailwindcss dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm - dependency-name: typescript dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm ... Signed-off-by: dependabot[bot] <support@github.com> * Fix Import of Download Component --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ricoberger <mail@ricoberger.de>
32 lines
762 B
TypeScript
32 lines
762 B
TypeScript
"use client";
|
|
|
|
import { getOSDownload, getOSLabel, getOSName } from "@/helpers/helpers";
|
|
|
|
export default function Download() {
|
|
const osName = getOSName();
|
|
const osLabel = getOSLabel(osName);
|
|
const osDownload = getOSDownload(osName);
|
|
|
|
if (!osLabel) {
|
|
return (
|
|
<a
|
|
href="/download"
|
|
className="px-8 py-4 text-lg font-medium text-center text-onsecondary bg-secondary rounded-full border shadow border-black"
|
|
>
|
|
Download
|
|
</a>
|
|
);
|
|
}
|
|
|
|
return (
|
|
<a
|
|
href={osDownload}
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
className="px-8 py-4 text-lg font-medium text-center text-onsecondary bg-secondary rounded-full border shadow border-black"
|
|
>
|
|
Download for {osLabel}
|
|
</a>
|
|
);
|
|
}
|