Skip to content

Commit 06c8e03

Browse files
committed
Fix avatar linking on homepage
1 parent 68cbb0a commit 06c8e03

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

packages/homepage/src/components/Button.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ const styles = css`
66
border-radius: 0.25rem;
77
border: none;
88
font-family: ${props => props.theme.homepage.appleFont};
9-
font-size: 0.8125rem;
9+
font-size: 0.8125em;
1010
line-height: 19px;
1111
text-align: center;
12-
padding: 4px 21px;
12+
padding: 2px 21px;
1313
font-weight: 500;
1414
text-decoration: none;
1515
color: ${props => props.theme.homepage.white} !important;

packages/homepage/src/components/Navigation/index.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,13 @@ const Navigation = () => {
166166
Create Sandbox
167167
</Button>
168168
{user && (
169-
<UserAvatar
170-
className="tablet-remove"
171-
src={user.avatar_url}
172-
alt={user.username}
173-
/>
169+
<a style={{ display: 'flex' }} href="/dashboard">
170+
<UserAvatar
171+
className="tablet-remove"
172+
src={user.avatar_url}
173+
alt={user.username}
174+
/>
175+
</a>
174176
)}
175177
</LogIn>
176178
</List>

packages/homepage/src/pages/ide/_elements.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ export const CreateSandbox = styled(Button)`
1818
top: 220px;
1919
z-index: 2;
2020
margin: auto;
21+
font-size: 0.875rem;
22+
padding: 10px 25px;
2123
2224
${props => props.theme.breakpoints.md} {
2325
top: 2.5rem;

0 commit comments

Comments
 (0)