From 375856cefd704ced8347e5ed66eceb73074ade8f Mon Sep 17 00:00:00 2001 From: analiaacosta2023 Date: Wed, 14 Oct 2026 13:16:49 -0300 Subject: [PATCH] feat(footer): credit BitByBit Adds "Un proyecto de BitByBit" / "A BitByBit project" under the footer logo, linking to the studio site in the visitor's language. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 7 ++++++ components/layout/footer/footer.module.scss | 23 +++++++++++++++++++ components/layout/footer/footer.tsx | 25 +++++++++++++++++---- messages/en.json | 3 ++- messages/es.json | 3 ++- 5 files changed, 55 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ea9d57..abcfdbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 > Design and gameplay details live in [`docs/`](docs/README.md). This file is the > release-facing log — each tagged release maps to a version section below. +## [Unreleased] + +### Added + +- **Studio credit in the footer:** "Un proyecto de BitByBit" / "A BitByBit + project", linking to the BitByBit studio site in the visitor's language. + ## [1.0.0] — 2026-06-24 The first public release of **BitByBit RUN** — the full game, serverless diff --git a/components/layout/footer/footer.module.scss b/components/layout/footer/footer.module.scss index c142fae..80a68c3 100644 --- a/components/layout/footer/footer.module.scss +++ b/components/layout/footer/footer.module.scss @@ -27,6 +27,29 @@ } } +.identity { + display: flex; + flex-direction: column; + align-items: flex-start; + gap: $spacing-8; + + @include mobile { + align-items: center; + } +} + +.credit { + margin: 0; + color: $color-text-secondary; + font-size: $font-size-xs; + + .link { + display: inline; + font-size: inherit; + text-decoration: underline; + } +} + .brand { display: flex; align-items: center; diff --git a/components/layout/footer/footer.tsx b/components/layout/footer/footer.tsx index ce2b4b4..45fca81 100644 --- a/components/layout/footer/footer.tsx +++ b/components/layout/footer/footer.tsx @@ -1,4 +1,4 @@ -import { useTranslations } from "next-intl"; +import { useLocale, useTranslations } from "next-intl"; import { LogoBlocks } from "@/components/common/logo-blocks/logo-blocks"; import { Wordmark } from "@/components/common/wordmark/wordmark"; import { GithubIcon } from "@/components/icons/github-icon"; @@ -6,13 +6,30 @@ import styles from "./footer.module.scss"; export function Footer() { const t = useTranslations("footer"); + const studioUrl = `https://bitbybit.com.ar/${useLocale() === "es" ? "es" : "en"}`; return (