-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add metadata, disallow robots (#738)
- Loading branch information
Showing
17 changed files
with
265 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
User-agent: * | ||
Disallow: / |
12 changes: 12 additions & 0 deletions
12
src/__tests__/app/dashboard/accounts/[guid]/layout.test.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react'; | ||
import { render, screen } from '@testing-library/react'; | ||
|
||
import AccountLayout from '@/app/dashboard/accounts/[guid]/layout'; | ||
|
||
describe('AccountLayout', () => { | ||
it('renders as expected', () => { | ||
render(<AccountLayout><span>hello</span></AccountLayout>); | ||
|
||
screen.getByText('hello'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react'; | ||
import { render, screen } from '@testing-library/react'; | ||
|
||
import AccountsLayout from '@/app/dashboard/accounts/layout'; | ||
|
||
describe('AccountsLayout', () => { | ||
it('renders as expected', () => { | ||
render(<AccountsLayout><span>hello</span></AccountsLayout>); | ||
|
||
screen.getByText('hello'); | ||
}); | ||
}); |
12 changes: 12 additions & 0 deletions
12
src/__tests__/app/dashboard/commodities/[guid]/layout.test.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react'; | ||
import { render, screen } from '@testing-library/react'; | ||
|
||
import CommodityLayout from '@/app/dashboard/commodities/[guid]/layout'; | ||
|
||
describe('CommodityLayout', () => { | ||
it('renders as expected', () => { | ||
render(<CommodityLayout><span>hello</span></CommodityLayout>); | ||
|
||
screen.getByText('hello'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react'; | ||
import { render, screen } from '@testing-library/react'; | ||
|
||
import CommoditiesLayout from '@/app/dashboard/commodities/layout'; | ||
|
||
describe('CommoditiesLayout', () => { | ||
it('renders as expected', () => { | ||
render(<CommoditiesLayout><span>hello</span></CommoditiesLayout>); | ||
|
||
screen.getByText('hello'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react'; | ||
import { render, screen } from '@testing-library/react'; | ||
|
||
import InvestmentsLayout from '@/app/dashboard/investments/layout'; | ||
|
||
describe('InvestmentsLayout', () => { | ||
it('renders as expected', () => { | ||
render(<InvestmentsLayout><span>hello</span></InvestmentsLayout>); | ||
|
||
screen.getByText('hello'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from 'react'; | ||
|
||
export const metadata = { | ||
title: 'Account | Maffin', | ||
}; | ||
|
||
export default function AccountLayout({ | ||
children, | ||
}: React.PropsWithChildren): JSX.Element { | ||
return ( | ||
<div> | ||
{children} | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from 'react'; | ||
|
||
export const metadata = { | ||
title: 'Home', | ||
}; | ||
|
||
export default function AccountsLayout({ | ||
children, | ||
}: React.PropsWithChildren): JSX.Element { | ||
return ( | ||
<div> | ||
{children} | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from 'react'; | ||
|
||
export const metadata = { | ||
title: 'Commodity | Maffin', | ||
}; | ||
|
||
export default function CommodityLayout({ | ||
children, | ||
}: React.PropsWithChildren): JSX.Element { | ||
return ( | ||
<div> | ||
{children} | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from 'react'; | ||
|
||
export const metadata = { | ||
title: 'Commodities', | ||
}; | ||
|
||
export default function CommoditiesLayout({ | ||
children, | ||
}: React.PropsWithChildren): JSX.Element { | ||
return ( | ||
<div> | ||
{children} | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from 'react'; | ||
|
||
export const metadata = { | ||
title: 'Investments', | ||
}; | ||
|
||
export default function InvestmentsLayout({ | ||
children, | ||
}: React.PropsWithChildren): JSX.Element { | ||
return ( | ||
<div> | ||
{children} | ||
</div> | ||
); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.