-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
165 additions
and
67 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
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,38 @@ | ||
import { faLayerGroup, faClock } from '@fortawesome/free-solid-svg-icons' | ||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; | ||
import { faYoutube } from '@fortawesome/free-brands-svg-icons'; | ||
import { faStar } from '@fortawesome/free-solid-svg-icons'; | ||
import { faPeopleGroup } from '@fortawesome/free-solid-svg-icons'; | ||
|
||
|
||
export default function Banner() { | ||
return ( | ||
<div className="hidden lg:block w-full bg-[#17133A] py-2"> | ||
<div className="max-w-7xl mx-auto flex items-center justify-center space-x-6 px-8"> | ||
|
||
<div className="flex items-center justify-start"> | ||
<FontAwesomeIcon icon={faLayerGroup} className="text-blue-300 px-2" /> | ||
<span className="text-xs text-gray-300">Over 100+ Landing Pages</span> | ||
</div> | ||
|
||
<div className="flex items-center justify-start"> | ||
<FontAwesomeIcon icon={faStar} className="text-yellow-500 px-2" /> | ||
<span className="text-xs text-gray-200"> | ||
<a href="https://github.com/maxontech/landing-page-design-examples" target="_blank" rel="noopener noreferrer"> | ||
Open Source on GitHub | ||
</a> | ||
</span> | ||
</div> | ||
|
||
<div className="flex items-center justify-start"> | ||
<FontAwesomeIcon icon={faPeopleGroup} className="text-pink-500 px-2" /> | ||
<span className="text-xs text-gray-300"> | ||
<a href="https://www.youtube.com/@maxontech" target="_blank" rel="noopener noreferrer"> | ||
Community of 10,000+ Developers | ||
</a> | ||
</span> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
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,36 @@ | ||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' | ||
import { faLayerGroup, faClock } from '@fortawesome/free-solid-svg-icons' | ||
import Image from 'next/image'; | ||
|
||
export default function Card({ item }) { | ||
return ( | ||
<div className="flex flex-col justify-center mr-1 ml-1 mt-1 mb-3"> | ||
<div className="flex flex-col items-start"> | ||
<div className='overflow-hidden rounded-xl w-[350px] h-[400px] transition-transform duration-500 ease-in-out transform lg:hover:scale-105 shadow-md'> | ||
<Image | ||
src={`https://raw.githubusercontent.com/maxontech/landing-page-design-examples/master/docs/${item.screenshotPath}`} | ||
alt={item.title} | ||
width={500} | ||
height={600} | ||
/> | ||
</div> | ||
<span className="flex justify-between items-baseline mt-2 pl-1 pr-1 w-[350px]"> | ||
<h2 className=" font-semibold text-base">{item.companyName}</h2> | ||
<div className="flex space-x-2 text-base font-normal" > | ||
<p className=""> | ||
{item.stack !== "" && <FontAwesomeIcon className="mx-1" icon={faLayerGroup} />} | ||
{item.stack} | ||
</p> | ||
<p className=""><FontAwesomeIcon className="mx-1" icon={faClock} />{item.timeToPageLoad}ms</p> | ||
</div> | ||
</span> | ||
<span className="flex flex-wrap items-baseline pl-1 pr-1 w-[350px] overflow-auto whitespace-normal"> | ||
{item.tags.map((tag, index) => ( | ||
<p key={index} className="text-base pr-2 font-normal text-gray-600">{"#" + tag.charAt(0).toUpperCase() + tag.slice(1)}</p> | ||
))} | ||
</span> | ||
|
||
</div> | ||
</div> | ||
); | ||
} |