diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 845a356b..ff97c937 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,7 +48,6 @@ jobs: MAIN_VITE_ANALYTICS_API_URL: ${{ vars.MAIN_VITE_ANALYTICS_API_URL }} RENDERER_VITE_INTERCOM_APP_ID: ${{ vars.RENDERER_VITE_INTERCOM_APP_ID }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Build Windows if: matrix.os == 'windows-latest' run: yarn build:win @@ -59,7 +58,6 @@ jobs: MAIN_VITE_ANALYTICS_API_URL: ${{ vars.MAIN_VITE_ANALYTICS_API_URL }} RENDERER_VITE_INTERCOM_APP_ID: ${{ vars.RENDERER_VITE_INTERCOM_APP_ID }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Create artifact uses: actions/upload-artifact@v4 with: diff --git a/src/renderer/index.html b/src/renderer/index.html index c1d8f50c..bfc3a206 100644 --- a/src/renderer/index.html +++ b/src/renderer/index.html @@ -6,7 +6,7 @@ Hydra diff --git a/src/renderer/src/app.tsx b/src/renderer/src/app.tsx index 5a479879..bf726e31 100644 --- a/src/renderer/src/app.tsx +++ b/src/renderer/src/app.tsx @@ -36,6 +36,8 @@ export interface AppProps { children: React.ReactNode; } +console.log(import.meta.env); + Intercom({ app_id: import.meta.env.RENDERER_VITE_INTERCOM_APP_ID, }); diff --git a/src/renderer/src/components/sidebar/sidebar.css.ts b/src/renderer/src/components/sidebar/sidebar.css.ts index 9b061d68..4fd4b981 100644 --- a/src/renderer/src/components/sidebar/sidebar.css.ts +++ b/src/renderer/src/components/sidebar/sidebar.css.ts @@ -13,6 +13,7 @@ export const sidebar = recipe({ borderRight: `solid 1px ${vars.color.border}`, position: "relative", overflow: "hidden", + justifyContent: "space-between", }, variants: { resizing: { @@ -132,7 +133,6 @@ export const helpButton = style({ display: "flex", alignItems: "center", cursor: "pointer", - boxShadow: "0px 0px 15px 0px rgba(0, 0, 0, 0.6)", borderTop: `solid 1px ${vars.color.border}`, transition: "background-color ease 0.1s", ":hover": { diff --git a/src/renderer/src/components/sidebar/sidebar.tsx b/src/renderer/src/components/sidebar/sidebar.tsx index d529e942..b43c216a 100644 --- a/src/renderer/src/components/sidebar/sidebar.tsx +++ b/src/renderer/src/components/sidebar/sidebar.tsx @@ -188,75 +188,80 @@ export function Sidebar() { maxWidth: sidebarWidth, }} > - +
+ -
-
-
    - {routes.map(({ nameKey, path, render }) => ( -
  • - -
  • - ))} -
-
+ + + ))} + + -
- {t("my_library")} +
+ {t("my_library")} - + -
    - {filteredLibrary.map((game) => ( -
  • - -
  • - ))} -
-
+ + {getGameTitle(game)} + + + + ))} + +
+
{hasActiveSubscription && (