## Summary Closes #30. - Replace old infinity brand mark with the cyan Greek-key (meander) Hesychia emblem - Update web favicons / PWA icons (`public/`), Capacitor source art (`assets/`), and regenerate Android launcher + splash densities - Wire mark into Header / Header2, Sign In / Sign Up, and Sidenav branding ## Test plan - [ ] Favicon + apple-touch icon show new mark in browser tab / home screen - [ ] Header and auth screens show mark + Hesychia wordmark - [ ] `npm run assets:generate` already run; Android launcher / splash use new art - [ ] Old infinity artwork no longer present in `assets/` / `public/` brand slotsReviewed-on: #46
@@ -50,7 +50,14 @@ Bump both before each store release.
|
||||
|
||||
## Icons / splash
|
||||
|
||||
Source art lives in `llm-fe/assets/` (`icon.png`, `splash.png`, `splash-dark.png`). Regenerate Android densities:
|
||||
Source art lives in `llm-fe/assets/`:
|
||||
- `icon.png` / `splash.png` / `splash-dark.png` — Capacitor inputs (Hesychia meander mark)
|
||||
- `logo-source.png` — cropped square master
|
||||
- `logo-mark-transparent.png` — circular mark with transparent corners (web / in-app)
|
||||
|
||||
In-app UI also imports `src/llm-fe/assets/brand/hesychia-mark.png`.
|
||||
|
||||
Regenerate Android densities after changing source art:
|
||||
|
||||
```bash
|
||||
npm run assets:generate
|
||||
|
||||
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 184 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 184 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 427 KiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 643 KiB |
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 894 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 427 KiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 643 KiB |
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 894 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 178 KiB |
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 178 KiB |
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 412 KiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 622 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 874 KiB |
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 412 KiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 622 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 874 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 837 B After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 119 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 201 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 171 KiB After Width: | Height: | Size: 723 KiB |
|
After Width: | Height: | Size: 872 KiB |
|
After Width: | Height: | Size: 697 KiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 549 B After Width: | Height: | Size: 588 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 7.1 KiB |
|
After Width: | Height: | Size: 278 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 205 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 91 KiB |
@@ -7,6 +7,8 @@ import { applyAccessToken, axiosInstance } from '../../../axiosApi';
|
||||
import { clearTokens, getRefreshToken } from '../../auth/tokenStorage';
|
||||
import MenuIcon from '@mui/icons-material/Menu';
|
||||
import { AccountBox, Dashboard, Feedback, Logout } from '@mui/icons-material';
|
||||
import Box from '@mui/material/Box';
|
||||
import hesychiaMark from '../../assets/brand/hesychia-mark.png';
|
||||
|
||||
type HeaderProps = {
|
||||
drawerWidth?: number;
|
||||
@@ -66,9 +68,12 @@ const Header = ({drawerWidth=0, handleDrawerToggle}: HeaderProps): JSX.Element =
|
||||
}
|
||||
{isLargeScreen ? (
|
||||
<>
|
||||
<Typography variant="h6" style={{ flexGrow: 1 }} className='text-white font-weight-bold'>
|
||||
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1, flexGrow: 1 }}>
|
||||
<Box component="img" src={hesychiaMark} alt="" sx={{ width: 28, height: 28, borderRadius: '50%' }} />
|
||||
<Typography variant="h6" className='text-white font-weight-bold'>
|
||||
Hesychia
|
||||
</Typography >
|
||||
</Typography>
|
||||
</Box>
|
||||
<Button color="inherit" onClick={handleDashboardClick}>
|
||||
Dashboard</Button>
|
||||
|
||||
@@ -80,9 +85,12 @@ const Header = ({drawerWidth=0, handleDrawerToggle}: HeaderProps): JSX.Element =
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<Typography variant="h6" style={{ flexGrow: 1 }} className='text-white font-weight-bold'>
|
||||
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1, flexGrow: 1 }}>
|
||||
<Box component="img" src={hesychiaMark} alt="" sx={{ width: 28, height: 28, borderRadius: '50%' }} />
|
||||
<Typography variant="h6" className='text-white font-weight-bold'>
|
||||
Hesychia
|
||||
</Typography >
|
||||
</Typography>
|
||||
</Box>
|
||||
<IconButton color="inherit" onClick={handleDashboardClick}>
|
||||
<Dashboard />
|
||||
</IconButton>
|
||||
|
||||
@@ -5,6 +5,7 @@ import { AuthContext } from '../../contexts/AuthContext';
|
||||
import { AccountContext } from '../../contexts/AccountContext';
|
||||
import { applyAccessToken, axiosInstance } from '../../../axiosApi';
|
||||
import { clearTokens, getRefreshToken } from '../../auth/tokenStorage';
|
||||
import hesychiaMark from '../../assets/brand/hesychia-mark.png';
|
||||
|
||||
const HeaderContainer = styled.header`
|
||||
position: absolute;
|
||||
@@ -22,10 +23,24 @@ const HeaderContainer = styled.header`
|
||||
`;
|
||||
|
||||
const Logo = styled.div`
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.65rem;
|
||||
cursor: pointer;
|
||||
`;
|
||||
|
||||
const LogoMark = styled.img`
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
display: block;
|
||||
border-radius: 50%;
|
||||
`;
|
||||
|
||||
const LogoWordmark = styled.h4`
|
||||
margin: 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: ${({ theme }) => theme.colors.text};
|
||||
cursor: pointer;
|
||||
background: ${({ theme }) => `linear-gradient(135deg, ${theme.main} 0%, ${theme.focus} 100%)`};
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
@@ -150,8 +165,8 @@ const Header2 = ({ absolute = false, light = false, isMini = false }: Header2Pro
|
||||
return (
|
||||
<HeaderContainer>
|
||||
<Logo onClick={() => navigate('/')}>
|
||||
<h4>Hesychia</h4>
|
||||
|
||||
<LogoMark src={hesychiaMark} alt="" />
|
||||
<LogoWordmark>Hesychia</LogoWordmark>
|
||||
</Logo>
|
||||
|
||||
{/* Desktop Nav */}
|
||||
|
||||
@@ -12,6 +12,7 @@ import SsoButtons, { OAuthProviderFlags } from '../../components/SsoButtons/SsoB
|
||||
import { AnalyticsEvents, identifyAccount, trackEvent } from '../../utils/analytics';
|
||||
import styled from 'styled-components';
|
||||
import * as Yup from 'yup';
|
||||
import hesychiaMark from '../../assets/brand/hesychia-mark.png';
|
||||
|
||||
// Styled Components
|
||||
const PageContainer = styled.div`
|
||||
@@ -55,6 +56,13 @@ const CardTitle = styled.h2`
|
||||
text-align: center;
|
||||
`;
|
||||
|
||||
const BrandMark = styled.img`
|
||||
width: 4rem;
|
||||
height: 4rem;
|
||||
margin-bottom: 1.25rem;
|
||||
border-radius: 50%;
|
||||
`;
|
||||
|
||||
const StyledInput = styled.input`
|
||||
width: 100%;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
@@ -235,6 +243,7 @@ const SignIn = (): JSX.Element => {
|
||||
<ParticleBackground />
|
||||
<ContentWrapper>
|
||||
<GlassCard>
|
||||
<BrandMark src={hesychiaMark} alt="Hesychia" />
|
||||
<CardTitle>Sign In</CardTitle>
|
||||
{errorMessage && <ErrorMessage>{errorMessage}</ErrorMessage>}
|
||||
<Formik
|
||||
|
||||
@@ -12,6 +12,7 @@ import SsoButtons, { OAuthProviderFlags } from '../../components/SsoButtons/SsoB
|
||||
import { AnalyticsEvents, identifyAccount, trackEvent } from '../../utils/analytics';
|
||||
import styled from 'styled-components';
|
||||
import * as Yup from 'yup';
|
||||
import hesychiaMark from '../../assets/brand/hesychia-mark.png';
|
||||
|
||||
const PageContainer = styled.div`
|
||||
position: relative;
|
||||
@@ -54,6 +55,13 @@ const CardTitle = styled.h2`
|
||||
text-align: center;
|
||||
`;
|
||||
|
||||
const BrandMark = styled.img`
|
||||
width: 4rem;
|
||||
height: 4rem;
|
||||
margin-bottom: 1.25rem;
|
||||
border-radius: 50%;
|
||||
`;
|
||||
|
||||
const CardSubtitle = styled.p`
|
||||
color: rgba(255, 255, 255, 0.65);
|
||||
text-align: center;
|
||||
@@ -279,6 +287,7 @@ const SignUp = (): JSX.Element => {
|
||||
<ParticleBackground />
|
||||
<ContentWrapper>
|
||||
<GlassCard>
|
||||
<BrandMark src={hesychiaMark} alt="Hesychia" />
|
||||
<CardTitle>Sign Up</CardTitle>
|
||||
<CardSubtitle>Loading…</CardSubtitle>
|
||||
</GlassCard>
|
||||
@@ -293,6 +302,7 @@ const SignUp = (): JSX.Element => {
|
||||
<ParticleBackground />
|
||||
<ContentWrapper>
|
||||
<GlassCard>
|
||||
<BrandMark src={hesychiaMark} alt="Hesychia" />
|
||||
<CardTitle>Sign Up</CardTitle>
|
||||
<ErrorMessage>Self-serve registration is not available right now.</ErrorMessage>
|
||||
<NavLink to="/signin/">Already have an account? Sign in</NavLink>
|
||||
@@ -307,6 +317,7 @@ const SignUp = (): JSX.Element => {
|
||||
<ParticleBackground />
|
||||
<ContentWrapper>
|
||||
<GlassCard>
|
||||
<BrandMark src={hesychiaMark} alt="Hesychia" />
|
||||
<CardTitle>Sign Up</CardTitle>
|
||||
<CardSubtitle>Create an account, then complete payment on Stripe.</CardSubtitle>
|
||||
{errorMessage && <ErrorMessage>{errorMessage}</ErrorMessage>}
|
||||
|
||||
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 60 KiB |
@@ -209,7 +209,16 @@ function Sidenav({ color, brand, brandName, routes, ...rest }) {
|
||||
</MDTypography>
|
||||
</MDBox>
|
||||
<MDBox display="flex" alignItems="center">
|
||||
|
||||
{brand && (
|
||||
<MDBox
|
||||
component="img"
|
||||
src={brand}
|
||||
alt={brandName}
|
||||
width="1.75rem"
|
||||
mr={miniSidenav ? 0 : 1}
|
||||
sx={{ borderRadius: "50%" }}
|
||||
/>
|
||||
)}
|
||||
<MDBox
|
||||
width={!brandName && "100%"}
|
||||
sx={(theme) => sidenavLogoLabel(theme, { miniSidenav })}
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 841.9 595.3"><g fill="#61DAFB"><path d="M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z"/><circle cx="420.9" cy="296.5" r="45.7"/><path d="M520.5 78.1z"/></g></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="Hesychia">
|
||||
<!-- Raster mark is canonical; this SVG is a simple stand-in for CRA default logo.svg -->
|
||||
<circle cx="128" cy="128" r="118" fill="#000"/>
|
||||
<circle cx="128" cy="128" r="70" fill="#75c0c5"/>
|
||||
<circle cx="128" cy="128" r="100" fill="none" stroke="#75c0c5" stroke-width="6"/>
|
||||
<circle cx="128" cy="128" r="88" fill="none" stroke="#75c0c5" stroke-width="14" stroke-dasharray="18 10"/>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 490 B |