Skip to content

Commit

Permalink
feat: Add hero section to the homepage (#2)
Browse files Browse the repository at this point in the history
Implemented a new hero section in the homepage to provide a welcoming introduction and quick overview of the site's purpose. This section includes a main banner with a catchy tagline and a call-to-action button.
  • Loading branch information
DizzyZff authored Nov 25, 2023
1 parent 061ea92 commit 4009478
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import logo from './logo.svg';
import './App.css';
import HeroSection from './HeroSection';

function App() {
return (
Expand All @@ -18,6 +19,7 @@ function App() {
Learn React
</a>
</header>
<HeroSection></HeroSection>
</div>
);
}
Expand Down
12 changes: 12 additions & 0 deletions src/HeroSection.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';

function HeroSection() {
return (
<div className="hero-section">
<h1>Welcome to Dizzy!</h1>
<p>Your hub for creative and innovative projects.</p>
</div>
);
}

export default HeroSection;

0 comments on commit 4009478

Please sign in to comment.