Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshj01 committed Jun 27, 2024
1 parent e5aa183 commit 1daa17a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/app/(main)/_components/Welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default function Welcome() {
{sectionTitles.slice(1).map((title, secIndex) => (
<div
key={secIndex}
className={`px-4 py-2 ${index == secIndex ? 'text-primary' : 'text-white'}`}
className={`px-4 py-2 cursor-pointer ${index == secIndex ? 'text-primary' : 'text-white'}`}
onClick={() => scrollToSection(secIndex + 1)}
>
{title}
Expand Down Expand Up @@ -132,8 +132,8 @@ export default function Welcome() {
</section>

{/* Section 2: Feature 1 */}
<section className="flex flex-col items-center justify-center min-h-screen">
<p className="text-3xl my-8 text-center">
<section className="flex flex-col items-center justify-center min-h-screen pt-8">
<p className="text-3xl mt-8 mb-4 text-center">
Beautiful Markdown with Syntax Highlighting
</p>
<div className="mt-8 w-full max-w-3xl relative overflow-hidden rounded-lg shadow-lg">
Expand All @@ -149,8 +149,8 @@ export default function Welcome() {
</section>

{/* Section 3: Feature 2 */}
<section className="flex flex-col items-center justify-center min-h-screen">
<p className="text-3xl my-8 text-center">
<section className="flex flex-col items-center justify-center min-h-screen pt-8">
<p className="text-3xl mt-8 mb-4 text-center">
Keyboard Shortcuts for Faster Editing
</p>
<div className="mt-8 w-full max-w-3xl relative overflow-hidden rounded-lg shadow-lg">
Expand All @@ -166,8 +166,8 @@ export default function Welcome() {
</div>
</section>
{/* Section 4: Feature 3 */}
<section className="flex flex-col items-center justify-center min-h-screen">
<p className="text-3xl my-8 text-center">
<section className="flex flex-col items-center justify-center min-h-screen pt-8">
<p className="text-3xl mt-8 mb-4 text-center">
Create and Share Logs
</p>
<p>Create stunning logs in minutes with markdown support and share with anyone using a unique URL</p>
Expand All @@ -186,7 +186,7 @@ export default function Welcome() {
</section>

{/* Section 5: Feature 4 */}
<section className="flex flex-col items-center justify-center min-h-screen">
<section className="flex flex-col items-center justify-center min-h-screen pt-8">
<div className="flex flex-col items-center justify-between w-full max-w-3xl">
<p className="text-3xl my-8 text-center">
{/* dark mode */}
Expand Down Expand Up @@ -214,8 +214,8 @@ export default function Welcome() {
</section>

{/* Section 6: Feature 5 */}
<section className="flex flex-col items-center justify-center min-h-screen">
<p className="text-3xl my-8">
<section className="flex flex-col items-center justify-center min-h-screen pt-8">
<p className="text-3xl mt-8 mb-4 text-center">
Save Logs Locally
</p>
<p className="text-center">Your logs are saved locally and can be accessed in the sidebar for quick access.</p>
Expand Down

0 comments on commit 1daa17a

Please sign in to comment.