generated from taylorbryant/gatsby-starter-tailwind
-
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: improve CTA * feat: add loading skeleton to recent edits * fix: correct LCO action strs
- Loading branch information
Showing
8 changed files
with
86 additions
and
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,8 @@ | ||
import Heart from '@/assets/icons/heart-hero' | ||
|
||
export const LandingHero: React.FC = () => { | ||
return ( | ||
<section className='w-full rounded-box p-10 flex justify-center'> | ||
<div className='flex flex-wrap justify-center items-center gap-10'> | ||
<span className='text-4xl md:text-6xl tracking-tight'>Knowledge</span> | ||
<span className='align-text-bottom font-semibold text-2xl'>+</span> | ||
<span className='-translate-y-1 -rotate-6 font-bold text-4xl md:text-6xl tracking-tight hero-text-shadow'>You</span> <span className='font-semibold text-2xl'>=</span> <Heart className='h-16 w-16' /> | ||
</div> | ||
<section className='w-full rounded-box pt-12 pb-24 px-16 text-center'> | ||
<h1 className='text-2xl md:text-5xl tracking-tighter font-semibold'>Share your climbing route knowledge!</h1> | ||
<p className=''>Join OpenBeta and help build a community resource for climbers</p> | ||
</section> | ||
) | ||
} |
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
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 |
---|---|---|
@@ -1,20 +1,26 @@ | ||
import { Suspense } from 'react' | ||
import { LandingCTA } from './components/LandingCTA' | ||
import { LandingHero } from './components/LandingHero' | ||
import { RecentEdits } from './components/RecentEdits' | ||
import { RecentEdits, RecentEditsSkeleton } from './components/RecentEdits' | ||
import { RecentTags } from './components/RecentTags' | ||
import { USAToC } from './components/USAToC' | ||
|
||
/** | ||
* Root home page | ||
*/ | ||
export default async function Home (): Promise<any> { | ||
return ( | ||
<div className='mt-8 w-full flex flex-col gap-y-24'> | ||
<div className='lg:pl-4 lg:grid lg:grid-cols-3'> | ||
<div className='col-span-2 pb-10 bg-gradient-to-r from-cyan-500/40 to-blue-500/60 rounded-box'> | ||
<div className='col-span-2 pb-10 rounded-box'> | ||
<LandingHero /> | ||
<LandingCTA /> | ||
<p className='mt-12 px-10 text-center text-sm'>Our website is undergoing a facelift. Visit the <a href='/classic' className='underline'>old home</a>. <br /><span className='text-base-content/60'>Questions or comments? <a href='mailto:[email protected]'>[email protected]</a></span></p> | ||
</div> | ||
<div className='mt-8 lg:mt-0 lg:overflow-y-auto lg:h-[800px] w-full'> | ||
<RecentEdits /> | ||
<Suspense fallback={<RecentEditsSkeleton />}> | ||
<RecentEdits /> | ||
</Suspense> | ||
</div> | ||
</div> | ||
<RecentTags /> | ||
|
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
8e52db4
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-git-develop-openbeta-dev.vercel.app
open-tacos-openbeta-dev.vercel.app
openclimbmap.com
openbeta.io
tacos.openbeta.io
www.openbeta.io