Skip to content

Commit feface5

Browse files
author
Ives van Hoorne
committed
Tweaks
1 parent e543cb9 commit feface5

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

src/app/components/Switch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const Dot = styled.div`
3636
left: 0.1rem;
3737
border-radius: 4px;
3838
transform: translateX(${props => props.right ? 'calc(2rem + 2px)' : '0'});
39-
top: calc(0.1rem);
39+
top: ${({ small }) => small ? `calc(0.1rem + 1px)` : `calc(0.1rem)`};
4040
background-color: white;
4141
box-shadow: 0 0 4px rgba(0,0,0,0.2);
4242
`;

src/app/pages/SandboxView/Sandbox/Editor/Content/Header/index.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ const Logo = styled.h1`
4040
vertical-align: middle;
4141
width: 100%;
4242
font-weight: 400;
43-
text-decoration: none;
44-
color: white;
43+
a {
44+
text-decoration: none;
45+
color: white;
46+
}
4547
left: 0; right: 0;
4648
`;
4749

@@ -143,7 +145,7 @@ export default class Header extends React.PureComponent {
143145
<Action title="Import" Icon={Import} placeholder="Coming soon!" />
144146
</Left>
145147

146-
<Logo>CodeSandbox</Logo>
148+
<Logo title="CodeSandbox"><a href="/">CodeSandbox</a></Logo>
147149

148150
<Right>
149151
<Tooltip message="Editor view">

src/homepage/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ <h3>Example projects</h3>
132132
</section>
133133

134134
<section class="about">
135-
By <a target="_blank" href="https://ivesvh.com">Ives van Hoorne</a> and Bas Buursma
135+
By <a target="_blank" href="https://ivesvh.com">Ives van Hoorne</a> and <a target="_blank" rel="nofollow" href="https://www.linkedin.com/in/bas-buursma-b904a3139/">Bas Buursma</a>
136136
</section>
137137

138138
<script>

0 commit comments

Comments
 (0)