19 |
20 | );
21 |
22 | export default CustomerCard;
23 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Gatsby Lander
2 |
3 | This is an experimental starter built using [gatsby-theme-codebushi](https://github.com/codebushi/gatsby-theme-codebushi), a theme which uses [Tailwind CSS](https://tailwindcss.com/).
4 |
5 | Check out https://codebushi.com/gatsby-starters-and-themes/ for more Gatsby starters and templates.
6 |
7 | ## Preview
8 |
9 | https://gatsby-lander.surge.sh/
10 |
11 | ## Installation
12 |
13 | Install this starter (assuming Gatsby is installed) by running from your CLI:
14 |
15 | `gatsby new gatsby-starter-lander https://github.com/codebushi/gatsby-starter-lander`
16 |
17 | Run `gatsby develop` in the terminal to start the dev site.
18 |
19 | ## Notes
20 |
21 | These libraries do not yet fully support the upgrade to Gatsby 3.x:
22 | * gatsby-plugin-react-helmet
23 | * gatsby-plugin-emotion
24 | * gatsby-plugin-postcss
25 | * gatsby-theme-codebushi
26 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 | SOFTWARE.
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "gatsby-starter-lander",
3 | "author": "Hunter Chang",
4 | "repository": "https://github.com/codebushi/gatsby-starter-lander",
5 | "version": "1.1.0",
6 | "license": "MIT",
7 | "scripts": {
8 | "develop": "gatsby develop",
9 | "build": "gatsby build",
10 | "start": "gatsby develop",
11 | "serve": "gatsby serve",
12 | "clean": "gatsby clean"
13 | },
14 | "dependencies": {
15 | "gatsby": "^4.0.0",
16 | "gatsby-plugin-emotion": "^7.0.0",
17 | "gatsby-theme-codebushi": "^1.0.0",
18 | "postcss": "^8.3.8",
19 | "react": "^17.0.1",
20 | "react-anchor-link-smooth-scroll": "^1.0.12",
21 | "react-dom": "^17.0.1"
22 | },
23 | "devDependencies": {
24 | "eslint": "^7.21.0",
25 | "eslint-config-airbnb": "^18.0.1",
26 | "eslint-config-prettier": "^8.1.0",
27 | "eslint-plugin-import": "^2.19.1",
28 | "eslint-plugin-jsx-a11y": "^6.2.3",
29 | "eslint-plugin-prettier": "^3.1.2",
30 | "eslint-plugin-react": "^7.17.0",
31 | "eslint-plugin-react-hooks": "^4.2.0",
32 | "prettier": "^2.2.1"
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/src/data/customer-data.js:
--------------------------------------------------------------------------------
1 | export default [
2 | {
3 | title: 'Lorem ipsum dolor sit amet, consectetur adipiscing',
4 | content:
5 | 'Eu lobortis elementum nibh tellus molestie nunc non blandit massa. Sit amet consectetur adipiscing elit duis.',
6 | customerName: 'Jane Doe',
7 | customerTitle: 'Director of Research and Data',
8 | customerImage: 'https://placeimg.com/150/150/people'
9 | },
10 | {
11 | title: 'Lorem ipsum dolor sit amet, consectetur adipiscing',
12 | content:
13 | 'Eu lobortis elementum nibh tellus molestie nunc non blandit massa. Sit amet consectetur adipiscing elit duis.',
14 | customerName: 'John Doe',
15 | customerTitle: 'Director of Research and Data',
16 | customerImage: 'https://placeimg.com/150/150/people'
17 | },
18 | {
19 | title: 'Lorem ipsum dolor sit amet, consectetur adipiscing',
20 | content:
21 | 'Eu lobortis elementum nibh tellus molestie nunc non blandit massa. Sit amet consectetur adipiscing elit duis.',
22 | customerName: 'Jane Smith',
23 | customerTitle: 'Director of Research and Data',
24 | customerImage: 'https://placeimg.com/150/150/people'
25 | }
26 | ];
27 |
--------------------------------------------------------------------------------
/src/components/layout/Header.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import AnchorLink from 'react-anchor-link-smooth-scroll';
3 | import LogoIcon from '../../svg/LogoIcon';
4 | import Button from '../Button';
5 |
6 | const Header = () => (
7 |
8 |