Skip to content
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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 23 additions & 0 deletions components/layout/footer/footer.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
25 changes: 21 additions & 4 deletions components/layout/footer/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,35 @@
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";
import styles from "./footer.module.scss";

export function Footer() {
const t = useTranslations("footer");
const studioUrl = `https://bitbybit.com.ar/${useLocale() === "es" ? "es" : "en"}`;

return (
<footer className={styles.footer}>
<div className={styles.inner}>
<div className={styles.brand}>
<LogoBlocks />
<Wordmark />
<div className={styles.identity}>
<div className={styles.brand}>
<LogoBlocks />
<Wordmark />
</div>
<p className={styles.credit}>
{t.rich("credit", {
studio: (chunks) => (
<a
href={studioUrl}
target="_blank"
rel="noopener noreferrer"
className={styles.link}
>
{chunks}
</a>
),
})}
</p>
</div>

<nav className={styles.links} aria-label={t("ariaLabel")}>
Expand Down
3 changes: 2 additions & 1 deletion messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@
"habits": "BitByBit Habits",
"arena": "BitByBit Arena",
"github": "GitHub",
"githubAria": "View the source on GitHub"
"githubAria": "View the source on GitHub",
"credit": "A <studio>BitByBit</studio> project"
},
"game": {
"go": "GO!",
Expand Down
3 changes: 2 additions & 1 deletion messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@
"habits": "BitByBit Habits",
"arena": "BitByBit Arena",
"github": "GitHub",
"githubAria": "Ver el código en GitHub"
"githubAria": "Ver el código en GitHub",
"credit": "Un proyecto de <studio>BitByBit</studio>"
},
"game": {
"go": "¡YA!",
Expand Down
Loading