generated from taylorbryant/gatsby-starter-tailwind
-
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: migrate openbeta.io/edit to app dir (#1074)
- Loading branch information
Showing
2 changed files
with
19 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { getChangeHistoryServerSide } from '../../js/graphql/contribAPI' | ||
import RecentChangeHistory from '@/components/edit/RecentChangeHistory' | ||
import { ReactElement } from 'react' | ||
import { Metadata } from 'next' | ||
|
||
export const metadata: Metadata = { | ||
title: 'Contribute to OpenBeta', | ||
description: 'Share your climbing adventure photos and contribute to the climbing route catalog.' | ||
} | ||
|
||
export default async function Page (): Promise<ReactElement> { | ||
const history = await getChangeHistoryServerSide() | ||
return ( | ||
<section className='max-w-lg mx-auto w-full'> | ||
<h2 className='px-4 sm:px-0'>Recent history</h2> | ||
<RecentChangeHistory history={history} /> | ||
</section> | ||
) | ||
} |
This file was deleted.
Oops, something went wrong.
a19774f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
open-tacos – ./
open-tacos-openbeta-dev.vercel.app
open-tacos-git-develop-openbeta-dev.vercel.app
www.openbeta.io
openclimbmap.com
tacos.openbeta.io
openbeta.io