From b1a60adbc2f2088cec424660c6a4309f82ce2b91 Mon Sep 17 00:00:00 2001 From: simoleo89 Date: Sun, 12 Jul 2026 14:49:37 +0200 Subject: [PATCH] feat: rebrand CMS information as EpicNext --- src/components/cms-info-popup.test.tsx | 7 ++++++- src/components/cms-info-popup.tsx | 16 ++++++++-------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/components/cms-info-popup.test.tsx b/src/components/cms-info-popup.test.tsx index e8e01394..ef791ace 100644 --- a/src/components/cms-info-popup.test.tsx +++ b/src/components/cms-info-popup.test.tsx @@ -1,3 +1,5 @@ +import { readFileSync } from "node:fs"; +import { resolve } from "node:path"; import { renderToStaticMarkup } from "react-dom/server"; import { describe, expect, it } from "vitest"; import { CmsInfoPopup } from "@/components/cms-info-popup"; @@ -5,6 +7,9 @@ import { CmsInfoPopup } from "@/components/cms-info-popup"; describe("CmsInfoPopup", () => { it("renders the footer trigger", () => { const html = renderToStaticMarkup(); - expect(html).toContain("CMS Info"); + const source = readFileSync(resolve(process.cwd(), "src/components/cms-info-popup.tsx"), "utf8"); + expect(html).toContain("EpicNext Info"); + expect(source).toContain(">EpicNext<"); + expect(source).toContain("Modern Next.js CMS"); }); }); diff --git a/src/components/cms-info-popup.tsx b/src/components/cms-info-popup.tsx index d7a197e2..9c4a9ba7 100644 --- a/src/components/cms-info-popup.tsx +++ b/src/components/cms-info-popup.tsx @@ -3,14 +3,14 @@ import { useEffect, useState } from "react"; const cmsDetails = [ - ["Edition", "Next.js rebuild"], - ["Interface", "Public CMS"], + ["Edition", "EpicNext"], + ["Interface", "Modern CMS"], ["Runtime", "Next.js App Router"], ]; const credits = [ - ["Remco", "AtomCMS direction and original project"], - ["Life", "Next.js experience and CMS refinements"], + ["Remco", "EpicNext direction and development"], + ["Life", "Next.js architecture and CMS refinements"], ]; export function CmsInfoPopup() { @@ -32,16 +32,16 @@ export function CmsInfoPopup() { return ( <> {open ? (
setOpen(false)}>
event.stopPropagation()}>
CMS information
-

AtomCMS

-
Next.js edition
-

A modern web layer for the hotel community, focused on fast navigation, clean administration, and a familiar AtomCMS experience.

+

EpicNext

+
Modern Next.js CMS
+

A modern web layer for the hotel community, focused on fast navigation, clean administration, and a coherent EpicNext experience.

{cmsDetails.map(([label, value]) =>
{label}
{value}
)}