Skip to content

Commit

Permalink
#23 Map Section (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmanundercover committed Nov 30, 2023
1 parent 680a176 commit 4ff7a9a
Show file tree
Hide file tree
Showing 10 changed files with 448 additions and 8 deletions.
189 changes: 185 additions & 4 deletions package-lock.json

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

10 changes: 10 additions & 0 deletions sanityIo/schemas/businessContact.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,15 @@ export default {
type: "array",
of: [{type: "scheduleGroup"}]
},
{
name: 'longitude',
title: 'Longitude',
type: 'string',
},
{
name: 'latitude',
title: 'Latitude',
type: 'string',
},
]
}
1 change: 1 addition & 0 deletions sanityIo/schemas/contentContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default {
{name: 'header', title: 'Header Menu',type: 'reference', to: [{type: 'menuContainer',}]},
{name: 'footer', title: 'Footer Menu',type: 'reference', to: [{type: 'menuContainer',}]},
{name: 'Headline with CTA', title: 'Headline with CTA',type: 'reference', to: [{type: 'HeadlineCTASection',}]},
{name: 'Map Section', title: 'Map Section',type: 'reference', to: [{type: 'MapSection',}]},
{name: 'HeroAnimatedContentSection', title: 'Animated Hero Content',type: 'reference', to: [{type: 'HeroAnimatedContentSection'}]},
{name: 'AnimatedAboutUsSection', title: 'Animated About Us Section',type: 'reference', to: [{type: 'AnimatedAboutUsSection'}]},
{name: 'AnimatedServicesSection', title: 'Animated Services Section',type: 'reference', to: [{type: 'AnimatedServicesSection'}]},
Expand Down
4 changes: 3 additions & 1 deletion sanityIo/schemas/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ import MuiMediaQuery from "./mui/MuiMediaQuery";
import AnimatedPortfolioItem from "./sections/animated/AnimatedPortfolioItem";
import AnimatedPortfolioSection from "./sections/animated/AnimatedPortfolioSection";
import HeadlineCTASection from "./HeadlineCTASection";
import MapSection from "./sections/MapSection";

// Then we give our schema to the builder and provide the result to Sanity
export default [
Expand Down Expand Up @@ -187,5 +188,6 @@ export default [
AnimatedPortfolioItem,
AnimatedPortfolioSection,
HeroSlideContent,
HeadlineCTASection
HeadlineCTASection,
MapSection
]
Loading

0 comments on commit 4ff7a9a

Please sign in to comment.