Skip to content

Commit 565ec44

Browse files
committed
feat(playground): add SpecLynx branding
1 parent bc2393a commit 565ec44

File tree

8 files changed

+22
-14
lines changed

8 files changed

+22
-14
lines changed

packages/apidom-playground/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="icon" href="/favicon.ico" />
5+
<link rel="icon" href="/assets/images/speclynx-logo.svg" type="image/svg+xml">
6+
<link rel="icon" href="/assets/images/speclynx-logo.png" type="image/png">
67
<meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width" />
78
<meta name="theme-color" content="#000000" />
89
<meta
910
name="description"
10-
content="ApiDOM playground"
11+
content="SpecLynxApiDOM playground"
1112
/>
12-
<link rel="apple-touch-icon" href="/logo192.png" />
13+
<link rel="apple-touch-icon" href="/assets/images/speclynx-logo.png" />
1314
<!--
1415
manifest.json provides metadata used when your web app is installed on a
1516
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
48.7 KB
Loading
Lines changed: 1 addition & 0 deletions
Loading
-3.78 KB
Binary file not shown.
-5.22 KB
Binary file not shown.
-9.44 KB
Binary file not shown.

packages/apidom-playground/public/manifest.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,15 @@
33
"name": "ApiDOM Playground for demonstrating apidom features visually",
44
"icons": [
55
{
6-
"src": "favicon.ico",
7-
"sizes": "64x64 32x32 24x24 16x16",
8-
"type": "image/x-icon"
9-
},
10-
{
11-
"src": "logo192.png",
6+
"src": "assets/images/speclynx-logo.png",
127
"type": "image/png",
13-
"sizes": "192x192"
8+
"sizes": "1100x1100"
149
},
1510
{
16-
"src": "logo512.png",
17-
"type": "image/png",
18-
"sizes": "512x512"
11+
"src": "assets/images/speclynx-logo.svg",
12+
"type": "image/svg+xml",
13+
"sizes": "any",
14+
"purpose": "any maskable"
1915
}
2016
],
2117
"start_url": ".",

packages/apidom-playground/src/playground/components/AppBar.jsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,29 @@ import React from 'react';
22
import MUIAppBar from '@mui/material/AppBar';
33
import Toolbar from '@mui/material/Toolbar';
44
import Typography from '@mui/material/Typography';
5+
import Box from '@mui/material/Box';
56
import { styled } from '@mui/material/styles';
7+
import speclynxLogo from '../../../public/assets/images/speclynx-logo.svg';
68

79
const StyledMUIAppBar = styled(MUIAppBar)(({ theme }) => {
810
return {
911
zIndex: theme.zIndex.drawer + 1,
1012
};
1113
});
1214

15+
const Logo = styled('img')({
16+
height: '40px',
17+
marginRight: '16px',
18+
});
19+
1320
const AppBar = () => {
1421
return (
1522
<StyledMUIAppBar position="sticky">
1623
<Toolbar>
17-
<Typography variant="h6">ApiDOM Playground</Typography>
24+
<Box sx={{ display: 'flex', alignItems: 'center' }}>
25+
<Logo src={speclynxLogo} alt="SpecLynx Logo" />
26+
<Typography variant="h6">ApiDOM Playground</Typography>
27+
</Box>
1828
</Toolbar>
1929
</StyledMUIAppBar>
2030
);

0 commit comments

Comments
 (0)