summaryrefslogtreecommitdiff
path: root/frontend/src/components/store
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/store')
-rw-r--r--frontend/src/components/store/PluginCard.tsx18
-rw-r--r--frontend/src/components/store/Store.tsx7
2 files changed, 21 insertions, 4 deletions
diff --git a/frontend/src/components/store/PluginCard.tsx b/frontend/src/components/store/PluginCard.tsx
index a6e9458a..0155ff99 100644
--- a/frontend/src/components/store/PluginCard.tsx
+++ b/frontend/src/components/store/PluginCard.tsx
@@ -113,8 +113,22 @@ const PluginCard: FC<PluginCardProps> = ({ plugin }) => {
}}
className="deckyStoreCardInfo"
>
- <p className={joinClassNames(staticClasses.PanelSectionRow)}>
- <span>Author: {plugin.author}</span>
+ <p
+ className={joinClassNames(staticClasses.PanelSectionRow)}
+ style={{ marginTop: '0px', marginLeft: '16px' }}
+ >
+ <span style={{ paddingLeft: '0px' }}>Author: {plugin.author}</span>
+ </p>
+ <p
+ className={joinClassNames(staticClasses.PanelSectionRow)}
+ style={{
+ marginLeft: '16px',
+ marginTop: '0px',
+ marginBottom: '0px',
+ marginRight: '16px',
+ }}
+ >
+ <span style={{ paddingLeft: '0px' }}>{plugin.description}</span>
</p>
<p
className={joinClassNames('deckyStoreCardTagsContainer', staticClasses.PanelSectionRow)}
diff --git a/frontend/src/components/store/Store.tsx b/frontend/src/components/store/Store.tsx
index fd582edd..cb6f34ad 100644
--- a/frontend/src/components/store/Store.tsx
+++ b/frontend/src/components/store/Store.tsx
@@ -1,9 +1,12 @@
import { SteamSpinner } from 'decky-frontend-lib';
import { FC, useEffect, useState } from 'react';
+import Logger from '../../logger';
import { LegacyStorePlugin, StorePlugin, getLegacyPluginList, getPluginList } from '../../store';
import PluginCard from './PluginCard';
+const logger = new Logger('FilePicker');
+
const StorePage: FC<{}> = () => {
const [data, setData] = useState<StorePlugin[] | null>(null);
const [legacyData, setLegacyData] = useState<LegacyStorePlugin[] | null>(null);
@@ -11,12 +14,12 @@ const StorePage: FC<{}> = () => {
useEffect(() => {
(async () => {
const res = await getPluginList();
- console.log(res);
+ logger.log('got data!', res);
setData(res);
})();
(async () => {
const res = await getLegacyPluginList();
- console.log(res);
+ logger.log('got legacy data!', res);
setLegacyData(res);
})();
}, []);