Skip to content

Commit 93000a4

Browse files
author
DavertMik
committed
added new logo
1 parent 4e883ef commit 93000a4

34 files changed

Lines changed: 519 additions & 292 deletions

astro.config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,12 @@ export default defineConfig({
162162
disable404Route: true,
163163
title: '',
164164
favicon: '/favicon.svg',
165+
logo: {
166+
light: './src/assets/logo-light.svg',
167+
dark: './src/assets/logo-dark.svg',
168+
replacesTitle: true,
169+
alt: 'CodeceptJS',
170+
},
165171
social: [
166172
{icon: 'github', label: 'GitHub', href: 'https://github.com/codeceptjs/CodeceptJS'},
167173
],
@@ -260,6 +266,7 @@ export default defineConfig({
260266
items: [
261267
{label: 'Tutorial', link: 'tutorial'},
262268
{label: 'Cheatsheet', link: 'cheatsheet'},
269+
{label: 'Media Kit', link: 'media-kit'},
263270
{label: 'Release Notes', link: 'release'},
264271
],
265272
},
@@ -341,6 +348,7 @@ export default defineConfig({
341348
link: '/blog/codeceptjs-4/',
342349
items: [
343350
{label: 'Blog', autogenerate: {directory: 'blog/'}},
351+
{label: 'Releases', link: 'release'},
344352
],
345353
},
346354
], {

docsearch.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
{
22
"start_urls": [
33
{
4-
"url": "https://codeceptjs4.vercel.app/web-api",
4+
"url": "https://codecept.io/web-api",
55
"page_rank": 5
66
},
77
{
8-
"url": "https://codeceptjs4.vercel.app/mobile-api",
8+
"url": "https://codecept.io/mobile-api",
99
"page_rank": 4
1010
},
1111
{
12-
"url": "https://codeceptjs4.vercel.app/helpers/playwright",
12+
"url": "https://codecept.io/helpers/playwright",
1313
"page_rank": 1
1414
},
1515
{
16-
"url": "https://codeceptjs4.vercel.app/helpers/web-driver",
16+
"url": "https://codecept.io/helpers/web-driver",
1717
"page_rank": 1
1818
},
1919
{
20-
"url": "https://codeceptjs4.vercel.app/helpers/appium",
20+
"url": "https://codecept.io/helpers/appium",
2121
"page_rank": 1
2222
},
2323
{
24-
"url": "https://codeceptjs4.vercel.app/helpers/puppeteer",
24+
"url": "https://codecept.io/helpers/puppeteer",
2525
"page_rank": 1
2626
},
2727
{
28-
"url": "https://codeceptjs4.vercel.app/helpers/detox",
28+
"url": "https://codecept.io/helpers/detox",
2929
"page_rank": 1
3030
},
31-
"https://codeceptjs4.vercel.app"
31+
"https://codecept.io"
3232
],
3333
"index_uid": "codeceptjs",
3434
"stop_urls": [
35-
"https://codeceptjs4\\.vercel\\.app/.+/$"
35+
"https://codecept\\.io/.+/$"
3636
],
3737
"selectors_exclude": [
3838
".search-strip"

public/apple-touch-icon.png

13.7 KB
Loading

public/favicon-192.png

14.9 KB
Loading

public/favicon-512.png

45.1 KB
Loading

public/favicon.ico

24.9 KB
Binary file not shown.

public/favicon.svg

Lines changed: 6 additions & 1 deletion
Loading

public/logo/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# CodeceptJS brand assets
2+
3+
Source logo files. `yellow` is the primary brand color (honey gold `#F2A900`);
4+
`violet` (`#CD94FF`) is an alternate set.
5+
6+
| File | Use |
7+
| --- | --- |
8+
| `logo-light.svg` | Full logo, dark text — for **light** backgrounds |
9+
| `logo-dark.svg` | Full logo, white text — for **dark** backgrounds |
10+
| `logo-violet-light.svg` / `logo-violet-dark.svg` | Violet alternates |
11+
| `icon.svg` | Icon mark only (yellow) |
12+
| `icon-violet.svg` | Icon mark only (violet) |
13+
| `favicon.ico` | Multi-resolution favicon (yellow) |
14+
| `favicon-violet.ico` | Multi-resolution favicon (violet) |
15+
16+
Every logo and icon also ships as a `.png` next to its `.svg` — full logos at
17+
1200px wide, icons at 512×512, transparent background. Regenerate them from the
18+
SVGs with ImageMagick (`magick -background none -density 600 logo-light.svg
19+
-resize 1200x logo-light.png`).
20+
21+
Where they are wired in:
22+
23+
- Header logo — `logo-light.svg` / `logo-dark.svg` are copied to `src/assets/`
24+
and set as the Starlight `logo` in `astro.config.mjs`.
25+
- Favicon — `icon.svg``public/favicon.svg`, `favicon.ico``public/favicon.ico`.
26+
- Touch / PWA icons — `public/apple-touch-icon.png`, `public/favicon-192.png`,
27+
`public/favicon-512.png` are generated from `icon.svg`.
28+
- Social preview — `public/og-image.png` is composed from `logo-dark.svg`.

public/logo/favicon-violet.ico

24.4 KB
Binary file not shown.

public/logo/favicon.ico

24.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)