Merge branch 'feature/browser-brand'
This commit is contained in:
commit
753203cdfb
4 changed files with 26 additions and 2 deletions
|
|
@ -8,6 +8,15 @@ describe('guest authentication pages', () => {
|
|||
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', () => {
|
||||
cy.visit('/dashboard')
|
||||
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
<html lang="">
|
||||
<head>
|
||||
<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">
|
||||
<title>Vite App</title>
|
||||
<title>Attainly</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB |
15
frontend/website/public/favicon.svg
Normal file
15
frontend/website/public/favicon.svg
Normal 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 |
Loading…
Add table
Add a link
Reference in a new issue