Skip to content

Commit ea0c7e7

Browse files
SaraVieiraCompuIves
authored andcommitted
Blog Page (codesandbox#1611)
* add structure * add things * need to reclone * add markdown as pages * add markdown to feed * no repeat css * make mobile * delete dummy post * delete rel * fix gatsby * add header * review fixes * Style tweaks * Font fallback
1 parent 9fda735 commit ea0c7e7

File tree

23 files changed

+1805
-386
lines changed

23 files changed

+1805
-386
lines changed

packages/app/src/app/pages/Profile/Header/UserInfo/Stats/Badges/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ function Badges({ badges, username }) {
1111
return (
1212
<Margin style={{ display: 'flex', alignItems: 'center' }} right={2}>
1313
<Link to={patronUrl()}>
14-
{badges.map(badge => (
15-
<Badge key={badge.id} badge={badge} size={64} />
16-
))}
14+
{badges.map(badge => <Badge key={badge.id} badge={badge} size={64} />)}
1715
</Link>
1816

1917
<ContributorsBadge

packages/app/src/app/pages/Sandbox/Editor/Header/ViewMode/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const ViewButton = styled.div`
2020
color: white;
2121
font-weight: 400;
2222
border-radius: 4px;
23-
font-family: 'Poppins';
23+
font-family: 'Poppins', sans-serif;
2424
2525
svg {
2626
height: 100%;

packages/app/src/app/pages/common/Modals/DeploymentModal/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ function DeploymentModal({ store, signals }) {
4949
<DeployText>Deploying sandbox...</DeployText>
5050
<DeployAnimationContainer deploying={store.deployment.deploying}>
5151
<StyledLogo width={70} height={70} />
52-
{[0, 1, 2, 3].map(i => (
53-
<StyledCube key={i} i={i} size={20} />
54-
))}
52+
{[0, 1, 2, 3].map(i => <StyledCube key={i} i={i} size={20} />)}
5553
<StyledNowLogo backgroundColor="#24282A" />
5654
</DeployAnimationContainer>
5755
</Margin>

packages/app/src/app/pages/common/Modals/ShareModal/elements.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export const Wrapper = styled.section`
7676
`;
7777

7878
export const SideTitle = styled.span`
79-
font-family: 'Poppins';
79+
font-family: 'Poppins', sans-serif;
8080
font-weight: bold;
8181
font-size: 20px;
8282
margin-top: 20px;

packages/app/src/embed/components/App/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ export default class App extends React.PureComponent<
9191
runOnClick,
9292
verticalMode = window.innerWidth < window.innerHeight,
9393
tabs,
94-
} = props.embedOptions || getSandboxOptions(document.location.href);
94+
} =
95+
props.embedOptions || getSandboxOptions(document.location.href);
9596

9697
this.state = {
9798
notFound: false,

packages/common/src/components/FeaturedSandbox/elements.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const SandboxInfo = styled.div`
7171

7272
export const Title = styled.h1`
7373
margin-bottom: 0.5em;
74-
font-family: 'Poppins';
74+
font-family: 'Poppins', sans-serif;
7575
font-weight: 600;
7676
font-size: 2.125em;
7777
display: -webkit-box;
@@ -83,7 +83,7 @@ export const Title = styled.h1`
8383

8484
export const Description = styled.p`
8585
color: ${theme.new.description};
86-
font-family: 'Poppins';
86+
font-family: 'Poppins', sans-serif;
8787
font-weight: 600;
8888
font-size: 1em;
8989
`;

packages/common/src/components/Navigation/index.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,7 @@ export default class Navigation extends React.PureComponent {
145145
<Item href="/explore">Explore</Item>
146146
<Item href="/docs">Docs</Item>
147147

148-
<Item
149-
href="https://medium.com/@compuives"
150-
target="_blank"
151-
rel="noopener noreferrer"
152-
>
153-
Blog
154-
</Item>
148+
<Item href="/blog">Blog</Item>
155149
<Item
156150
href="https://github.com/CompuIves/codesandbox-client"
157151
target="_blank"

packages/common/src/components/WideSandbox/elements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const Container = styled.div<{ small?: boolean; noMargin?: boolean }>`
5252

5353
export const SandboxTitle = styled.h2`
5454
color: ${props => props.color};
55-
font-family: 'Poppins';
55+
font-family: 'Poppins', sans-serif;
5656
font-size: 1rem;
5757
font-weight: 600;
5858
margin-bottom: 6px;

packages/dynamic-pages/pages/profile/_elements.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const More = styled.div`
3030
height: 100%;
3131
3232
a {
33-
font-family: 'Poppins';
33+
font-family: 'Poppins', sans-serif;
3434
font-size: 1rem;
3535
font-weight: 600;
3636
color: white;

packages/homepage/content/articles/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)