From 6e45c70883090ee6d1b19f1116dd6cf178e6a02a Mon Sep 17 00:00:00 2001 From: sajeetharan Date: Wed, 9 Oct 2024 14:20:10 +0530 Subject: [PATCH] Update fixes --- docusaurus.config.js | 28 +++++++++---------- .../gallery/ShowcaseCardPanel/index.tsx | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 69d4ede..bfae188 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -141,22 +141,22 @@ const config = { ], ], - // CONFIG: Set presets for chosen theme - presets: [ - [ - '@docusaurus/preset-classic', - { - gtag: { - trackingID: 'UA-141789564-1', - anonymizeIP: true, - }, - theme: { - customCss: require.resolve("./src/css/custom.css"), + // CONFIG: Set presets for chosen theme + presets: [ + [ + '@docusaurus/preset-classic', + { + gtag: { + trackingID: 'UA-141789564-1', + anonymizeIP: true, + }, + theme: { + customCss: require.resolve("./src/css/custom.css"), + } } - } - + ], ], - ], + }; module.exports = config; diff --git a/src/components/gallery/ShowcaseCardPanel/index.tsx b/src/components/gallery/ShowcaseCardPanel/index.tsx index c777502..5e45419 100644 --- a/src/components/gallery/ShowcaseCardPanel/index.tsx +++ b/src/components/gallery/ShowcaseCardPanel/index.tsx @@ -21,7 +21,7 @@ export default function ShowcaseCardPanel({ user: User; githubData: { forks: number; stars: number; updatedOn: Date }; }) { - const githubURL = user.source.toLowerCase(); + const githubURL = user.source; const title = user.title; const description = user.description; const video = user.video;