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

Commit

Permalink
switch med rec to right rail
Browse files Browse the repository at this point in the history
  • Loading branch information
atomicptr committed Sep 29, 2024
1 parent 053bc7a commit a0da312
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/components/AdSpace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ export enum UnitType {
BottomRail = "bottom_rail",
Skyscraper = "sky_atf",
MediumRect = "med_rect_atf",
RightRail = "right_rail",
}

export const adSpaceSize = {
[UnitType.BottomRail]: { height: 50, width: 320 },
[UnitType.Skyscraper]: { height: 600, width: 160 },
[UnitType.MediumRect]: { height: 250, width: 300 },
[UnitType.RightRail]: { height: 600, width: 120},
};

interface AdSpaceProps {
Expand Down
6 changes: 3 additions & 3 deletions src/pages/build/Build.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -497,17 +497,17 @@ const Build: React.FC = () => {
sm={12}
sx={{ width: isMobile ? "100%" : undefined }}
>
{isMobile ? <PerkListMobile /> : <PerkList />}

<ConstraintBox constraints={[]}>
<CenterBox>
<AdSpace
name={playwireUnitUnderPerkList}
unitType={UnitType.MediumRect}
unitType={UnitType.RightRail}
/>
</CenterBox>
</ConstraintBox>

{isMobile ? <PerkListMobile /> : <PerkList />}

<Button
onClick={onCopyBuildToFinderButtonClicked}
startIcon={<ManageSearch />}
Expand Down

0 comments on commit a0da312

Please sign in to comment.