Skip to content

Commit

Permalink
Merge branch 'malj/2307' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
millianapia committed Sep 23, 2024
2 parents 7105f36 + f36fc02 commit efde7cf
Show file tree
Hide file tree
Showing 120 changed files with 691 additions and 603 deletions.
2 changes: 1 addition & 1 deletion web/common/helpers/dateUtilities.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getYear, getMonth, getDate, getHours, getMinutes, getSeconds } from 'date-fns'
import { zonedTimeToUtc } from 'date-fns-tz'
import { EventDateType } from '../../../web/types/types'
import { EventDateType } from '../../../web/types/index'

export const toDateParts = (datetime: Date): number[] => {
return [
Expand Down
2 changes: 1 addition & 1 deletion web/common/helpers/getOpenGraphImages.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import imageUrlBuilder from '@sanity/image-url'
import { sanityClientWithEquinorCDN } from '../../lib/sanity.server'
import type { ImageWithAlt } from '../../types/types'
import type { ImageWithAlt } from '../../types/index'

const builder = imageUrlBuilder(sanityClientWithEquinorCDN)

Expand Down
2 changes: 1 addition & 1 deletion web/common/helpers/getUrlFromAction.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { LinkData } from '../../types/types'
import type { LinkData } from '../../types/index'

export const getUrlFromAction = ({
link,
Expand Down
2 changes: 1 addition & 1 deletion web/components/src/Backgrounds/BackgroundContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { forwardRef, HTMLAttributes } from 'react'
import styled from 'styled-components'
import { normal, inverted } from '../../../styles/themes'
import type { BackgroundColours, BackgroundTypes, ImageBackground } from '../../../types/types'
import type { BackgroundColours, BackgroundTypes, ImageBackground } from '../../../types/index'
import { ColouredContainer } from './ColouredContainer'
import { ImageBackgroundContainer } from './ImageBackgroundContainer'
import { ColorKeyTokens } from '../../../styles/colorKeyToUtilityMap'
Expand Down
2 changes: 1 addition & 1 deletion web/components/src/Backgrounds/ColouredContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import styled from 'styled-components'
import { normal, inverted } from '../../../styles/themes'
import { getContainerColor, isInvertedStyle } from '../../utils/backgroundColours'
import { forwardRef, HTMLAttributes, CSSProperties } from 'react'
import { BackgroundColours } from '../../../types/types'
import { BackgroundColours } from '../../../types/index'
import { ColorKeyTokens, colorKeyToUtilityMap } from '../../../styles/colorKeyToUtilityMap'
import { twMerge } from 'tailwind-merge'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { forwardRef, HTMLAttributes, CSSProperties } from 'react'
import { useSanityLoader } from '../../../lib/hooks/useSanityLoader'
import { ImageBackground } from '../../../types/types'
import { ImageBackground } from '../../../types/index'
import { twMerge } from 'tailwind-merge'
import { useMediaQuery } from '../../../lib/hooks/useMediaQuery'

Expand Down
2 changes: 1 addition & 1 deletion web/components/src/Fact/FactBox.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { forwardRef, HTMLAttributes } from 'react'
import type { FactImagePosition } from './'
import { BackgroundColours } from '../../../types/types'
import { BackgroundColours } from '../../../types/index'
import { ColorKeyTokens } from '../../../styles/colorKeyToUtilityMap'
import { BackgroundContainer, BackgroundContainerProps } from '@components'
import { twMerge } from 'tailwind-merge'
Expand Down
2 changes: 1 addition & 1 deletion web/components/src/Table/Table.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { forwardRef, CSSProperties } from 'react'
import { Table as EdsTable, TableProps as EdsTableProps } from '@equinor/eds-core-react'
import styled, { ThemeProvider } from 'styled-components'
import { TableThemes } from '../../../types/types'
import { TableThemes } from '../../../types/index'

type ThemeType = {
headerBackground: string
Expand Down
2 changes: 1 addition & 1 deletion web/components/utils/backgroundColours.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { BackgroundColours } from '../../types/types'
import type { BackgroundColours } from '../../types/index'

export type StyleVariants =
| '--bg-default'
Expand Down
2 changes: 1 addition & 1 deletion web/core/Carousel/Carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
EventCardData,
KeyNumberItemData,
IFrameCarouselItemData,
} from '../../types/types'
} from '../../types/index'
import {
ElementType,
forwardRef,
Expand Down
2 changes: 1 addition & 1 deletion web/core/Carousel/CarouselEventItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import envisTwMerge from '../../twMerge'
import { DisplayModes } from './Carousel'
import { forwardRef, HTMLAttributes } from 'react'
import { EventCard } from '@sections/cards/EventCard'
import { EventCardData } from '../../types/types'
import { EventCardData } from '../../types/index'

type CarouselEventItemProps = {
event: EventCardData
Expand Down
2 changes: 1 addition & 1 deletion web/core/Carousel/CarouselIframeItem.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import envisTwMerge from '../../twMerge'
import { IFrameCarouselItemData } from '../../types/types'
import { IFrameCarouselItemData } from '../../types/index'
import { DisplayModes } from './Carousel'
import { forwardRef, HTMLAttributes } from 'react'
import { Heading, Paragraph } from '@core/Typography'
Expand Down
2 changes: 1 addition & 1 deletion web/core/Carousel/CarouselImageItem.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import envisTwMerge from '../../twMerge'
import Image from '../../pageComponents/shared/SanityImage'
import { ImageWithAlt, ImageWithCaptionData } from '../../types/types'
import { ImageWithAlt, ImageWithCaptionData } from '../../types/index'
import { DisplayModes } from './Carousel'
import { forwardRef, HTMLAttributes } from 'react'

Expand Down
2 changes: 1 addition & 1 deletion web/core/Carousel/CarouselKeyNumberItem.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import envisTwMerge from '../../twMerge'
import { DisplayModes } from './Carousel'
import { forwardRef, HTMLAttributes } from 'react'
import { KeyNumberItemData } from '../../types/types'
import { KeyNumberItemData } from '../../types/index'
import KeyNumberItem from '@sections/KeyNumber/KeyNumberItem'

type CarouselEventItemProps = {
Expand Down
2 changes: 1 addition & 1 deletion web/core/Carousel/CarouselVideoItem.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import envisTwMerge from '../../twMerge'
import { VideoPlayerCarouselItem, VideoPlayerRatios } from '../../types/types'
import { VideoPlayerCarouselItem, VideoPlayerRatios } from '../../types/index'
import { DisplayModes } from './Carousel'
import { VideoComponentWithCaption } from '../../pageComponents/shared/VideoPlayer'
import { forwardRef, HTMLAttributes } from 'react'
Expand Down
2 changes: 1 addition & 1 deletion web/core/Link/BaseLink.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { AnchorHTMLAttributes, forwardRef } from 'react'
import { default as NextLink, LinkProps } from 'next/link'
import { twMerge } from 'tailwind-merge'
import { LinkType } from '../../types/types'
import { LinkType } from '../../types/index'

export type BaseLinkProps = {
/** What kind of content is it */
Expand Down
2 changes: 1 addition & 1 deletion web/core/Link/ButtonLink.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { forwardRef } from 'react'
import { twMerge } from 'tailwind-merge'
import { BaseLink, BaseLinkProps } from './BaseLink'
import { LinkType } from '../../types/types'
import { LinkType } from '../../types/index'
import { ButtonProps, commonButtonStyling, getVariant } from '../Button'

export type ButtonLinkProps = {
Expand Down
2 changes: 1 addition & 1 deletion web/core/Link/ReadMoreLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { forwardRef } from 'react'
import { twMerge } from 'tailwind-merge'
import { BaseLink, BaseLinkProps } from './BaseLink'
import { ArrowRight } from '../../icons'
import { LinkType } from '../../types/types'
import { LinkType } from '../../types/index'

export type ReadMoreLinkProps = {
/** Overriding styles for the icon */
Expand Down
2 changes: 1 addition & 1 deletion web/core/Link/ResourceLink.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { forwardRef } from 'react'
import { twMerge } from 'tailwind-merge'
import { BaseLink, BaseLinkProps } from './BaseLink'
import { LinkType } from '../../types/types'
import { LinkType } from '../../types/index'
import { ArrowRight } from '../../icons'

export type ResourceLinkProps = {
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/cards/MagazineCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Card } from '@components'
import { CSSProperties } from 'react'
import styled from 'styled-components'
import Image, { Ratios } from '../shared/SanityImage'
import { MagazineCardData } from '../../types/types'
import { MagazineCardData } from '../../types/index'

const { Title, Header, Action, Arrow, Media, CardLink } = Card

Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/cards/SimpleCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styled from 'styled-components'
import Image, { Ratios } from '../shared/SanityImage'

import { Card, Heading } from '@components'
import type { MenuLinkData, SubMenuGroupLinkData } from '../../types/types'
import type { MenuLinkData, SubMenuGroupLinkData } from '../../types/index'

const { Header, Action, Arrow, CardLink, Media } = Card

Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/landingPages/ContentGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import styled from 'styled-components'
import { Heading } from '@components'
import SimpleCard from '../cards/SimpleCard'

import type { SubMenuGroupData } from '../../types/types'
import type { SubMenuGroupData } from '../../types/index'

const GroupWrapper = styled.div`
margin: var(--space-3xLarge) 0;
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/news/LatestNews.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { CardData } from '../../types/types'
import type { CardData } from '../../types/index'
import { FormattedMessage } from 'react-intl'
import { FormattedDate } from '@components/FormattedDateTime'
import { useMediaQuery } from '../../lib/hooks/useMediaQuery'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/pageTemplates/ErrorPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Heading, Text } from '@components'
import RichText from '../shared/portableText/RichText'
import isEmpty from '../shared/portableText/helpers/isEmpty'
import BackgroundImage from '../errorPages/BackgroundImage'
import type { ErrorPageData } from '../../types/types'
import type { ErrorPageData } from '../../types/index'
import { metaTitleSuffix } from '../../languages'

const TextWrapper = styled.div`
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/pageTemplates/Event.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import AddToCalendar from '../topicPages/AddToCalendar'
import Promotion from '../topicPages/Promotion'
import type { PortableTextBlock } from '@portabletext/types'
import Seo from '../../pageComponents/shared/Seo'
import type { EventSchema } from '../../types/types'
import type { EventSchema } from '../../types/index'
import { EventJsonLd } from 'next-seo'
import Blocks from '../../pageComponents/shared/portableText/Blocks'
import { twMerge } from 'tailwind-merge'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/pageTemplates/LandingPage.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styled from 'styled-components'
import type { LandingPageSchema } from '../../types/types'
import type { LandingPageSchema } from '../../types/index'
import IngressText from '../shared/portableText/IngressText'
import TitleText from '../shared/portableText/TitleText'
import ContentGroup from '../landingPages/ContentGroup'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/pageTemplates/MagazineIndexPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { UnpaddedText } from './newsroom/StyledComponents'
import { useRef } from 'react'
import usePaginationPadding from '../../lib/hooks/usePaginationPadding'
import Seo from '../../pageComponents/shared/Seo'
import { HeroTypes } from '../../types/types'
import { HeroTypes } from '../../types/index'
import MagazineIndexText from '../shared/portableText/MagazineIndexText'
import { PaginationContextProvider } from '../shared/search/pagination/PaginationContext'
import Teaser from '../shared/Teaser'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/pageTemplates/MagazinePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useRouter } from 'next/router'
import MagazineTagBar from '../shared/MagazineTagBar'
import { PageContent } from './shared/SharedPageContent'
import SharedTitle from './shared/SharedTitle'
import { HeroTypes, MagazinePageSchema } from '../../types/types'
import { HeroTypes, MagazinePageSchema } from '../../types/index'
import { SharedBanner } from './shared/SharedBanner'
import Teaser from '../shared/Teaser'
import Seo from '../../pageComponents/shared/Seo'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/pageTemplates/News.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import getOpenGraphImages from '../../common/helpers/getOpenGraphImages'
import BasicIFrame from '../shared/iframe/BasicIFrame'
import { getFullUrl } from '../../common/helpers/getFullUrl'
import { metaTitleSuffix } from '../../languages'
import type { NewsSchema } from '../../types/types'
import type { NewsSchema } from '../../types/index'
import { toPlainText } from '@portabletext/react'
import Blocks from '../shared/portableText/Blocks'
import { twMerge } from 'tailwind-merge'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/pageTemplates/TopicPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { toPlainText } from '@portabletext/react'
import useSharedTitleStyles from '../../lib/hooks/useSharedTitleStyles'
import { HeroTypes, TopicPageSchema } from '../../types/types'
import { HeroTypes, TopicPageSchema } from '../../types/index'
import Seo from '../shared/Seo'
import { SharedBanner } from './shared/SharedBanner'
import { PageContent } from './shared/SharedPageContent'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/pageTemplates/shared/SharedBanner.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PortableTextBlock } from '@portabletext/types'
import { BackgroundColours, HeroType, HeroTypes, LoopingVideoData } from '../../../types/types'
import { BackgroundColours, HeroType, HeroTypes, LoopingVideoData } from '../../../types/index'
import { DefaultHero } from '../../shared/Hero/DefaultHero'
import { FiftyFiftyHero } from '../../shared/Hero/FiftyFiftyHero'
import { FullImageHero } from '../../shared/Hero/FullImageHero'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import {
DesignOptions,
ImageForTextData,
AnchorLinkListData,
} from '../../../types/types'
} from '../../../types/index'
import { getColorForTheme } from '../../shared/textTeaser/theme'
import Grid from '@sections/Grid/Grid'
import { CampaignBanner } from '@sections/CampaignBanner'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/searchIndexPages/magazineIndex/Hits.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useHits, UseHitsProps } from 'react-instantsearch'
import { FormattedMessage } from 'react-intl'
import styled from 'styled-components'
import MagazineCard from '../../cards/MagazineCard'
import type { MagazineCardData } from '../../../types/types'
import type { MagazineCardData } from '../../../types/index'
import { forwardRef } from 'react'

const HitList = styled.div`
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/shared/ContactList.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ContactListData } from '../../types/types'
import type { ContactListData } from '../../types/index'
import { Text, Heading } from '@components'
import { removeWhiteSpace } from '../../common/helpers/removeWhiteSpace'
import { twMerge } from 'tailwind-merge'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/shared/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { forwardRef } from 'react'
import { Facebook, Instagram, Linkedin, Twitter, Youtube } from '../../icons'
import type { FooterLinkData, SomeType, FooterColumns } from '../../types/types'
import type { FooterLinkData, SomeType, FooterColumns } from '../../types/index'
import { default as NextLink } from 'next/link'


Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/shared/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useRouter } from 'next/router'
import { default as NextLink } from 'next/link'
import { Topbar, BackgroundContainer } from '@components'
import { AllSlugsType, LocalizationSwitch } from './LocalizationSwitch'
import type { MenuData, SimpleMenuData } from '../../types/types'
import type { MenuData, SimpleMenuData } from '../../types/index'
import SiteMenu from './siteMenu/SiteMenu'
import SimpleSiteMenu from './siteMenu/simple/SimpleSiteMenu'
import { Flags } from '../../common/helpers/datasetHelpers'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/shared/Hero/DefaultHero.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ImageWithCaptionData } from '../../../types/types'
import type { ImageWithCaptionData } from '../../../types/index'
import styled from 'styled-components'
import DefaulHeroImage from './DefaultHeroImage'
import { PortableTextBlock } from '@portabletext/types'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/shared/Hero/DefaultHeroImage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ImageWithCaptionData } from '../../../types/types'
import type { ImageWithCaptionData } from '../../../types/index'
import Image, { Ratios } from '../SanityImage'
import { Caption } from '../image/Caption'

Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/shared/Hero/FiftyFiftyHero.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import styled from 'styled-components'
import Image from '../SanityImage'
import TitleText from '../portableText/TitleText'
import type { HeroType } from '../../../types/types'
import type { HeroType } from '../../../types/index'
import { BackgroundContainer } from '@components'
import { ReadMoreLink } from '@core/Link'
import Blocks from '../portableText/Blocks'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/shared/ImageCarousel/ImageCarousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { BackgroundContainer } from '@components'
import styled from 'styled-components'
import TitleText from '../portableText/TitleText'
import { CarouselItem } from './ImageCarouselItem'
import type { ImageCarouselData } from '../../../types/types'
import type { ImageCarouselData } from '../../../types/index'

import 'swiper/css'
import 'swiper/css/pagination'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Image, { Ratios } from '../SanityImage'
import { Caption } from '../image/Caption'
import { EdsProvider } from '@equinor/eds-core-react'
import { NavButton } from './Navigation'
import type { ImageWithAlt } from '../../../types/types'
import type { ImageWithAlt } from '../../../types/index'

const StyledFigure = styled.figure`
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/shared/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { HTMLAttributes } from 'react'
import Footer from './Footer'
import type { FooterColumns } from '../../types/types'
import type { FooterColumns } from '../../types/index'
import { IntlProvider } from 'react-intl'
import { defaultLanguage } from '../../languages'
import { getIsoFromLocale } from '../../lib/localization'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/shared/Quote.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PullQuote } from '@components'
import type { QuoteData } from '../../types/types'
import type { QuoteData } from '../../types/index'
import Image, { Ratios } from './SanityImage'

const Quote = ({ data: { quote, authorTitle, author, image, designOptions } }: { data: QuoteData }) => (
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/shared/RelatedContent.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Fragment, HTMLAttributes } from 'react'
import { Heading, List } from '@components'
import type { RelatedLinksData, LinkData } from '../../types/types'
import type { RelatedLinksData, LinkData } from '../../types/index'
import { ResourceLink } from '@core/Link'
import { getUrlFromAction } from '../../common/helpers'
import { getLocaleFromName } from '../../lib/localization'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/shared/Seo.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NextSeo, WebPageJsonLd } from 'next-seo'
import { ImageWithAlt } from '../../types/types'
import { ImageWithAlt } from '../../types/index'
import { metaTitleSuffix } from '../../languages'
import getOpenGraphImages from '../../common/helpers/getOpenGraphImages'
import { toPlainText } from '@portabletext/react'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/shared/Teaser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import IngressText from './portableText/IngressText'
import { getUrlFromAction, urlFor } from '../../common/helpers'
import Img from 'next/image'
import Image from './SanityImage'
import type { TeaserData, ImageWithAlt } from '../../types/types'
import type { TeaserData, ImageWithAlt } from '../../types/index'
import { ReadMoreLink, ResourceLink } from '../../core/Link'
import { Heading } from '../../core/Typography'
import { getLocaleFromName } from '../../lib/localization'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/shared/VideoPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
VideoPlayerRatios,
VideoType,
VideoDesignOptionsType,
} from '../../types/types'
} from '../../types/index'
import { BackgroundContainer } from '@components'
import { urlFor } from '../../common/helpers'
import IngressText from './portableText/IngressText'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/shared/iframe/BasicIFrame.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styled from 'styled-components'
import type { IFrameData } from '../../../types/types'
import type { IFrameData } from '../../../types/index'
import { BackgroundContainer } from '@components'
import TitleText from '../portableText/TitleText'
import IFrame from './IFrame'
Expand Down
2 changes: 1 addition & 1 deletion web/pageComponents/shared/image/Caption.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { CaptionData } from 'types/types'
import type { CaptionData } from 'types/index'
import { FigureCaption } from '@components'
import { HTMLAttributes } from 'react'

Expand Down
Loading

0 comments on commit efde7cf

Please sign in to comment.