@t2ca/gatsby-theme-showcase 1.0.106 → 1.0.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/components/card.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from "react"
|
|
3
|
-
import { jsx,
|
|
3
|
+
import { jsx, Themed } from "theme-ui"
|
|
4
4
|
import Button from "./button"
|
|
5
5
|
|
|
6
6
|
export default (props) => (
|
|
7
|
-
<
|
|
7
|
+
<Themed.li>
|
|
8
8
|
<span
|
|
9
9
|
sx={{
|
|
10
10
|
svg: {
|
|
@@ -21,5 +21,5 @@ export default (props) => (
|
|
|
21
21
|
{props.button ? (
|
|
22
22
|
<Button type={props.buttonType}>{props.button}</Button>
|
|
23
23
|
) : null}
|
|
24
|
-
</
|
|
24
|
+
</Themed.li>
|
|
25
25
|
)
|
package/src/components/hero.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from "react"
|
|
3
|
-
import { jsx,
|
|
3
|
+
import { jsx, Themed, Container, Flex } from "theme-ui"
|
|
4
4
|
import { motion } from "framer-motion"
|
|
5
5
|
|
|
6
6
|
export default ({
|
|
@@ -47,15 +47,15 @@ export default ({
|
|
|
47
47
|
// flex: `1 0 0`,
|
|
48
48
|
}}
|
|
49
49
|
>
|
|
50
|
-
<
|
|
50
|
+
<Themed.h1 sx={{ fontSize: [6, 7], fontWeight: `extrabold` }}>
|
|
51
51
|
{headingTop}
|
|
52
|
-
</
|
|
53
|
-
<
|
|
52
|
+
</Themed.h1>
|
|
53
|
+
<Themed.h1 sx={{ fontSize: [6, 7], fontWeight: `extrabold` }}>
|
|
54
54
|
{headingMiddle}
|
|
55
|
-
</
|
|
56
|
-
<
|
|
55
|
+
</Themed.h1>
|
|
56
|
+
<Themed.h1 sx={{ fontSize: [6, 7], fontWeight: `extrabold` }}>
|
|
57
57
|
{headingBottom}
|
|
58
|
-
</
|
|
58
|
+
</Themed.h1>
|
|
59
59
|
</Flex>
|
|
60
60
|
<Flex
|
|
61
61
|
sx={{
|
|
@@ -74,14 +74,14 @@ export default ({
|
|
|
74
74
|
</Flex>
|
|
75
75
|
</Flex>
|
|
76
76
|
<div sx={{ width: [`5/6`, `2/3`] }}>
|
|
77
|
-
<
|
|
77
|
+
<Themed.p
|
|
78
78
|
sx={{ fontSize: [1, 2], py: 4, lineHeight: 2.5, color: color }}
|
|
79
79
|
>
|
|
80
80
|
Partnering with us is a journey and not just a single
|
|
81
81
|
transaction. While working together we will help you navigate
|
|
82
82
|
the dynamic digital landscape and help you get ahead of your
|
|
83
83
|
competitors.
|
|
84
|
-
</
|
|
84
|
+
</Themed.p>
|
|
85
85
|
</div>
|
|
86
86
|
</motion.div>
|
|
87
87
|
</Container>
|
package/src/components/layout.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useState } from "react"
|
|
3
|
-
import { jsx,
|
|
3
|
+
import { jsx, Themed, Alert } from "theme-ui"
|
|
4
4
|
import { Global } from "@emotion/react"
|
|
5
5
|
import { Helmet } from "react-helmet"
|
|
6
6
|
|
|
@@ -13,7 +13,7 @@ const Layout = ({ header, main, children, banner }) => {
|
|
|
13
13
|
const [menuOpen, setMenuOpen] = useState(false)
|
|
14
14
|
|
|
15
15
|
return (
|
|
16
|
-
<
|
|
16
|
+
<Themed.root>
|
|
17
17
|
<Global
|
|
18
18
|
styles={{
|
|
19
19
|
html: {
|
|
@@ -44,7 +44,7 @@ const Layout = ({ header, main, children, banner }) => {
|
|
|
44
44
|
</div>
|
|
45
45
|
|
|
46
46
|
<MobileNavigation />
|
|
47
|
-
</
|
|
47
|
+
</Themed.root>
|
|
48
48
|
)
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import React from "react"
|
|
2
2
|
import { Link } from "gatsby"
|
|
3
|
-
import {
|
|
3
|
+
import { Themed, Container } from "theme-ui"
|
|
4
4
|
|
|
5
5
|
const ProjectList = ({ projects }) => (
|
|
6
6
|
<Container>
|
|
7
|
-
<
|
|
8
|
-
<
|
|
9
|
-
{projects.map(project => (
|
|
10
|
-
<
|
|
11
|
-
<
|
|
7
|
+
<Themed.h1>Projects</Themed.h1>
|
|
8
|
+
<Themed.ul>
|
|
9
|
+
{projects.map((project) => (
|
|
10
|
+
<Themed.li key={project.id}>
|
|
11
|
+
<Themed.a as={Link} to={project.slug}>
|
|
12
12
|
{project.title}
|
|
13
|
-
</
|
|
14
|
-
</
|
|
13
|
+
</Themed.a>
|
|
14
|
+
</Themed.li>
|
|
15
15
|
))}
|
|
16
|
-
</
|
|
16
|
+
</Themed.ul>
|
|
17
17
|
</Container>
|
|
18
18
|
)
|
|
19
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from "react"
|
|
3
|
-
import {
|
|
3
|
+
import { Themed, jsx, Container } from "theme-ui"
|
|
4
4
|
import { Link } from "gatsby"
|
|
5
5
|
import Img from "gatsby-image"
|
|
6
6
|
|
|
@@ -26,11 +26,11 @@ const Project = (data) => {
|
|
|
26
26
|
animate={{ opacity: 1, y: 0 }}
|
|
27
27
|
transition={{ duration: 0.5 }}
|
|
28
28
|
>
|
|
29
|
-
<
|
|
29
|
+
<Themed.a as={Link} to="/projects/">
|
|
30
30
|
<FaArrowLeft size={12} sx={{ marginRight: ".25rem" }} />
|
|
31
31
|
Back to showcase
|
|
32
|
-
</
|
|
33
|
-
<
|
|
32
|
+
</Themed.a>
|
|
33
|
+
<Themed.h1>{data.title}</Themed.h1>
|
|
34
34
|
</motion.div>
|
|
35
35
|
|
|
36
36
|
<motion.div
|