@treely/strapi-slices 2.0.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -2
- package/src/components/SEOTags/SEOTags.tsx +53 -0
- package/src/components/SEOTags/index.ts +1 -0
- package/src/constants/metadata.ts +3 -0
- package/src/constants/sectionsConfig.ts +20 -0
- package/src/index.tsx +119 -0
- package/src/models/HeaderType.ts +6 -0
- package/src/models/Image.ts +6 -0
- package/src/models/PageMetadata.ts +11 -0
- package/src/models/PageProps.ts +32 -0
- package/src/models/strapi/StrapiBlogPostProps.ts +7 -0
- package/src/models/strapi/StrapiCustomerStoryProps.ts +9 -0
- package/src/models/strapi/StrapiPageProps.ts +7 -0
- package/src/models/strapi/StrapiProjectProps.ts +7 -0
- package/src/test/mocks/getStaticPropsContext.ts +9 -0
- package/src/utils/mergeGlobalAndStrapiBlogPostData.test.ts +154 -0
- package/src/utils/mergeGlobalAndStrapiBlogPostData.ts +68 -0
- package/src/utils/mergeGlobalAndStrapiCustomerStoryData.test.ts +149 -0
- package/src/utils/mergeGlobalAndStrapiCustomerStoryData.ts +68 -0
- package/src/utils/mergeGlobalAndStrapiPageData.test.ts +254 -0
- package/src/utils/mergeGlobalAndStrapiPageData.ts +81 -0
- package/src/utils/mergeGlobalAndStrapiProjectData.test.ts +243 -0
- package/src/utils/mergeGlobalAndStrapiProjectData.ts +79 -0
- package/dist/components/ContextProvider/ContextProvider.d.ts +0 -8
- package/dist/components/ContextProvider/index.d.ts +0 -1
- package/dist/components/CreditsAvailableBadge/CreditsAvailableBadge.d.ts +0 -8
- package/dist/components/CreditsAvailableBadge/index.d.ts +0 -2
- package/dist/components/CreditsAvailableBadge/messages.de.d.ts +0 -7
- package/dist/components/CreditsAvailableBadge/messages.en.d.ts +0 -7
- package/dist/components/FullScreenImage/FullScreenImage.d.ts +0 -9
- package/dist/components/FullScreenImage/ZoomableImage.d.ts +0 -8
- package/dist/components/FullScreenImage/index.d.ts +0 -2
- package/dist/components/MinimalProviders/MinimalProviders.d.ts +0 -7
- package/dist/components/MinimalProviders/index.d.ts +0 -2
- package/dist/components/SliceRenderer/SliceRenderer.d.ts +0 -19
- package/dist/components/SliceRenderer/index.d.ts +0 -1
- package/dist/components/StrapiLinkButton/StrapiLinkButton.d.ts +0 -18
- package/dist/components/StrapiLinkButton/index.d.ts +0 -2
- package/dist/components/StrapiLinkButtonWithIcon/StrapiLinkButtonWithIcon.d.ts +0 -7
- package/dist/components/StrapiLinkButtonWithIcon/index.d.ts +0 -2
- package/dist/components/portfolio/Contact/Contact.d.ts +0 -10
- package/dist/components/portfolio/Contact/index.d.ts +0 -2
- package/dist/components/portfolio/DocumentsDownloadList/DocumentsDownloadList.d.ts +0 -6
- package/dist/components/portfolio/DocumentsDownloadList/index.d.ts +0 -2
- package/dist/components/portfolio/DocumentsDownloadList/messages.de.d.ts +0 -5
- package/dist/components/portfolio/DocumentsDownloadList/messages.en.d.ts +0 -5
- package/dist/components/portfolio/ProjectInfo/ProjectInfo.d.ts +0 -18
- package/dist/components/portfolio/ProjectInfo/index.d.ts +0 -2
- package/dist/components/portfolio/ProjectInfo/messages.de.d.ts +0 -15
- package/dist/components/portfolio/ProjectInfo/messages.en.d.ts +0 -15
- package/dist/components/portfolio/SmallCheckout/SmallCheckout.d.ts +0 -14
- package/dist/components/portfolio/SmallCheckout/index.d.ts +0 -2
- package/dist/components/portfolio/SmallCheckout/messages.de.d.ts +0 -16
- package/dist/components/portfolio/SmallCheckout/messages.en.d.ts +0 -16
- package/dist/constants/animations.d.ts +0 -1
- package/dist/constants/api.d.ts +0 -3
- package/dist/constants/breakpoints.d.ts +0 -8
- package/dist/constants/domain.d.ts +0 -2
- package/dist/constants/fontCustomizations.d.ts +0 -6
- package/dist/constants/formatter.d.ts +0 -6
- package/dist/constants/globalStyle.d.ts +0 -1
- package/dist/constants/mapbox.d.ts +0 -17
- package/dist/constants/strapi.d.ts +0 -1
- package/dist/icons/LinkedInIcon.d.ts +0 -3
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -8
- package/dist/models/BBox.d.ts +0 -2
- package/dist/models/CreditsAvailableState.d.ts +0 -7
- package/dist/models/Locale.d.ts +0 -2
- package/dist/models/PortfolioProject.d.ts +0 -7
- package/dist/models/forms/CheckoutForm.d.ts +0 -4
- package/dist/models/fpm/FPMProject.d.ts +0 -37
- package/dist/models/fpm/Issuer.d.ts +0 -6
- package/dist/models/strapi/IStrapi.d.ts +0 -4
- package/dist/models/strapi/IStrapiData.d.ts +0 -5
- package/dist/models/strapi/IStrapiResponse.d.ts +0 -13
- package/dist/models/strapi/StrapiAuthor.d.ts +0 -10
- package/dist/models/strapi/StrapiAvatarWithName.d.ts +0 -8
- package/dist/models/strapi/StrapiBanner.d.ts +0 -9
- package/dist/models/strapi/StrapiBlogPost.d.ts +0 -25
- package/dist/models/strapi/StrapiButtonWithVariant.d.ts +0 -6
- package/dist/models/strapi/StrapiCategory.d.ts +0 -8
- package/dist/models/strapi/StrapiContactArea.d.ts +0 -10
- package/dist/models/strapi/StrapiCustomerStory.d.ts +0 -21
- package/dist/models/strapi/StrapiDefaultHeader.d.ts +0 -6
- package/dist/models/strapi/StrapiGlobal.d.ts +0 -26
- package/dist/models/strapi/StrapiGlossaryItem.d.ts +0 -6
- package/dist/models/strapi/StrapiHeroCard.d.ts +0 -13
- package/dist/models/strapi/StrapiImage.d.ts +0 -10
- package/dist/models/strapi/StrapiImageFormat.d.ts +0 -12
- package/dist/models/strapi/StrapiImageWithLink.d.ts +0 -6
- package/dist/models/strapi/StrapiLink.d.ts +0 -11
- package/dist/models/strapi/StrapiLinkList.d.ts +0 -7
- package/dist/models/strapi/StrapiLinkPage.d.ts +0 -10
- package/dist/models/strapi/StrapiLinkWithIcon.d.ts +0 -7
- package/dist/models/strapi/StrapiLocalization.d.ts +0 -7
- package/dist/models/strapi/StrapiMedia.d.ts +0 -27
- package/dist/models/strapi/StrapiMetadata.d.ts +0 -13
- package/dist/models/strapi/StrapiNavMenu.d.ts +0 -13
- package/dist/models/strapi/StrapiPage.d.ts +0 -17
- package/dist/models/strapi/StrapiPortfolio.d.ts +0 -10
- package/dist/models/strapi/StrapiPortfolioCard.d.ts +0 -15
- package/dist/models/strapi/StrapiProject.d.ts +0 -23
- package/dist/models/strapi/StrapiProjectCard.d.ts +0 -18
- package/dist/models/strapi/StrapiQuoteCard.d.ts +0 -7
- package/dist/models/strapi/StrapiShapesCard.d.ts +0 -11
- package/dist/models/strapi/StrapiTextCardWithIcons.d.ts +0 -8
- package/dist/models/strapi/StrapiTopBanner.d.ts +0 -7
- package/dist/rootMessages.de.d.ts +0 -58
- package/dist/rootMessages.en.d.ts +0 -58
- package/dist/slices/Blog/Blog.d.ts +0 -10
- package/dist/slices/Blog/index.d.ts +0 -2
- package/dist/slices/Blog/styles.d.ts +0 -7
- package/dist/slices/BlogCards/BlogCards.d.ts +0 -18
- package/dist/slices/BlogCards/index.d.ts +0 -2
- package/dist/slices/Comparison/Comparison.d.ts +0 -33
- package/dist/slices/Comparison/Icon.d.ts +0 -7
- package/dist/slices/Comparison/index.d.ts +0 -2
- package/dist/slices/Comparison/messages.de.d.ts +0 -4
- package/dist/slices/Comparison/messages.en.d.ts +0 -4
- package/dist/slices/Cta/Cta.d.ts +0 -26
- package/dist/slices/Cta/index.d.ts +0 -2
- package/dist/slices/Cta/messages.de.d.ts +0 -5
- package/dist/slices/Cta/messages.en.d.ts +0 -5
- package/dist/slices/CtaOnly/CtaOnly.d.ts +0 -8
- package/dist/slices/CtaOnly/index.d.ts +0 -2
- package/dist/slices/CustomerStories/CustomerStories.d.ts +0 -10
- package/dist/slices/CustomerStories/index.d.ts +0 -2
- package/dist/slices/CustomerStories/messages.de.d.ts +0 -4
- package/dist/slices/CustomerStories/messages.en.d.ts +0 -4
- package/dist/slices/Facts/Facts.d.ts +0 -16
- package/dist/slices/Facts/index.d.ts +0 -2
- package/dist/slices/FullWidthHighlightQuote/FullWidthHighlightQuote.d.ts +0 -10
- package/dist/slices/FullWidthHighlightQuote/index.d.ts +0 -2
- package/dist/slices/FullWidthImage/FullWidthImage.d.ts +0 -11
- package/dist/slices/FullWidthImage/index.d.ts +0 -2
- package/dist/slices/FullWidthImageSlider/FullWidthImageSlider.d.ts +0 -12
- package/dist/slices/FullWidthImageSlider/index.d.ts +0 -2
- package/dist/slices/FullWidthImageSlider/styles.d.ts +0 -290
- package/dist/slices/FullWidthImageSlider/utils.d.ts +0 -1
- package/dist/slices/FullWidthImageSlider/utils.test.d.ts +0 -1
- package/dist/slices/Glossary/Glossary.d.ts +0 -9
- package/dist/slices/Glossary/index.d.ts +0 -2
- package/dist/slices/Glossary/messages.de.d.ts +0 -6
- package/dist/slices/Glossary/messages.en.d.ts +0 -6
- package/dist/slices/Hero/Hero.d.ts +0 -17
- package/dist/slices/Hero/index.d.ts +0 -2
- package/dist/slices/IconGrid/IconGrid.d.ts +0 -18
- package/dist/slices/IconGrid/index.d.ts +0 -2
- package/dist/slices/ImageGrid/ImageGrid.d.ts +0 -18
- package/dist/slices/ImageGrid/index.d.ts +0 -2
- package/dist/slices/ImageTextSequence/ImageTextSequence.d.ts +0 -19
- package/dist/slices/ImageTextSequence/index.d.ts +0 -2
- package/dist/slices/LeftTextRightCard/LeftTextRightCard.d.ts +0 -17
- package/dist/slices/LeftTextRightCard/index.d.ts +0 -2
- package/dist/slices/LinkCardsGrid/LinkCardsGrid.d.ts +0 -18
- package/dist/slices/LinkCardsGrid/index.d.ts +0 -2
- package/dist/slices/LogoGridWithText/LogoGridWithText.d.ts +0 -12
- package/dist/slices/LogoGridWithText/index.d.ts +0 -2
- package/dist/slices/MapHero/MapHero.d.ts +0 -15
- package/dist/slices/MapHero/index.d.ts +0 -2
- package/dist/slices/MapHero/styles.d.ts +0 -16
- package/dist/slices/ProjectFacts/ProjectFacts.d.ts +0 -34
- package/dist/slices/ProjectFacts/index.d.ts +0 -2
- package/dist/slices/ProjectFacts/messages.de.d.ts +0 -5
- package/dist/slices/ProjectFacts/messages.en.d.ts +0 -5
- package/dist/slices/ProjectsGrid/ProjectsGrid.d.ts +0 -8
- package/dist/slices/ProjectsGrid/index.d.ts +0 -2
- package/dist/slices/ProjectsMap/MapMarker.d.ts +0 -11
- package/dist/slices/ProjectsMap/ProjectsMap.d.ts +0 -16
- package/dist/slices/ProjectsMap/index.d.ts +0 -2
- package/dist/slices/ProjectsMap/mapboxStyle.d.ts +0 -2
- package/dist/slices/ProjectsMap/messages.de.d.ts +0 -4
- package/dist/slices/ProjectsMap/messages.en.d.ts +0 -4
- package/dist/slices/QAndA/QAndA.d.ts +0 -43
- package/dist/slices/QAndA/index.d.ts +0 -2
- package/dist/slices/QuoteCards/QuoteCards.d.ts +0 -15
- package/dist/slices/QuoteCards/index.d.ts +0 -2
- package/dist/slices/RichTextSection/RichTextSection.d.ts +0 -7
- package/dist/slices/RichTextSection/index.d.ts +0 -2
- package/dist/slices/ShopCheckout/ShopCheckout.d.ts +0 -16
- package/dist/slices/ShopCheckout/index.d.ts +0 -2
- package/dist/slices/ShopCheckout/messages.de.d.ts +0 -15
- package/dist/slices/ShopCheckout/messages.en.d.ts +0 -15
- package/dist/slices/SideBySideImages/SideBySideImages.d.ts +0 -12
- package/dist/slices/SideBySideImages/index.d.ts +0 -2
- package/dist/slices/SmallHero/SmallHero.d.ts +0 -20
- package/dist/slices/SmallHero/index.d.ts +0 -2
- package/dist/slices/Steps/Steps.d.ts +0 -19
- package/dist/slices/Steps/index.d.ts +0 -2
- package/dist/slices/TextCardGrid/TextCardGrid.d.ts +0 -20
- package/dist/slices/TextCardGrid/index.d.ts +0 -2
- package/dist/slices/TextCarousel/TextCarousel.d.ts +0 -13
- package/dist/slices/TextCarousel/index.d.ts +0 -2
- package/dist/slices/TextCarousel/styles.d.ts +0 -281
- package/dist/slices/TextWithCard/TextWithCard.d.ts +0 -20
- package/dist/slices/TextWithCard/index.d.ts +0 -2
- package/dist/slices/TextWithTextCards/TextWithTextCards.d.ts +0 -15
- package/dist/slices/TextWithTextCards/index.d.ts +0 -2
- package/dist/slices/Video/Video.d.ts +0 -10
- package/dist/slices/Video/index.d.ts +0 -2
- package/dist/strapi-slices.cjs.development.js +0 -4653
- package/dist/strapi-slices.cjs.development.js.map +0 -1
- package/dist/strapi-slices.cjs.production.min.js +0 -2
- package/dist/strapi-slices.cjs.production.min.js.map +0 -1
- package/dist/strapi-slices.esm.js +0 -4640
- package/dist/strapi-slices.esm.js.map +0 -1
- package/dist/test/defaultMocks/next.d.ts +0 -2
- package/dist/test/integrationMocks/fpmProjectMock.d.ts +0 -3
- package/dist/test/mocks/portfolioProjectMock.d.ts +0 -3
- package/dist/test/setupTests.d.ts +0 -1
- package/dist/test/storybookMocks/storybookMedia.d.ts +0 -1
- package/dist/test/storybookMocks/storybookStrapiMedia.d.ts +0 -8
- package/dist/test/strapiMocks/minimalGlobalData.d.ts +0 -4
- package/dist/test/strapiMocks/strapiAvatarWithName.d.ts +0 -12
- package/dist/test/strapiMocks/strapiBlogPost.d.ts +0 -3
- package/dist/test/strapiMocks/strapiContact.d.ts +0 -2
- package/dist/test/strapiMocks/strapiCustomerStory.d.ts +0 -3
- package/dist/test/strapiMocks/strapiHeroCard.d.ts +0 -2
- package/dist/test/strapiMocks/strapiLinkPage.d.ts +0 -3
- package/dist/test/strapiMocks/strapiMedia.d.ts +0 -3
- package/dist/test/strapiMocks/strapiMetadata.d.ts +0 -2
- package/dist/test/strapiMocks/strapiPage.d.ts +0 -3
- package/dist/test/strapiMocks/strapiPortfolioCard.d.ts +0 -2
- package/dist/test/strapiMocks/strapiPortfolioMock.d.ts +0 -3
- package/dist/test/strapiMocks/strapiProject.d.ts +0 -3
- package/dist/test/strapiMocks/strapiProjectCard.d.ts +0 -2
- package/dist/test/strapiMocks/strapiQuoteCard.d.ts +0 -2
- package/dist/test/testUtils.d.ts +0 -6
- package/dist/unit.messages.de.d.ts +0 -5
- package/dist/unit.messages.en.d.ts +0 -5
- package/dist/utils/convertAreaM2ToHa.d.ts +0 -2
- package/dist/utils/convertAreaM2ToHa.test.d.ts +0 -1
- package/dist/utils/convertCo2AmountKgToTons.d.ts +0 -2
- package/dist/utils/convertToKebabCase.d.ts +0 -2
- package/dist/utils/convertToKebabCase.test.d.ts +0 -1
- package/dist/utils/getTimeSpanInYears.d.ts +0 -2
- package/dist/utils/getTimeSpanInYears.test.d.ts +0 -1
- package/dist/utils/mergeBoundingBoxes.d.ts +0 -3
- package/dist/utils/mergeBoundingBoxes.test.d.ts +0 -1
- package/dist/utils/mergeDeep.d.ts +0 -12
- package/dist/utils/openHubSpotChat.d.ts +0 -2
- package/dist/utils/strapiLinkUrl.d.ts +0 -3
- package/dist/utils/strapiLinkUrl.test.d.ts +0 -1
- package/dist/utils/strapiMediaUrl.d.ts +0 -5
- package/dist/utils/strapiMediaUrl.test.d.ts +0 -1
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const MAPBOX_TOKEN = "pk.eyJ1IjoidHJlZS1seSIsImEiOiJja25rNG1heHgwNThjMnZwZTl2eThmeXUwIn0.SOrYUKfevZkbx8jZPxJesA";
|
|
2
|
-
export declare enum MapBoxStyle {
|
|
3
|
-
Outdoors = "mapbox://styles/mapbox/outdoors-v11",
|
|
4
|
-
SatelliteStreets = "mapbox://styles/mapbox/satellite-streets-v11",
|
|
5
|
-
Satellite = "mapbox://styles/mapbox/satellite-v9",
|
|
6
|
-
CaliTerrain = "mapbox://styles/tree-ly/clna54iq603ht01pbc199cszw"
|
|
7
|
-
}
|
|
8
|
-
export declare const MAPBOX_TILES_URL: string;
|
|
9
|
-
export declare const MAPBOX_SOURCE_LAYER = "plots";
|
|
10
|
-
export declare const MAPBOX_SOURCE_IDENTIFIER = "plots";
|
|
11
|
-
export declare const MAPBOX_BORDER_LAYER_IDENTIFIER = "plots-borders";
|
|
12
|
-
export declare const MAPBOX_FILL_LAYER_IDENTIFIER = "plots-fill";
|
|
13
|
-
export declare const MAPBOX_TEXT_LAYER_IDENTIFIER = "plots-text";
|
|
14
|
-
export declare const MAPBOX_TEXT_MIN_ZOOM = 15;
|
|
15
|
-
export declare const MAPBOX_SHAPES_MIN_ZOOM = 13;
|
|
16
|
-
export declare const MAPBOX_MAX_ZOOM = 19;
|
|
17
|
-
export declare const MAPBOX_INITIAL_ZOOM = 13;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const STRAPI_URI: string;
|
package/dist/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './components/SliceRenderer';
|
package/dist/index.js
DELETED
package/dist/models/BBox.d.ts
DELETED
package/dist/models/Locale.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import Issuer from './Issuer';
|
|
2
|
-
interface FPMProject {
|
|
3
|
-
id: string;
|
|
4
|
-
title: string;
|
|
5
|
-
isPublic?: boolean;
|
|
6
|
-
geom?: {
|
|
7
|
-
type: 'Point';
|
|
8
|
-
coordinates: [number, number];
|
|
9
|
-
};
|
|
10
|
-
area?: number;
|
|
11
|
-
location?: string;
|
|
12
|
-
start?: Date;
|
|
13
|
-
end?: Date;
|
|
14
|
-
projectType?: {
|
|
15
|
-
title: string;
|
|
16
|
-
id: string;
|
|
17
|
-
createdAt: Date;
|
|
18
|
-
updatedAt: Date;
|
|
19
|
-
};
|
|
20
|
-
projectDeveloper?: {
|
|
21
|
-
name: string;
|
|
22
|
-
id: string;
|
|
23
|
-
createdAt: Date;
|
|
24
|
-
updatedAt: Date;
|
|
25
|
-
};
|
|
26
|
-
verificationStandard?: {
|
|
27
|
-
id: string;
|
|
28
|
-
createdAt: Date;
|
|
29
|
-
updatedAt: Date;
|
|
30
|
-
};
|
|
31
|
-
forecastedAmountYearly?: number;
|
|
32
|
-
riskBuffer?: number;
|
|
33
|
-
defaultIssuer?: Issuer;
|
|
34
|
-
createdAt: Date;
|
|
35
|
-
updatedAt: Date;
|
|
36
|
-
}
|
|
37
|
-
export default FPMProject;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import IStrapi from './IStrapi';
|
|
2
|
-
interface IStrapiResponse<D> extends IStrapi<D> {
|
|
3
|
-
meta: {
|
|
4
|
-
pagination?: {
|
|
5
|
-
page: number;
|
|
6
|
-
pageSize: number;
|
|
7
|
-
pageCount: number;
|
|
8
|
-
total: number;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
error?: object;
|
|
12
|
-
}
|
|
13
|
-
export default IStrapiResponse;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import Locale from '../Locale';
|
|
2
|
-
import IStrapi from './IStrapi';
|
|
3
|
-
import IStrapiData from './IStrapiData';
|
|
4
|
-
import StrapiAuthor from './StrapiAuthor';
|
|
5
|
-
import StrapiCategory from './StrapiCategory';
|
|
6
|
-
import StrapiImage from './StrapiImage';
|
|
7
|
-
import StrapiLocalization from './StrapiLocalization';
|
|
8
|
-
import StrapiMetadata from './StrapiMetadata';
|
|
9
|
-
import StrapiTopBanner from './StrapiTopBanner';
|
|
10
|
-
interface StrapiBlogPost {
|
|
11
|
-
title: string;
|
|
12
|
-
slug: string;
|
|
13
|
-
teaser: string | null;
|
|
14
|
-
img: StrapiImage;
|
|
15
|
-
author?: IStrapi<IStrapiData<StrapiAuthor>>;
|
|
16
|
-
category?: IStrapi<IStrapiData<StrapiCategory>>;
|
|
17
|
-
locale: Locale;
|
|
18
|
-
createdAt: string;
|
|
19
|
-
updatedAt: string;
|
|
20
|
-
metadata: StrapiMetadata | null;
|
|
21
|
-
slices: any[];
|
|
22
|
-
localizations: StrapiLocalization[];
|
|
23
|
-
topBanner?: StrapiTopBanner;
|
|
24
|
-
}
|
|
25
|
-
export default StrapiBlogPost;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import StrapiAvatarWithName from './StrapiAvatarWithName';
|
|
2
|
-
import StrapiLink from './StrapiLink';
|
|
3
|
-
interface StrapiContactArea {
|
|
4
|
-
id: number;
|
|
5
|
-
title: string;
|
|
6
|
-
text: string;
|
|
7
|
-
avatar: StrapiAvatarWithName;
|
|
8
|
-
button: StrapiLink;
|
|
9
|
-
}
|
|
10
|
-
export default StrapiContactArea;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import Locale from '../Locale';
|
|
2
|
-
import StrapiImage from './StrapiImage';
|
|
3
|
-
import StrapiLocalization from './StrapiLocalization';
|
|
4
|
-
import StrapiMetadata from './StrapiMetadata';
|
|
5
|
-
import StrapiTopBanner from './StrapiTopBanner';
|
|
6
|
-
interface StrapiCustomerStory {
|
|
7
|
-
title: string;
|
|
8
|
-
slug: string;
|
|
9
|
-
img: StrapiImage;
|
|
10
|
-
customerName: string;
|
|
11
|
-
customerIndustry: string;
|
|
12
|
-
customerLogo: StrapiImage;
|
|
13
|
-
locale: Locale;
|
|
14
|
-
createdAt: string;
|
|
15
|
-
updatedAt: string;
|
|
16
|
-
metadata: StrapiMetadata | null;
|
|
17
|
-
slices: any[];
|
|
18
|
-
localizations: StrapiLocalization[];
|
|
19
|
-
topBanner?: StrapiTopBanner;
|
|
20
|
-
}
|
|
21
|
-
export default StrapiCustomerStory;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import IStrapi from './IStrapi';
|
|
2
|
-
import IStrapiData from './IStrapiData';
|
|
3
|
-
import StrapiBanner from './StrapiBanner';
|
|
4
|
-
import StrapiLink from './StrapiLink';
|
|
5
|
-
import StrapiLinkList from './StrapiLinkList';
|
|
6
|
-
import StrapiMedia from './StrapiMedia';
|
|
7
|
-
import StrapiMetadata from './StrapiMetadata';
|
|
8
|
-
import StrapiNavMenu from './StrapiNavMenu';
|
|
9
|
-
import StrapiTopBanner from './StrapiTopBanner';
|
|
10
|
-
interface StrapiGlobal {
|
|
11
|
-
metadata: StrapiMetadata;
|
|
12
|
-
favicon: IStrapi<IStrapiData<StrapiMedia>>;
|
|
13
|
-
metaTitleSuffix: string;
|
|
14
|
-
navbar: {
|
|
15
|
-
id: number;
|
|
16
|
-
navMenus?: StrapiNavMenu[];
|
|
17
|
-
buttons?: StrapiLink[];
|
|
18
|
-
};
|
|
19
|
-
footer: {
|
|
20
|
-
id: number;
|
|
21
|
-
links?: StrapiLinkList[];
|
|
22
|
-
};
|
|
23
|
-
banner?: StrapiBanner;
|
|
24
|
-
topBanner?: StrapiTopBanner;
|
|
25
|
-
}
|
|
26
|
-
export default StrapiGlobal;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import IStrapi from './IStrapi';
|
|
2
|
-
import IStrapiData from './IStrapiData';
|
|
3
|
-
import StrapiMedia from './StrapiMedia';
|
|
4
|
-
interface StrapiImage {
|
|
5
|
-
id: number;
|
|
6
|
-
alt: string;
|
|
7
|
-
img: IStrapi<IStrapiData<StrapiMedia>>;
|
|
8
|
-
objectFit?: 'cover' | 'contain';
|
|
9
|
-
}
|
|
10
|
-
export default StrapiImage;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import IStrapi from './IStrapi';
|
|
2
|
-
import IStrapiData from './IStrapiData';
|
|
3
|
-
import StrapiLinkPage from './StrapiLinkPage';
|
|
4
|
-
interface StrapiLink {
|
|
5
|
-
id: number;
|
|
6
|
-
text: string;
|
|
7
|
-
page?: IStrapi<IStrapiData<StrapiLinkPage>>;
|
|
8
|
-
url?: string;
|
|
9
|
-
intercomLauncher?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export default StrapiLink;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import StrapiImageFormat from './StrapiImageFormat';
|
|
2
|
-
interface StrapiMedia {
|
|
3
|
-
name: string;
|
|
4
|
-
alternativeText: string;
|
|
5
|
-
caption: string;
|
|
6
|
-
width: number;
|
|
7
|
-
height: number;
|
|
8
|
-
formats: {
|
|
9
|
-
thumbnail?: StrapiImageFormat;
|
|
10
|
-
xLarge?: StrapiImageFormat;
|
|
11
|
-
large?: StrapiImageFormat;
|
|
12
|
-
medium?: StrapiImageFormat;
|
|
13
|
-
small?: StrapiImageFormat;
|
|
14
|
-
xSmall?: StrapiImageFormat;
|
|
15
|
-
};
|
|
16
|
-
hash: string;
|
|
17
|
-
ext: string;
|
|
18
|
-
mime: string;
|
|
19
|
-
size: number;
|
|
20
|
-
url: string;
|
|
21
|
-
previewUrl: string | null;
|
|
22
|
-
provider: string;
|
|
23
|
-
provider_metadata: string | null;
|
|
24
|
-
createdAt: string;
|
|
25
|
-
updatedAt: string;
|
|
26
|
-
}
|
|
27
|
-
export default StrapiMedia;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import IStrapi from './IStrapi';
|
|
2
|
-
import IStrapiData from './IStrapiData';
|
|
3
|
-
import StrapiMedia from './StrapiMedia';
|
|
4
|
-
interface StrapiMetadata {
|
|
5
|
-
title: string;
|
|
6
|
-
description: string;
|
|
7
|
-
shareImage?: {
|
|
8
|
-
id: number;
|
|
9
|
-
alt: string;
|
|
10
|
-
media: IStrapi<IStrapiData<StrapiMedia>>;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export default StrapiMetadata;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import StrapiImage from './StrapiImage';
|
|
2
|
-
import StrapiLink from './StrapiLink';
|
|
3
|
-
interface StrapiNavMenu {
|
|
4
|
-
title: string;
|
|
5
|
-
link?: StrapiLink;
|
|
6
|
-
items: {
|
|
7
|
-
link: StrapiLink;
|
|
8
|
-
iconDefault: StrapiImage;
|
|
9
|
-
iconActive: StrapiImage;
|
|
10
|
-
description?: string;
|
|
11
|
-
}[];
|
|
12
|
-
}
|
|
13
|
-
export default StrapiNavMenu;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import Locale from '../Locale';
|
|
2
|
-
import StrapiLocalization from './StrapiLocalization';
|
|
3
|
-
import StrapiMetadata from './StrapiMetadata';
|
|
4
|
-
import StrapiTopBanner from './StrapiTopBanner';
|
|
5
|
-
interface StrapiPage {
|
|
6
|
-
title: string;
|
|
7
|
-
slug: string;
|
|
8
|
-
locale: Locale;
|
|
9
|
-
publishedAt: string;
|
|
10
|
-
createdAt: string;
|
|
11
|
-
updatedAt: string;
|
|
12
|
-
metadata: StrapiMetadata | null;
|
|
13
|
-
slices: any[];
|
|
14
|
-
localizations: StrapiLocalization[];
|
|
15
|
-
topBanner?: StrapiTopBanner;
|
|
16
|
-
}
|
|
17
|
-
export default StrapiPage;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import StrapiImage from './StrapiImage';
|
|
2
|
-
import StrapiLink from './StrapiLink';
|
|
3
|
-
interface StrapiPortfolioCard {
|
|
4
|
-
id: number;
|
|
5
|
-
portfolioNumber: string;
|
|
6
|
-
title: string;
|
|
7
|
-
facts: {
|
|
8
|
-
id: number;
|
|
9
|
-
key: string;
|
|
10
|
-
value: string;
|
|
11
|
-
}[];
|
|
12
|
-
button: StrapiLink;
|
|
13
|
-
image: StrapiImage;
|
|
14
|
-
}
|
|
15
|
-
export default StrapiPortfolioCard;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import CreditsAvailableState from '../CreditsAvailableState';
|
|
2
|
-
import Locale from '../Locale';
|
|
3
|
-
import IStrapiData from './IStrapiData';
|
|
4
|
-
import StrapiLocalization from './StrapiLocalization';
|
|
5
|
-
import StrapiMetadata from './StrapiMetadata';
|
|
6
|
-
import StrapiPortfolio from './StrapiPortfolio';
|
|
7
|
-
import StrapiTopBanner from './StrapiTopBanner';
|
|
8
|
-
interface StrapiProject {
|
|
9
|
-
slug: string;
|
|
10
|
-
locale: Locale;
|
|
11
|
-
fpmProjectId?: string;
|
|
12
|
-
creditsAvailable?: CreditsAvailableState;
|
|
13
|
-
createdAt: string;
|
|
14
|
-
updatedAt: string;
|
|
15
|
-
metadata: StrapiMetadata | null;
|
|
16
|
-
slices: any[];
|
|
17
|
-
localizations: StrapiLocalization[];
|
|
18
|
-
portfolio: {
|
|
19
|
-
data?: IStrapiData<StrapiPortfolio>;
|
|
20
|
-
};
|
|
21
|
-
topBanner?: StrapiTopBanner;
|
|
22
|
-
}
|
|
23
|
-
export default StrapiProject;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import IStrapiData from './IStrapiData';
|
|
2
|
-
import StrapiImage from './StrapiImage';
|
|
3
|
-
import StrapiProject from './StrapiProject';
|
|
4
|
-
interface StrapiProjectCard {
|
|
5
|
-
id: number;
|
|
6
|
-
title: string;
|
|
7
|
-
facts: {
|
|
8
|
-
id: number;
|
|
9
|
-
text: string;
|
|
10
|
-
}[];
|
|
11
|
-
footerTitle: string;
|
|
12
|
-
footerSubTitle: string;
|
|
13
|
-
image: StrapiImage;
|
|
14
|
-
project?: {
|
|
15
|
-
data?: IStrapiData<StrapiProject>;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export default StrapiProjectCard;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import StrapiImage from './StrapiImage';
|
|
2
|
-
import StrapiLink from './StrapiLink';
|
|
3
|
-
interface StrapiShapesCard {
|
|
4
|
-
id: number;
|
|
5
|
-
tagline?: string;
|
|
6
|
-
title: string;
|
|
7
|
-
text?: string;
|
|
8
|
-
button?: StrapiLink;
|
|
9
|
-
shapes?: StrapiImage[];
|
|
10
|
-
}
|
|
11
|
-
export default StrapiShapesCard;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
declare const rootMessagesDe: {
|
|
2
|
-
'unit.formatter.tonsCo2': string;
|
|
3
|
-
'unit.formatter.tonsCo2PerYear': string;
|
|
4
|
-
'sections.shopCheckout.intro.price': string;
|
|
5
|
-
'sections.shopCheckout.contributionValue.label.EUR': string;
|
|
6
|
-
'sections.shopCheckout.contributionValue.label.CHF': string;
|
|
7
|
-
'sections.shopCheckout.contributionValue.unit.EUR': string;
|
|
8
|
-
'sections.shopCheckout.contributionValue.unit.CHF': string;
|
|
9
|
-
'sections.shopCheckout.contributionValue.validation.empty': string;
|
|
10
|
-
'sections.shopCheckout.contributionValue.validation.tooLow.EUR': string;
|
|
11
|
-
'sections.shopCheckout.contributionValue.validation.tooLow.CHF': string;
|
|
12
|
-
'sections.shopCheckout.contributionValue.validation.tooHigh': string;
|
|
13
|
-
'sections.shopCheckout.summary.kg': string;
|
|
14
|
-
'sections.shopCheckout.summary.price': string;
|
|
15
|
-
'sections.shopCheckout.submit': string;
|
|
16
|
-
'sections.projectsMap.link.text': string;
|
|
17
|
-
'sections.projectFacts.projectInfo.value': string;
|
|
18
|
-
'projects.projectFacts.properties.area': string;
|
|
19
|
-
'sections.glossary.copyButtonLabel': string;
|
|
20
|
-
'sections.glossary.copySuccessMessage': string;
|
|
21
|
-
'sections.glossary.copyFailureMessage': string;
|
|
22
|
-
'sections.customerStories.more': string;
|
|
23
|
-
'sections.cta.backgroundShapes': string;
|
|
24
|
-
'sections.cta.backgroundShapesLight': string;
|
|
25
|
-
'sections.comparison.backgroundShapes': string;
|
|
26
|
-
'portfolio.smallCheckout.contributionValueCurrency.label.CHF': string;
|
|
27
|
-
'portfolio.smallCheckout.contributionValueCurrency.label.EUR': string;
|
|
28
|
-
'portfolio.smallCheckout.contributionValueCurrency.unit.EUR': string;
|
|
29
|
-
'portfolio.smallCheckout.contributionValueCurrency.unit.CHF': string;
|
|
30
|
-
'portfolio.smallCheckout.contributionValueCurrency.validation.tooLow.CHF': string;
|
|
31
|
-
'portfolio.smallCheckout.contributionValueCurrency.validation.tooLow.EUR': string;
|
|
32
|
-
'portfolio.smallCheckout.contributionValueCurrency.validation.empty': string;
|
|
33
|
-
'portfolio.smallCheckout.contributionValueCurrency.validation.tooHigh': string;
|
|
34
|
-
'portfolio.smallCheckout.contributionValueKgs.label': string;
|
|
35
|
-
'portfolio.smallCheckout.submitButton': string;
|
|
36
|
-
'portfolio.smallCheckout.cta.title': string;
|
|
37
|
-
'portfolio.smallCheckout.cta.subTitle': string;
|
|
38
|
-
'portfolio.smallCheckout.cta.button': string;
|
|
39
|
-
'features.projectInfo.projectInfo.value': string;
|
|
40
|
-
'features.projectInfo.properties.area': string;
|
|
41
|
-
'features.projectInfo.properties.location': string;
|
|
42
|
-
'features.projectInfo.properties.start': string;
|
|
43
|
-
'features.projectInfo.properties.timeSpan': string;
|
|
44
|
-
'features.projectInfo.properties.projectType': string;
|
|
45
|
-
'features.projectInfo.properties.projectDeveloper': string;
|
|
46
|
-
'features.projectInfo.properties.verificationStandard.label': string;
|
|
47
|
-
'features.projectInfo.properties.verificationStandard.value.SilvaconsultFCSISO14': string;
|
|
48
|
-
'features.projectInfo.properties.forecastedAmountYear.label': string;
|
|
49
|
-
'features.projectInfo.properties.riskBuffer': string;
|
|
50
|
-
'features.projectInfo.properties.year': string;
|
|
51
|
-
'features.portfolio.documentsDownloadList.projectDocuments': string;
|
|
52
|
-
'features.portfolio.documentsDownloadList.downloadDocument': string;
|
|
53
|
-
'components.creditsAvailableBadge.text.yes': string;
|
|
54
|
-
'components.creditsAvailableBadge.text.some': string;
|
|
55
|
-
'components.creditsAvailableBadge.text.no': string;
|
|
56
|
-
'components.creditsAvailableBadge.text.notYet': string;
|
|
57
|
-
};
|
|
58
|
-
export default rootMessagesDe;
|