Skip to content

Commit

Permalink
feat: change banner arts (#444)
Browse files Browse the repository at this point in the history
* fix: proper name for component

* feat: change banner arts
  • Loading branch information
lauti7 authored Feb 23, 2024
1 parent 1ee7316 commit 0b0dbdc
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/components/BannerMobile/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
}

.banner-mobile > img {
width: 346px;
height: 132px;
width: 100%;
height: 125px;
}

.banner-mobile > svg {
Expand Down
2 changes: 1 addition & 1 deletion src/components/BannerMobile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import useFormatMessage from "decentraland-gatsby/dist/hooks/useFormatMessage"
import { CategoryCountTargetOptions } from "../../entities/Category/types"
import DCLLogo from "../../images/dcl-logo.svg"
import GenesisBanner from "../../images/genesis-banner-mobile.png"
import WorldBanner from "../../images/worlds-banner.png"
import WorldBanner from "../../images/worlds-banner-mobile.png"
import WorldsLogo from "../../images/worlds-logo.svg"
import { Close } from "../Icon/Close"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import useFormatMessage from "decentraland-gatsby/dist/hooks/useFormatMessage"
import { CategoryButtons } from "../Button/CategoryButtons"
import { NewLabel } from "../Label/NewLabel/NewLabel"

import "./CategorySections.css"
import "./CategoriesSection.css"

type CategorySectionsProps = {
type CategoriesSectionProps = {
categories: string[]
}

export const CategorySections = (props: CategorySectionsProps) => {
export const CategoriesSection = (props: CategoriesSectionProps) => {
const { categories } = props
const l = useFormatMessage()

Expand Down
Binary file modified src/images/genesis-banner-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/genesis-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/worlds-banner-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/worlds-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import useFeatureFlagContext from "decentraland-gatsby/dist/context/FeatureFlag/
import useFormatMessage from "decentraland-gatsby/dist/hooks/useFormatMessage"
import { Container } from "decentraland-ui/dist/components/Container/Container"

import { CategorySections } from "../components/Category/CategorySections"
import { CategoriesSection } from "../components/Category/CategoriesSection"
import Navigation, { NavigationTab } from "../components/Layout/Navigation"
import OverviewList from "../components/Layout/OverviewList"
import SearchList from "../components/Layout/SearchList"
Expand Down Expand Up @@ -262,7 +262,7 @@ export default function OverviewPage() {
items={highlightedList}
component={PlaceFeatured}
/>
<CategorySections categories={categories.map(({ name }) => name)} />
<CategoriesSection categories={categories.map(({ name }) => name)} />
</>
)}
</>
Expand Down

0 comments on commit 0b0dbdc

Please sign in to comment.