Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b42b8c8

Browse files
committed
Update hero text
1 parent 110ae83 commit b42b8c8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/components/Hero.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ export default function Hero() {
77
<div className="mx-auto max-w-7xl px-4 py-16">
88
<div className="text-center">
99
<h1 className="text-4xl tracking-tight font-extrabold text-gray-900 sm:text-5xl md:text-6xl">
10-
<span className="block text-indigo-600 xl:inline">Coderplex </span>
11-
<span className="block xl:inline">Community</span>
10+
<span className="block text-indigo-600 xl:inline">
11+
Learn. Code. Collaborate.
12+
</span>
1213
</h1>
1314
<p className="mt-3 max-w-md mx-auto text-base text-gray-500 sm:text-lg md:mt-5 md:text-xl md:max-w-3xl">
14-
Lorem ipsum dolor sit amet consectetur adipisicing elit.
15-
Reprehenderit nam voluptatibus placeat perspiciatis porro laborum
16-
cum explicabo dolore quae.
15+
Our mission is to help each other to learn more, create awesome
16+
things, and become better developers.
1717
</p>
1818
<div className="mt-5 max-w-md mx-auto sm:flex sm:justify-center md:mt-8">
1919
<div className="rounded-md shadow">

src/components/HomePageFeed.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,13 @@ export default function HomePageFeed({
224224
}
225225
showGoal: boolean
226226
}) {
227-
const [session] = useSession()
227+
const [session, loading] = useSession()
228228
return (
229229
<div className="min-h-screen bg-gray-100 flex flex-col">
230230
<header className="bg-white shadow-sm sticky top-0 z-10">
231231
<AppNavBar />
232232
</header>
233-
{!session && <Hero />}
233+
{!loading && !session && <Hero />}
234234
<div className="py-10 flex-1">
235235
<div className="max-w-3xl mx-auto sm:px-6 lg:max-w-7xl lg:px-8 lg:grid lg:grid-cols-12 lg:gap-8">
236236
<div className="hidden lg:block lg:col-span-3 xl:col-span-2">

0 commit comments

Comments
 (0)