Skip to content

Commit

Permalink
Move layout into pages directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Marjona6 committed Mar 30, 2024
1 parent 6971399 commit ef4fa89
Show file tree
Hide file tree
Showing 12 changed files with 62 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pages/about/contact/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import Layout from '../../../src/components/Layout'
import Layout from '../../layout'

const Contact = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion pages/about/partners/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import Layout from '../../../src/components/Layout'
import Layout from '../../layout'

const Partners = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion pages/about/project/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import Layout from '../../../src/components/Layout'
import Layout from '../../layout'

const Project = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import Layout from '../src/components/Layout'
import Layout from './layout'
import { Link } from 'react-router-dom'

const Index = () => {
Expand Down
File renamed without changes.
18 changes: 18 additions & 0 deletions pages/rights/contact copy 2/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import React from 'react'
import Layout from '../../layout'

const Contact = () => {
return (
<Layout>
Contact
<img
src="/images/project-logos/white-bg.png"
alt="FULFIL logo"
height={75}
width={75}
/>
</Layout>
)
}

export default Contact
18 changes: 18 additions & 0 deletions pages/rights/contact copy/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import React from 'react'
import Layout from '../../layout'

const Contact = () => {
return (
<Layout>
Contact
<img
src="/images/project-logos/white-bg.png"
alt="FULFIL logo"
height={75}
width={75}
/>
</Layout>
)
}

export default Contact
18 changes: 18 additions & 0 deletions pages/rights/contact/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import React from 'react'
import Layout from '../../layout'

const Contact = () => {
return (
<Layout>
Contact
<img
src="/images/project-logos/white-bg.png"
alt="FULFIL logo"
height={75}
width={75}
/>
</Layout>
)
}

export default Contact
2 changes: 1 addition & 1 deletion pages/rights/report/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import Layout from '../../../src/components/Layout'
import Layout from '../../layout'

const Report = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion pages/rights/resources/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import Layout from '../../../src/components/Layout'
import Layout from '../../layout'

const Resources = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion pages/rights/training/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import Layout from '../../../src/components/Layout'
import Layout from '../../layout'

const Training = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion pages/search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import SearchBar from './components/SearchBar'
import ResultsBar from './components/ResultsBar'
import Filters from './components/Filters'
import CaseEntry from './components/CaseEntry'
import Layout from '../../src/components/Layout'
import Layout from '../layout'
import { API_URL, API_KEY } from '../../api/url'

import { createClient } from '@supabase/supabase-js'
Expand Down

0 comments on commit ef4fa89

Please sign in to comment.