Skip to content

Commit 015da96

Browse files
committed
Update and added Thoughts page
1 parent fde3474 commit 015da96

File tree

11 files changed

+255
-191
lines changed

11 files changed

+255
-191
lines changed

.next/bundles/pages/_document.json

+1-1
Large diffs are not rendered by default.

.next/commons.js

+160-171
Large diffs are not rendered by default.

README.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11

2-
# prbsas personal website
2+
# prbsas personal website
3+
4+
The theme changes on click (font and background colors change)
5+
36

47
### Made with:
58

69
- react
710
- next.js
8-
- styled-components and theming
11+
- styled-components and theming
912

10-
Work in progress
13+
### Deployed with:
1114

15+
- now
1216

17+
Work in progress

components/About.js

+12-10
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Link from 'next/link'
44
import Wrapper from '../components/Wrapper'
55

66
const Name = styled.h2`
7-
font-weight: 100;
7+
font-weight: 500;
88
padding-left: 15px;
99
${media.phone`
1010
font-size: 24px;
@@ -14,7 +14,7 @@ const Name = styled.h2`
1414
`
1515

1616
const P = styled.p`
17-
font-weight: 100;
17+
font-weight: 500;
1818
padding-left: 15px;
1919
max-width: 60%;
2020
${media.phone`
@@ -27,7 +27,7 @@ const P = styled.p`
2727
`
2828

2929
const List = styled.p`
30-
font-weight: 100;
30+
font-weight: 500;
3131
font-size: 16px;
3232
padding-left: 15px;
3333
margin-top: 0;
@@ -41,12 +41,14 @@ const List = styled.p`
4141
export default () => (
4242
<Wrapper>
4343
<Name>Paula Ramirez Pitzen <strong>·</strong></Name>
44-
<P>I'm an architect and self-taught developer. I think of myself as a designer developer hybrid.</P>
45-
<P>For the past year I've been teaching myself how to code. I believe this has greatly sharpen my problem solving skills and my ability to learn while creating.</P>
46-
<P>I enjoy exploring solutions and believe design and development go together. The details make the design.</P>
47-
<P>Some of the <strong>skills</strong> I've developed are:</P>
48-
<List>· Html · CSS · Responsive Web Design </List>
49-
<List>· JavaScript · ES6 · ReactJS</List>
50-
<List>· Git · GitHub · RESTful API</List>
44+
<P>I'm an architect and web developer. I think of myself as a designer developer hybrid.</P>
45+
<P>For the past year I've been studying web development, while researching and experimenting with different languages, frameworks and tools. This has greatly sharpened my problem solving skills and my ability to learn while creating.</P>
46+
<P>I enjoy building solutions and believe design and development go together. The details make the design.</P>
47+
<P>My web development experience includes:</P>
48+
<List>· Html5 · CSS3 · Responsive Web Design </List>
49+
<List>· JavaScript · ES6 · React · styled-components · create-react-app</List>
50+
<List>· Ruby · OOP</List>
51+
<List>· Git · GitHub · APIs</List>
52+
<List>· Next.js · Now</List>
5153
</Wrapper>
5254
)

components/Footer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const MadeBy = styled.p`
2121
export default () => (
2222
<Wrapper>
2323
<MadeBy>This site was built with react, next.js and
24-
styled-components by <strong>prbsas · 2017</strong>
24+
styled-components. Deployed with now by <strong>prbsas · 2017</strong>
2525
</MadeBy>
2626
</Wrapper>
2727
)

components/Main.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const Title = styled.h1`
3131
`
3232
const Name = styled.h2`
3333
margin: 0 auto;
34-
font-weight: 100;
34+
font-weight: 500;
3535
padding-left: 15px;
3636
${media.phone`
3737
font-size: 24px;
@@ -40,7 +40,7 @@ const Name = styled.h2`
4040
`}
4141
`
4242
const Who = styled.p`
43-
font-weight: 100;
43+
font-weight: 500;
4444
margin-top: 0;
4545
padding-left: 15px;
4646
${media.phone`
@@ -55,7 +55,7 @@ export default ({ children }) => (
5555
<Wrapper>
5656
<Title>prbsas.</Title>
5757
<Name>Paula Ramirez Pitzen</Name>
58-
<Who>Architect and self-taught Frontend Developer based in NYC.</Who>
58+
<Who>Architect and Web Developer based in NYC.</Who>
5959
{ children }
6060
</Wrapper>
6161
)

components/Nav.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Wrapper from '../components/Wrapper'
66
const A = styled.a`
77
text-decoration: none;
88
color: inherit;
9-
font-weight: 400;
9+
font-weight: 500;
1010
padding-top: 20px;
1111
padding-left: 15px;
1212
padding-right: 10px;
@@ -39,5 +39,6 @@ export default () => (
3939
<A href='https://www.linkedin.com/in/pramirezpitzen' target='_blank' rel='noopener'>LinkedIn</A>
4040
<A href='mailto:paularamirezpitzen@gmail.com'>Email</A>
4141
<Link prefetch href='/about'><A>· About</A></Link>
42+
<Link prefetch href='/thoughts'><A>· Thoughts</A></Link>
4243
</Wrapper>
4344
)

components/Thoughts.js

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
import React from 'react'
2+
import styled from 'styled-components'
3+
import { media } from '../utils/styleUtils'
4+
import Link from 'next/link'
5+
import Wrapper from '../components/Wrapper'
6+
import { thoughts } from '../data/thoughts.json'
7+
8+
const Title = styled.h3`
9+
cursor: pointer;
10+
margin: 0 auto;
11+
font-size: 32px;
12+
font-weight: 400;
13+
14+
&:hover {
15+
font-weight: 800;
16+
}
17+
18+
${media.phone`
19+
padding-left: 50px;
20+
`}
21+
`
22+
23+
export default () => (
24+
<Wrapper>
25+
{
26+
thoughts.map(({ id, title }) => (
27+
<Thoughts
28+
id={id}
29+
key={id}
30+
title={title}
31+
/>
32+
))
33+
}
34+
</Wrapper>
35+
)
36+
37+
const Thoughts = ({ id, title }) => (
38+
<Link href={`/thoughts/${id}`}><Title>{ title }</Title></Link>
39+
)

data/projects.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"id": "personal-website",
9999
"title": "This website",
100100
"description": "This website was made with React and Next.js. It uses styled-components with theming. Click anywhere on the page and the theme changes. Deployed with Now.",
101-
"githubLink": "/",
101+
"githubLink": "https://github.com/PRbsas/prbsas",
102102
"demoLink": "/"
103103
}
104104
],

data/thoughts.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"thoughts": [
3+
{
4+
"id": "resources",
5+
"title": "Resources"
6+
},
7+
{
8+
"id": "how-I-built-this-website",
9+
"title": "How I built this website"
10+
},
11+
{
12+
"id": "another-post",
13+
"title": "Another post"
14+
}
15+
]
16+
}

pages/thoughts.js

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import React from 'react'
2+
import Head from 'next/head'
3+
import Page from '../components/Page'
4+
import Dot from '../components/Dot'
5+
import Thoughts from '../components/Thoughts'
6+
7+
export default () => (
8+
<Page>
9+
<Dot />
10+
<Thoughts />
11+
</Page>
12+
)

0 commit comments

Comments
 (0)