Replace "FastNext" branding with "PragmaStack" across the project

- Updated all references, metadata, and templates to reflect the new branding, including layout files, components, and documentation.
- Replaced hardcoded color tokens like `green-600` with semantic tokens (`success`, `warning`, etc.) for improved design consistency.
- Enhanced `globals.css` with new color tokens for success, warning, and destructive states using the OKLCH color model.
- Added comprehensive branding guidelines and updated the design system documentation to align with the new identity.
- Updated tests and mocks to reflect the branding changes and ensured all visual/verbal references match "PragmaStack".
- Added new `branding/README.md` and `branding` docs for mission, values, and visual identity definition.
This commit is contained in:
Felipe Cardoso
2025-11-20 12:55:30 +01:00
parent 5a21847382
commit 28b1cc6e48
34 changed files with 191 additions and 62 deletions

View File

@@ -14,7 +14,7 @@ test.describe('Homepage - Desktop Navigation', () => {
test('should display header with logo and navigation', async ({ page }) => {
// Logo should be visible
await expect(page.getByRole('link', { name: /FastNext/i })).toBeVisible();
await expect(page.getByRole('link', { name: /PragmaStack/i })).toBeVisible();
// Desktop navigation links should be visible (use locator to find within header)
const header = page.locator('header').first();
@@ -40,7 +40,7 @@ test.describe('Homepage - Desktop Navigation', () => {
// Click and wait for navigation
await designSystemLink.click();
await page.waitForURL('/en/dev', { timeout: 10000 }).catch(() => {});
await page.waitForURL('/en/dev', { timeout: 10000 }).catch(() => { });
// Verify URL (might not navigate if /dev page has issues, that's ok for this test)
const currentUrl = page.url();
@@ -58,7 +58,7 @@ test.describe('Homepage - Desktop Navigation', () => {
// Click and wait for navigation
await adminLink.click();
await page.waitForURL('/en/admin', { timeout: 10000 }).catch(() => {});
await page.waitForURL('/en/admin', { timeout: 10000 }).catch(() => { });
// Verify URL (might not navigate if /admin requires auth, that's ok for this test)
const currentUrl = page.url();
@@ -150,7 +150,7 @@ test.describe('Homepage - Mobile Menu Interactions', () => {
// Click and wait for navigation
await componentsLink.click();
await page.waitForURL('/en/dev', { timeout: 10000 }).catch(() => {});
await page.waitForURL('/en/dev', { timeout: 10000 }).catch(() => { });
// Verify URL (might not navigate if /dev page has issues, that's ok)
const currentUrl = page.url();
@@ -168,7 +168,7 @@ test.describe('Homepage - Mobile Menu Interactions', () => {
// Click and wait for navigation
await adminLink.click();
await page.waitForURL('/en/admin', { timeout: 10000 }).catch(() => {});
await page.waitForURL('/en/admin', { timeout: 10000 }).catch(() => { });
// Verify URL (might not navigate if /admin requires auth, that's ok)
const currentUrl = page.url();
@@ -259,7 +259,7 @@ test.describe('Homepage - Hero Section', () => {
// Click and try to navigate
await exploreLink.click();
await page.waitForURL('/en/dev', { timeout: 10000 }).catch(() => {});
await page.waitForURL('/en/dev', { timeout: 10000 }).catch(() => { });
// Verify URL (flexible to handle auth redirects)
const currentUrl = page.url();
@@ -391,7 +391,7 @@ test.describe('Homepage - Animated Terminal', () => {
// Click and try to navigate
await terminalDemoLink.click();
await page.waitForURL('/en/login', { timeout: 10000 }).catch(() => {});
await page.waitForURL('/en/login', { timeout: 10000 }).catch(() => { });
// Verify URL (flexible to handle redirects)
const currentUrl = page.url();
@@ -421,7 +421,7 @@ test.describe('Homepage - Feature Sections', () => {
// Click and try to navigate
await authLink.click();
await page.waitForURL('/en/login', { timeout: 10000 }).catch(() => {});
await page.waitForURL('/en/login', { timeout: 10000 }).catch(() => { });
// Verify URL (flexible to handle redirects)
const currentUrl = page.url();
@@ -436,7 +436,7 @@ test.describe('Homepage - Feature Sections', () => {
// Click and try to navigate
await adminLink.click();
await page.waitForURL('/en/admin', { timeout: 10000 }).catch(() => {});
await page.waitForURL('/en/admin', { timeout: 10000 }).catch(() => { });
// Verify URL (flexible to handle auth redirects)
const currentUrl = page.url();
@@ -469,7 +469,7 @@ test.describe('Homepage - Footer', () => {
// Scroll to footer
await page.locator('footer').scrollIntoViewIfNeeded();
await expect(page.getByText(/FastNext Template. MIT Licensed/i)).toBeVisible();
await expect(page.getByText(/PragmaStack. MIT Licensed/i)).toBeVisible();
});
});