-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make home page connected to CMS (#632)
* make home page connected to CMS * make content optional * fix story
- Loading branch information
1 parent
56f8139
commit 3c3fd3e
Showing
15 changed files
with
244 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import { AboutItemSchema } from "@/models/sanity/AboutItem/Schema" | ||
import { HomePageSchema } from "@/models/sanity/HomePage/Schema" | ||
import { type SchemaTypeDefinition } from "sanity" | ||
|
||
export const schema: { types: SchemaTypeDefinition[] } = { | ||
types: [AboutItemSchema] | ||
types: [AboutItemSchema, HomePageSchema] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,16 @@ | ||
import { Benefit } from "@/components/utils/types" | ||
import LodgeIcon from "@/assets/icons/mountain_lodge.svg" | ||
import TicketIcon from "@/assets/icons/ticket.svg" | ||
import PriceTagIcon from "@/assets/icons/price_tag.svg" | ||
import HandSignIcon from "@/assets/icons/hand_sign.svg" | ||
|
||
export const benefits: Benefit[] = [ | ||
{ | ||
text: "Book our cozy ski lodge on the Whakapapa skifield!", | ||
icon: LodgeIcon | ||
text: "Book our cozy ski lodge on the Whakapapa skifield!" | ||
}, | ||
{ | ||
text: "Access cheaper tickets and priority admission to our sell-out events!", | ||
icon: TicketIcon | ||
text: "Access cheaper tickets and priority admission to our sell-out events!" | ||
}, | ||
{ | ||
text: "Meet lifelong friends you can send it with on and off the mountain!", | ||
icon: HandSignIcon | ||
text: "Meet lifelong friends you can send it with on and off the mountain!" | ||
}, | ||
{ | ||
text: "Enjoy a range of discounts with our sponsors such as Snowcentre, Pit Viper and many more!", | ||
icon: PriceTagIcon | ||
text: "Enjoy a range of discounts with our sponsors such as Snowcentre, Pit Viper and many more!" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.