-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
141 additions
and
73 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,17 @@ | ||
import { CardThemed } from '@genshin-optimizer/common/ui' | ||
import type { LightConeKey } from '@genshin-optimizer/sr/consts' | ||
import { CardContent, Grid } from '@mui/material' | ||
import { Grid } from '@mui/material' | ||
import { LightConeSheetDisplay } from './LightConeSheetDisplay' | ||
|
||
// TODO: hardcoded to LightConeSheetsDisplay.tsx for now. Can be expanded to all lightcones with sheets | ||
const cones: LightConeKey[] = ['PastSelfInMirror'] as const | ||
export function LightConeSheetsDisplay() { | ||
return ( | ||
<CardThemed bgt="dark"> | ||
<CardContent> | ||
<Grid container columns={3} spacing={1}> | ||
{cones.map((lcKey) => ( | ||
<Grid item xs={1} key={lcKey}> | ||
<LightConeSheetDisplay lcKey={lcKey} /> | ||
</Grid> | ||
))} | ||
<Grid container columns={3} spacing={1}> | ||
{cones.map((lcKey) => ( | ||
<Grid item xs={1} key={lcKey}> | ||
<LightConeSheetDisplay lcKey={lcKey} /> | ||
</Grid> | ||
</CardContent> | ||
</CardThemed> | ||
))} | ||
</Grid> | ||
) | ||
} |
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 |
---|---|---|
@@ -1,22 +1,17 @@ | ||
import { CardThemed } from '@genshin-optimizer/common/ui' | ||
import type { RelicSetKey } from '@genshin-optimizer/sr/consts' | ||
import { CardContent, Grid } from '@mui/material' | ||
import { Grid } from '@mui/material' | ||
import { RelicSheetDisplay } from './RelicSheetDisplay' | ||
|
||
// TODO: hardcoded to RelicSheetsDisplay.tsx for now. Can be expanded to all relic sets with sheets | ||
const sets: RelicSetKey[] = ['WatchmakerMasterOfDreamMachinations'] as const | ||
export function RelicSheetsDisplay() { | ||
return ( | ||
<CardThemed bgt="dark"> | ||
<CardContent> | ||
<Grid container columns={3} spacing={1}> | ||
{sets.map((setKey) => ( | ||
<Grid item xs={1} key={setKey}> | ||
<RelicSheetDisplay setKey={setKey} /> | ||
</Grid> | ||
))} | ||
<Grid container columns={3} spacing={1}> | ||
{sets.map((setKey) => ( | ||
<Grid item xs={1} key={setKey}> | ||
<RelicSheetDisplay setKey={setKey} /> | ||
</Grid> | ||
</CardContent> | ||
</CardThemed> | ||
))} | ||
</Grid> | ||
) | ||
} |
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