Skip to content

Commit

Permalink
refactor: move placeholder generator to shared libs
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Nov 4, 2023
1 parent 86ed9bc commit f625012
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/about/components/image-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import Image from 'next/image'
import Tilt from 'react-parallax-tilt'
import { placeholder } from './placeholder'
import { placeholder } from '../../../shared/lib/placeholder'

export function ImageCard({ mobile = false }) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Image from 'next/image'
import { GithubLogo } from '@/shared/wrappers/phosphor-icons'
import { Card } from '../card'
import { ApiErrorMessage } from '../api-error'
import { placeholder } from '../../../components/placeholder'
import { placeholder } from '../../../../../shared/lib/placeholder'

type User = {
followers: number
Expand Down
2 changes: 1 addition & 1 deletion src/app/about/sections/dashboard/cards/last-track.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { SpotifyLogo } from '@/shared/wrappers/phosphor-icons'

import { Card } from '../card'
import { ApiErrorMessage } from '../api-error'
import { placeholder } from '../../../components/placeholder'
import { placeholder } from '../../../../../shared/lib/placeholder'

type Track = {
artist: {
Expand Down
File renamed without changes.

0 comments on commit f625012

Please sign in to comment.