-
-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP: Better UX for new gamepage Signed-off-by: Kajot-dev <[email protected]> * WIP: Update formatting Signed-off-by: Kajot-dev <[email protected]> * Sticky topbar + UI polish * HLTB styles improvement * Fix formatting * Implement install button * Fix aria-control attribute * Remove unnecessary code * Fix HLTB breaking when hours were triple digits * Fix keyboard focus issues * Formatting * Remove opts wrapper * Hardcode 'mainBtn' class * Do not show focus outline when using a mouse * Scaling and scrolling * Fix shadow on dots menu * Merge HLTBInline and HLTB * Remove unnecessary outline on root element * Add nowrap to hte HLTB hour count * Scale bg-image correctly * Add support for the RTL * Style the progressbar * Make nav buttons respect current theme * use MUI Progress for consistency * Better placed/scaled icons * Icon scaling * Formatting * Make new gamepage work on light themes * Bad icon order when game is uninstalled * Reduce background opacity --------- Signed-off-by: Kajot-dev <[email protected]>
- Loading branch information
Showing
14 changed files
with
452 additions
and
277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import React, { HTMLProps } from 'react' | ||
|
||
type TabPanelProps = HTMLProps<HTMLDivElement> & { | ||
children?: React.ReactNode | ||
index: string | ||
value: string | ||
} | ||
|
||
function TabPanel(props: Readonly<TabPanelProps>) { | ||
const { children, value, index, ...other } = props | ||
|
||
return ( | ||
<div | ||
role="tabpanel" | ||
id={`tabpanel-${index}`} | ||
aria-labelledby={`tab-${index}`} | ||
{...other} | ||
> | ||
{value === index && <div>{children}</div>} | ||
</div> | ||
) | ||
} | ||
|
||
export default TabPanel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.