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

#23 Map Section #10

Merged
merged 1 commit into from
Nov 30, 2023
Merged
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
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
Loading