💬(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'),
|
||||
).toBeVisible();
|
||||
|
||||
await expect(header.getByAltText('Impress Logo')).toBeVisible();
|
||||
await expect(header.locator('h2').getByText('Impress')).toHaveCSS(
|
||||
await expect(header.getByAltText('Docs Logo')).toBeVisible();
|
||||
await expect(header.locator('h2').getByText('Docs')).toHaveCSS(
|
||||
'color',
|
||||
'rgb(0, 0, 145)',
|
||||
);
|
||||
await expect(header.locator('h2').getByText('Impress')).toHaveCSS(
|
||||
await expect(header.locator('h2').getByText('Docs')).toHaveCSS(
|
||||
'font-family',
|
||||
/Marianne/i,
|
||||
);
|
||||
|
||||
@@ -10,7 +10,7 @@ import { LanguagePicker } from '../language/';
|
||||
|
||||
import { AccountDropdown } from './AccountDropdown';
|
||||
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';
|
||||
|
||||
@@ -51,9 +51,9 @@ export const Header = () => {
|
||||
/>
|
||||
<StyledLink href="/">
|
||||
<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">
|
||||
{t('Impress')}
|
||||
{t('Docs')}
|
||||
</Text>
|
||||
</Box>
|
||||
</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 (
|
||||
<>
|
||||
<Head>
|
||||
<title>{t('Impress')}</title>
|
||||
<meta name="description" content={t('Impress Description')} />
|
||||
<title>{t('Docs')}</title>
|
||||
<meta name="description" content={t('Docs Description')} />
|
||||
<link rel="icon" href="/favicon.ico" sizes="any" />
|
||||
</Head>
|
||||
<AppProvider>{getLayout(<Component {...pageProps} />)}</AppProvider>
|
||||
|
||||
Reference in New Issue
Block a user