diff --git a/package.json b/package.json index 110959a..c06e69f 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ }, "repository": "https://github.com/LemmyNet/joinlemmy-site", "dependencies": { + "@glidejs/glide": "3.5.2", "@typescript-eslint/parser": "^6.7.5", "classnames": "^2.3.2", "express": "~4.18.2", @@ -37,14 +38,15 @@ "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-transform-runtime": "^7.23.2", "@babel/plugin-transform-typescript": "^7.22.15", - "@types/qrcode": "^1.5.4", "@babel/preset-env": "7.23.2", "@babel/preset-typescript": "^7.23.2", "@babel/runtime": "^7.23.2", "@tailwindcss/typography": "^0.5.10", "@types/express": "^4.17.19", + "@types/glidejs__glide": "^3.6.3", "@types/node": "^20.8.4", "@types/node-fetch": "^2.6.6", + "@types/qrcode": "^1.5.4", "@typescript-eslint/eslint-plugin": "^6.7.5", "babel-loader": "^9.1.3", "babel-plugin-inferno": "^6.7.0", diff --git a/src/server/index.tsx b/src/server/index.tsx index 93ab2da..75f3d15 100644 --- a/src/server/index.tsx +++ b/src/server/index.tsx @@ -87,6 +87,7 @@ server.get("/*", async (req, res) => { + ${helmet.link.toString()} diff --git a/src/shared/components/instances-definitions.ts b/src/shared/components/instances-definitions.ts index 140e49f..b2026f0 100644 --- a/src/shared/components/instances-definitions.ts +++ b/src/shared/components/instances-definitions.ts @@ -142,7 +142,7 @@ export const RECOMMENDED_INSTANCES: RecommendedInstance[] = [ { domain: "lemmygrad.ml", languages: ["en"], - topics: [GENERAL, POLITICS], + topics: [GENERAL, POLITICS, LGBTQ], }, { domain: "sopuli.xyz", diff --git a/src/shared/components/main.tsx b/src/shared/components/main.tsx index af76583..107a20e 100644 --- a/src/shared/components/main.tsx +++ b/src/shared/components/main.tsx @@ -13,6 +13,7 @@ import { } from "./common"; import { InstancePicker } from "./instance-picker"; import classNames from "classnames"; +import Glide from "@glidejs/glide"; interface MainProps { i: Main; @@ -39,25 +40,33 @@ const carouselImages = [ const CarouselBlock = () => (