Skip to content
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
6 changes: 3 additions & 3 deletions apps/www/components/Sections/TwitterSocialProof.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { cn } from 'ui'
import { TweetCard } from 'ui-patterns/TweetCard'
import { range } from 'lib/helpers'

import Tweets from '~/data/tweets/Tweets.json'
import tweets from 'shared-data/tweets'
import { useBreakpoint } from 'common'
import React from 'react'

Expand All @@ -16,7 +16,7 @@ const TwitterSocialProof: React.FC<Props> = ({ className }) => {
const { basePath } = useRouter()
const isSm = useBreakpoint()
const isMd = useBreakpoint(1024)
const tweets = Tweets.slice(0, 18)
const tweetsData = tweets.slice(0, 18)

return (
<>
Expand All @@ -39,7 +39,7 @@ const TwitterSocialProof: React.FC<Props> = ({ className }) => {
'will-change-transform transition-transform'
)}
>
{tweets.slice(0, isSm ? 9 : isMd ? 12 : 18).map((tweet: any, i: number) => (
{tweetsData.slice(0, isSm ? 9 : isMd ? 12 : 18).map((tweet: any, i: number) => (
<Link
key={tweet.text}
href={tweet.url}
Expand Down
4 changes: 2 additions & 2 deletions apps/www/data/home/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import VideoWithHighlights from 'components/VideoWithHighlights'
import ProductModules from '../ProductModules'
import { useSendTelemetryEvent } from 'lib/telemetry'

import Tweets from 'data/tweets/Tweets.json'
import tweets from 'shared-data/tweets'
import MainProducts from 'data/MainProducts'

export default () => {
Expand Down Expand Up @@ -204,7 +204,7 @@ export default () => {
</Button>
</>
),
tweets: Tweets.slice(0, 18),
tweets: tweets.slice(0, 18),
},
}
}
230 changes: 0 additions & 230 deletions apps/www/data/tweets/Tweets.json

This file was deleted.

Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading