Merge branch 'feature/browser-brand'

This commit is contained in:
Yisroel Baum 2026-07-31 11:11:04 +03:00
commit 753203cdfb
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
4 changed files with 26 additions and 2 deletions

View file

@ -8,6 +8,15 @@ describe('guest authentication pages', () => {
cy.contains('a', 'Get started').should('have.attr', 'href', '/signup') cy.contains('a', 'Get started').should('have.attr', 'href', '/signup')
}) })
it('uses Attainly browser metadata', () => {
cy.visit('/')
cy.title().should('equal', 'Attainly')
cy.get('link[rel="icon"]')
.should('have.attr', 'type', 'image/svg+xml')
.and('have.attr', 'href', '/favicon.svg')
})
it('redirects guests away from the protected dashboard', () => { it('redirects guests away from the protected dashboard', () => {
cy.visit('/dashboard') cy.visit('/dashboard')

View file

@ -2,9 +2,9 @@
<html lang=""> <html lang="">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<link rel="icon" href="/favicon.ico"> <link rel="icon" type="image/svg+xml" href="/favicon.svg">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title> <title>Attainly</title>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

View file

@ -0,0 +1,15 @@
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 32 32"
>
<circle cx="16" cy="16" r="15" fill="#183a31" />
<circle cx="12.5" cy="19.2" r="5.2" fill="#c9da73" />
<circle
cx="20"
cy="12"
r="4.2"
fill="none"
stroke="#fffdf6"
stroke-width="2"
/>
</svg>

After

Width:  |  Height:  |  Size: 289 B