Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: change banner arts #444

Merged
merged 2 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading