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
270 changes: 0 additions & 270 deletions app/components/Footer.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion app/components/LayoutMain.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('LayoutMain', () => {
).toBeInTheDocument();
// A single banner: the navbar. Page heroes must not add another.
expect(screen.getAllByRole('banner')).toHaveLength(1);
// The v1 footer has no labelled link row.
// The labelled link row identifies the v2 footer.
expect(
screen.getByRole('navigation', { name: 'Liens du site' }),
).toBeInTheDocument();
Expand Down
2 changes: 1 addition & 1 deletion app/components/design-system/navbar-footer-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { css } from '@ocobo/styled-system/css';
import { challengePalette } from '~/components/challenges/challenge-palette';
import { FooterV2 } from '~/components/footer-v2/footer-v2';
import { NavbarBar } from '~/components/navbar-v2/navbar-bar';
import type { NavItem } from '~/components/navbar/types';
import type { NavItem } from '~/components/navbar-v2/types';
import { placeChallengeItem, useMenuItems } from '~/hooks/useMenuItems';

import { ShowcaseSection } from './showcase-section';
Expand Down
2 changes: 1 addition & 1 deletion app/components/footer-v2/footer-v2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { center } from '@ocobo/styled-system/patterns';
import { text } from '@ocobo/styled-system/recipes';

import { LanguageLinks } from '~/components/navbar-v2/language-links';
import type { NavItem } from '~/components/navbar/types';
import type { NavItem } from '~/components/navbar-v2/types';
import { Container } from '~/components/ui/Container';
import { Logocobo } from '~/components/ui/Logocobo';
import { useLocalizedPathname } from '~/hooks/useLocalizedPathname';
Expand Down
2 changes: 1 addition & 1 deletion app/components/navbar-v2/challenges-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { center } from '@ocobo/styled-system/patterns';
import { text } from '@ocobo/styled-system/recipes';

import { challengePalette } from '~/components/challenges/challenge-palette';
import type { DropdownItem } from '~/components/navbar/types';
import type { DropdownItem } from '~/components/navbar-v2/types';
import { useLocalizedPathname } from '~/hooks/useLocalizedPathname';
import { url } from '~/utils/url';

Expand Down
2 changes: 1 addition & 1 deletion app/components/navbar-v2/method-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { css, cx } from '@ocobo/styled-system/css';
import { center } from '@ocobo/styled-system/patterns';
import { text } from '@ocobo/styled-system/recipes';

import type { DropdownItem } from '~/components/navbar/types';
import type { DropdownItem } from '~/components/navbar-v2/types';

import { focusRing, panelItemTint } from './nav-styles';
import { PanelFooter, panelLabelStyles } from './panel-parts';
Expand Down
2 changes: 1 addition & 1 deletion app/components/navbar-v2/mobile-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { css, cx } from '@ocobo/styled-system/css';
import { center } from '@ocobo/styled-system/patterns';
import { text } from '@ocobo/styled-system/recipes';

import type { DropdownItem, NavItem } from '~/components/navbar/types';
import type { DropdownItem, NavItem } from '~/components/navbar-v2/types';
import { ButtonLink } from '~/components/ui/button-link';
import { useLocalizedPathname } from '~/hooks/useLocalizedPathname';

Expand Down
2 changes: 1 addition & 1 deletion app/components/navbar-v2/nav-panel-content.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { css } from '@ocobo/styled-system/css';

import type { DropdownItem, NavItem } from '~/components/navbar/types';
import type { DropdownItem, NavItem } from '~/components/navbar-v2/types';

import { ChallengesPanel } from './challenges-panel';
import { MethodPanel } from './method-panel';
Expand Down
2 changes: 1 addition & 1 deletion app/components/navbar-v2/nav-panel-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { css, cx } from '@ocobo/styled-system/css';
import { center } from '@ocobo/styled-system/patterns';
import { text } from '@ocobo/styled-system/recipes';

import type { DropdownItem } from '~/components/navbar/types';
import type { DropdownItem } from '~/components/navbar-v2/types';

import { focusRing, panelItemTint } from './nav-styles';

Expand Down
2 changes: 1 addition & 1 deletion app/components/navbar-v2/nav-styles.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { css, cx } from '@ocobo/styled-system/css';
import { text } from '@ocobo/styled-system/recipes';

import type { Color, DropdownItemTint } from '~/components/navbar/types';
import type { Color, DropdownItemTint } from '~/components/navbar-v2/types';

/**
* Icon box tint per colour, shared by the desktop panels and the mobile
Expand Down
Loading
Loading