Merge pull request #4466 from penpot/azazeln28-fix-seo-issues

📎 Fix SEO issues
This commit is contained in:
Alejandro 2024-04-19 09:27:27 +02:00 committed by GitHub
commit 89fa8ce66e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 11 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Before After
Before After

View file

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="en">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" /> <meta http-equiv="x-ua-compatible" content="ie=edge" />

View file

@ -48,7 +48,8 @@
(dom/set-html-title (tr "title.default"))) (dom/set-html-title (tr "title.default")))
[:main {:class (stl/css :auth-section)} [:main {:class (stl/css :auth-section)}
[:a {:href "#/" :class (stl/css :logo-btn)} i/logo] [:h1 {:class (stl/css :logo-container)}
[:a {:href "#/" :title "Penpot" :class (stl/css :logo-btn)} i/logo]]
[:div {:class (stl/css :login-illustration)} [:div {:class (stl/css :login-illustration)}
i/login-illustration] i/login-illustration]

View file

@ -24,6 +24,16 @@
} }
} }
.logo-container {
position: absolute;
top: $s-20;
left: $s-20;
display: flex;
justify-content: flex-start;
width: $s-120;
margin-block-end: $s-52;
}
.login-illustration { .login-illustration {
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -55,14 +65,6 @@
} }
.logo-btn { .logo-btn {
position: absolute;
top: $s-20;
left: $s-20;
display: flex;
justify-content: flex-start;
width: $s-120;
margin-block-end: $s-52;
svg { svg {
width: $s-120; width: $s-120;
height: $s-40; height: $s-40;