Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

completed: https://github.com/oscghana/oscghana-website/issues/10#iss… #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"gatsby-image": "^2.2.34",
"gatsby-plugin-manifest": "^2.2.31",
"gatsby-plugin-offline": "^3.0.27",
"gatsby-plugin-postcss": "^2.1.18",
"gatsby-plugin-postcss": "^2.1.19",
"gatsby-plugin-react-helmet": "^3.1.16",
"gatsby-plugin-sharp": "^2.3.5",
"gatsby-source-filesystem": "^2.1.40",
Expand Down
8 changes: 8 additions & 0 deletions src/components/Button.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from "react"
import "../styles/components.css"

const Button = ({ className, children }) => (
<button className={className}>{children}</button>
)

export default Button
8 changes: 8 additions & 0 deletions src/components/Image.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from "react"
import "../styles/global.css"

const Image = ({ imageItem, alt }) => (
<img className="header__osc-logo" src={imageItem} alt={alt} />
)

export default Image
1 change: 1 addition & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from "react"
import Ghana from "../images/home/ghana.svg"

const IndexPage = () => {
return <div></div>
return (
<div>
{/* A demo display text, delete before actual development */}
Expand Down
24 changes: 24 additions & 0 deletions src/styles/components.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.primary-button {
width: 200px;
height: 70px;
text-align: center;
letter-spacing: 0;
opacity: 1;
background: #3da739 0% 0% no-repeat padding-box;
box-shadow: 0px 1px 4px #00000029;
color: #ffffff;
border-radius: 5px;
font: 20px "Poppins";
}
.secondary-button {
width: 200px;
height: 70px;
text-align: center;
letter-spacing: 0;
opacity: 1;
box-shadow: 0px 1px 4px #00000029;
color: #3da739;
border-radius: 5px;
border: 2px solid #3da73966;
font: 20px "Poppins";
}
10 changes: 8 additions & 2 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
module.exports = {
plugins: [
// ...
require("tailwindcss"),
require("autoprefixer"),
// ...
],
theme: {
extend: {}
extend: {},
},
variants: {},
plugins: []
plugins: [],
}