Skip to content

Commit

Permalink
#49 merging master and updating sun icon
Browse files Browse the repository at this point in the history
  • Loading branch information
samgildea committed Apr 17, 2021
1 parent f80120c commit 0c1b767
Show file tree
Hide file tree
Showing 2 changed files with 133 additions and 119 deletions.
2 changes: 1 addition & 1 deletion src/components/homepage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
} from "./index-styles"

import TreeIcon from "../../vectors/renewable-tree-icon.svg"

import SunIcon from "../../vectors/sun-icon.svg"
import { Helmet } from "react-helmet"

export default function HomePage({ data }) {
Expand Down
250 changes: 132 additions & 118 deletions src/schemas/Homepage.json
Original file line number Diff line number Diff line change
@@ -1,166 +1,172 @@
{
"Main": {},
"Hero Section": {
"hero_headline": {
"type": "Text",
"config": {
"label": "Hero Headline"
"Main" : { },
"Hero Section" : {
"hero_headline" : {
"type" : "Text",
"config" : {
"label" : "Hero Headline"
}
},
"hero_subtext": {
"type": "Text",
"config": {
"label": "Hero Subtext"
"hero_subtext" : {
"type" : "Text",
"config" : {
"label" : "Hero Subtext"
}
},
"hero_cta_text": {
"type": "Text",
"config": {
"label": "Hero Button Text"
"hero_cta_text" : {
"type" : "Text",
"config" : {
"label" : "Hero Button Text"
}
},
"hero_button_destination": {
"type": "Link",
"config": {
"label": "Hero Button Destination"
"hero_button_destination" : {
"type" : "Link",
"config" : {
"label" : "Hero Button Destination"
}
},
"hero_background_image": {
"type": "Image",
"config": {
"constraint": {},
"thumbnails": [],
"label": "Hero Background Image"
"hero_background_image" : {
"type" : "Image",
"config" : {
"constraint" : { },
"thumbnails" : [ ],
"label" : "Hero Background Image"
}
}
},
"Intro to Solar": {
"section_title": {
"type": "Text",
"config": {
"label": "Section title"
"Intro to Solar" : {
"section_title" : {
"type" : "Text",
"config" : {
"label" : "Section title"
}
},
"section_description": {
"type": "Text",
"config": {
"label": "Section Description"
"section_description" : {
"type" : "Text",
"config" : {
"label" : "Section Description"
}
},
"button_text": {
"type": "Text",
"config": {
"label": "Button Text"
"button_text" : {
"type" : "Text",
"config" : {
"label" : "Button Text"
}
},
"button_destination": {
"type": "Link",
"config": {
"label": "Button Destination"
"button_destination" : {
"type" : "Link",
"config" : {
"label" : "Button Destination"
}
},
"section_image": {
"type": "Image",
"config": {
"constraint": {},
"thumbnails": [],
"label": "Section Image"
"section_image_alt" : {
"type" : "Text",
"config" : {
"label" : "section image alt"
}
},
"section_image" : {
"type" : "Image",
"config" : {
"constraint" : { },
"thumbnails" : [ ],
"label" : "Section Image"
}
}
},
"Impact Section": {
"impact_section_title": {
"type": "Text",
"config": {
"label": "Impact Section Title"
}
},
"impact_description": {
"type": "Text",
"config": {
"label": "Impact Description"
}
},
"impact_image": {
"type": "Image",
"config": {
"constraint": {},
"thumbnails": [],
"label": "Impact Image"
}
},
"impact_example": {
"type": "Group",
"config": {
"fields": {
"impact_example_image": {
"type": "Image",
"config": {
"constraint": {},
"thumbnails": [],
"label": "Impact Example Image"
"Impact Section" : {
"impact_section_title" : {
"type" : "Text",
"config" : {
"label" : "Impact Section Title"
}
},
"impact_description" : {
"type" : "Text",
"config" : {
"label" : "Impact Description"
}
},
"impact_image" : {
"type" : "Image",
"config" : {
"constraint" : { },
"thumbnails" : [ ],
"label" : "Impact Image"
}
},
"impact_example" : {
"type" : "Group",
"config" : {
"fields" : {
"impact_example_image" : {
"type" : "Image",
"config" : {
"constraint" : { },
"thumbnails" : [ ],
"label" : "Impact Example Image"
}
},
"impact_big_text": {
"type": "Text",
"config": {
"label": "Impact Big Text"
"impact_big_text" : {
"type" : "Text",
"config" : {
"label" : "Impact Big Text"
}
},
"impact_small_text": {
"type": "Text",
"config": {
"label": "Impact Small Text"
"impact_small_text" : {
"type" : "Text",
"config" : {
"label" : "Impact Small Text"
}
}
},
"label": "Impact Example"
"label" : "Impact Example"
}
}
},
"Email Section": {
"email_eyebrow_heading": {
"type": "Text",
"config": {
"label": "Email Eyebrow Heading"
"Email Section" : {
"email_eyebrow_heading" : {
"type" : "Text",
"config" : {
"label" : "Email Eyebrow Heading"
}
},
"enter_email_label": {
"type": "Text",
"config": {
"label": "Enter Email Label"
"enter_email_label" : {
"type" : "Text",
"config" : {
"label" : "Enter Email Label"
}
},
"email_description": {
"type": "Text",
"config": {
"label": "Email Description"
"email_description" : {
"type" : "Text",
"config" : {
"label" : "Email Description"
}
},
"sign_up_button_text": {
"type": "Text",
"config": {
"label": "Sign Up Button Text"
"sign_up_button_text" : {
"type" : "Text",
"config" : {
"label" : "Sign Up Button Text"
}
},
"sign_up_button_destination": {
"type": "Link",
"config": {
"label": "Sign Up Button Destination"
"sign_up_button_destination" : {
"type" : "Link",
"config" : {
"label" : "Sign Up Button Destination"
}
}
},
"Solutions": {
"solutions_header": {
"type": "Text",
"config": {
"label": "Solutions Header"
"Solutions" : {
"solutions_header" : {
"type" : "Text",
"config" : {
"label" : "Solutions Header"
}
},
"use_cases": {
"type": "Group",
"config": {
"fields": {
"use_cases" : {
"type" : "Group",
"config" : {
"fields" : {
"use_case" : {
"type" : "Link",
"config" : {
Expand All @@ -170,7 +176,15 @@
}
}
},
"label": "Use Cases"
"label" : "Use Cases"
}
},
"use" : {
"type" : "Link",
"config" : {
"select" : "document",
"customtypes" : [ "use_case" ],
"label" : "use"
}
}
}
Expand Down

0 comments on commit 0c1b767

Please sign in to comment.