Skip to content

Commit

Permalink
fix(homepage): component files should not be in page folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ben196888 committed Nov 2, 2023
1 parent 6924fdf commit fd13d59
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Card from '../../../components/cards/card';
import { processCard } from '../../../lib/processCard';
import Card from '../../components/cards/card';
import { processCard } from '../../lib/processCard';

const CardPreview = ({ entry, getAsset, assetsByLocale }) => {
const locale = 'en';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import FooterLinks from '../../../layouts/footer/footerLinks';
import FooterLinks from '../../layouts/footer/footerLinks';

const FooterPreview = ({ entry }) => {
const footer = entry.getIn(['data', 'footer']);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { componentMapper } from '../../../lib/componentMapper';
import contentMapper from '../../../layouts/contentMapper';
import { componentMapper } from '../../lib/componentMapper';
import contentMapper from '../../layouts/contentMapper';

const PagePreview = ({ entry, assetsByLocale }) => {
const locale = 'en';
Expand Down
2 changes: 1 addition & 1 deletion homepage/src/pages/admin/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Script from 'next/script';

import { fetchCards } from '../../lib/fetchCards';
import { processCard } from '../../lib/processCard';
import DecapCms from './DecapCms';
import DecapCms from '../../CMS/DecapCms';

/**
*
Expand Down

0 comments on commit fd13d59

Please sign in to comment.