Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Commit e7e4e55

Browse files
committed
switch med rec to right rail
1 parent e7c4dbc commit e7e4e55

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/AdSpace.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ export enum UnitType {
1111
BottomRail = "bottom_rail",
1212
Skyscraper = "sky_atf",
1313
MediumRect = "med_rect_atf",
14+
RightRail = "right_rail",
1415
}
1516

1617
export const adSpaceSize = {
1718
[UnitType.BottomRail]: { height: 50, width: 320 },
1819
[UnitType.Skyscraper]: { height: 600, width: 160 },
1920
[UnitType.MediumRect]: { height: 250, width: 300 },
21+
[UnitType.RightRail]: { height: 600, width: 120},
2022
};
2123

2224
interface AdSpaceProps {

src/pages/build/Build.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,17 +497,17 @@ const Build: React.FC = () => {
497497
sm={12}
498498
sx={{ width: isMobile ? "100%" : undefined }}
499499
>
500+
{isMobile ? <PerkListMobile /> : <PerkList />}
501+
500502
<ConstraintBox constraints={[]}>
501503
<CenterBox>
502504
<AdSpace
503505
name={playwireUnitUnderPerkList}
504-
unitType={UnitType.MediumRect}
506+
unitType={UnitType.RightRail}
505507
/>
506508
</CenterBox>
507509
</ConstraintBox>
508510

509-
{isMobile ? <PerkListMobile /> : <PerkList />}
510-
511511
<Button
512512
onClick={onCopyBuildToFinderButtonClicked}
513513
startIcon={<ManageSearch />}

0 commit comments

Comments
 (0)