💬(frontend) change site name to Docs
The site name was Impress, we change it to Docs.
This commit is contained in:
@@ -17,12 +17,12 @@ test.describe('Header', () => {
|
|||||||
header.getByAltText('Freedom Equality Fraternity Logo'),
|
header.getByAltText('Freedom Equality Fraternity Logo'),
|
||||||
).toBeVisible();
|
).toBeVisible();
|
||||||
|
|
||||||
await expect(header.getByAltText('Impress Logo')).toBeVisible();
|
await expect(header.getByAltText('Docs Logo')).toBeVisible();
|
||||||
await expect(header.locator('h2').getByText('Impress')).toHaveCSS(
|
await expect(header.locator('h2').getByText('Docs')).toHaveCSS(
|
||||||
'color',
|
'color',
|
||||||
'rgb(0, 0, 145)',
|
'rgb(0, 0, 145)',
|
||||||
);
|
);
|
||||||
await expect(header.locator('h2').getByText('Impress')).toHaveCSS(
|
await expect(header.locator('h2').getByText('Docs')).toHaveCSS(
|
||||||
'font-family',
|
'font-family',
|
||||||
/Marianne/i,
|
/Marianne/i,
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import { LanguagePicker } from '../language/';
|
|||||||
|
|
||||||
import { AccountDropdown } from './AccountDropdown';
|
import { AccountDropdown } from './AccountDropdown';
|
||||||
import { LaGaufre } from './LaGaufre';
|
import { LaGaufre } from './LaGaufre';
|
||||||
import { default as IconImpress } from './assets/icon-impress.svg?url';
|
import { default as IconDocs } from './assets/icon-docs.svg?url';
|
||||||
|
|
||||||
export const HEADER_HEIGHT = '100px';
|
export const HEADER_HEIGHT = '100px';
|
||||||
|
|
||||||
@@ -51,9 +51,9 @@ export const Header = () => {
|
|||||||
/>
|
/>
|
||||||
<StyledLink href="/">
|
<StyledLink href="/">
|
||||||
<Box $align="center" $gap="1rem" $direction="row">
|
<Box $align="center" $gap="1rem" $direction="row">
|
||||||
<Image priority src={IconImpress} alt={t('Impress Logo')} />
|
<Image priority src={IconDocs} alt={t('Docs Logo')} />
|
||||||
<Text $margin="none" as="h2" $theme="primary">
|
<Text $margin="none" as="h2" $theme="primary">
|
||||||
{t('Impress')}
|
{t('Docs')}
|
||||||
</Text>
|
</Text>
|
||||||
</Box>
|
</Box>
|
||||||
</StyledLink>
|
</StyledLink>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
@@ -18,8 +18,8 @@ export default function App({ Component, pageProps }: AppPropsWithLayout) {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Head>
|
<Head>
|
||||||
<title>{t('Impress')}</title>
|
<title>{t('Docs')}</title>
|
||||||
<meta name="description" content={t('Impress Description')} />
|
<meta name="description" content={t('Docs Description')} />
|
||||||
<link rel="icon" href="/favicon.ico" sizes="any" />
|
<link rel="icon" href="/favicon.ico" sizes="any" />
|
||||||
</Head>
|
</Head>
|
||||||
<AppProvider>{getLayout(<Component {...pageProps} />)}</AppProvider>
|
<AppProvider>{getLayout(<Component {...pageProps} />)}</AppProvider>
|
||||||
|
|||||||
Reference in New Issue
Block a user