Skip to content

Instantly share code, notes, and snippets.

@achingachris
Created February 22, 2023 13:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save achingachris/45927f894e06f4c360bb4bcf57801064 to your computer and use it in GitHub Desktop.
Save achingachris/45927f894e06f4c360bb4bcf57801064 to your computer and use it in GitHub Desktop.
import Head from 'next/head'
import Image from 'next/image'
export default function Home() {
return (
<>
<Head>
<title>Freelancer Portfolio</title>
<meta name='description' content='Generated by create next app' />
<meta name='viewport' content='width=device-width, initial-scale=1' />
<link rel='icon' href='/favicon.ico' />
</Head>
{/* Navigation*/}
<nav
className='navbar navbar-expand-lg bg-secondary text-uppercase fixed-top'
id='mainNav'
>
<div className='container'>
<a className='navbar-brand' href='#page-top'>
Start Bootstrap
</a>
<button
className='navbar-toggler text-uppercase font-weight-bold bg-primary text-white rounded'
type='button'
data-bs-toggle='collapse'
data-bs-target='#navbarResponsive'
aria-controls='navbarResponsive'
aria-expanded='false'
aria-label='Toggle navigation'
>
Menu
<i className='fas fa-bars' />
</button>
<div className='collapse navbar-collapse' id='navbarResponsive'>
<ul className='navbar-nav ms-auto'>
<li className='nav-item mx-0 mx-lg-1'>
<a
className='nav-link py-3 px-0 px-lg-3 rounded'
href='#portfolio'
>
Portfolio
</a>
</li>
<li className='nav-item mx-0 mx-lg-1'>
<a className='nav-link py-3 px-0 px-lg-3 rounded' href='#about'>
About
</a>
</li>
<li className='nav-item mx-0 mx-lg-1'>
<a
className='nav-link py-3 px-0 px-lg-3 rounded'
href='#contact'
>
Contact
</a>
</li>
</ul>
</div>
</div>
</nav>
{/* Masthead*/}
<header className='masthead bg-primary text-white text-center'>
<div className='container d-flex align-items-center flex-column'>
{/* Masthead Avatar Image*/}
<Image
className='masthead-avatar mb-5'
src='/assets/img/avataaars.svg'
alt='...'
width={200}
height={200}
/>
{/* Masthead Heading*/}
<h1 className='masthead-heading text-uppercase mb-0'>
Start Bootstrap
</h1>
{/* Icon Divider*/}
<div className='divider-custom divider-light'>
<div className='divider-custom-line' />
<div className='divider-custom-icon'>
<i className='fas fa-star' />
</div>
<div className='divider-custom-line' />
</div>
{/* Masthead Subheading*/}
<p className='masthead-subheading font-weight-light mb-0'>
Graphic Artist - Web Designer - Illustrator
</p>
</div>
</header>
{/* Portfolio Section*/}
<section className='page-section portfolio' id='portfolio'>
<div className='container'>
{/* Portfolio Section Heading*/}
<h2 className='page-section-heading text-center text-uppercase text-secondary mb-0'>
Portfolio
</h2>
{/* Icon Divider*/}
<div className='divider-custom'>
<div className='divider-custom-line' />
<div className='divider-custom-icon'>
<i className='fas fa-star' />
</div>
<div className='divider-custom-line' />
</div>
{/* Portfolio Grid Items*/}
<div className='row justify-content-center'>
{/* Portfolio Item 1*/}
<div className='col-md-6 col-lg-4 mb-5'>
<div
className='portfolio-item mx-auto'
data-bs-toggle='modal'
data-bs-target='#portfolioModal1'
>
<div className='portfolio-item-caption d-flex align-items-center justify-content-center h-100 w-100'>
<div className='portfolio-item-caption-content text-center text-white'>
<i className='fas fa-plus fa-3x' />
</div>
</div>
<Image
className='img-fluid'
src='/assets/img/portfolio/cabin.png'
alt='...'
width={400}
height={300}
/>
</div>
</div>
{/* Portfolio Item 2*/}
<div className='col-md-6 col-lg-4 mb-5'>
<div
className='portfolio-item mx-auto'
data-bs-toggle='modal'
data-bs-target='#portfolioModal2'
>
<div className='portfolio-item-caption d-flex align-items-center justify-content-center h-100 w-100'>
<div className='portfolio-item-caption-content text-center text-white'>
<i className='fas fa-plus fa-3x' />
</div>
</div>
<Image
className='img-fluid'
src='/assets/img/portfolio/cake.png'
alt='...'
width={400}
height={300}
/>
</div>
</div>
{/* Portfolio Item 3*/}
<div className='col-md-6 col-lg-4 mb-5'>
<div
className='portfolio-item mx-auto'
data-bs-toggle='modal'
data-bs-target='#portfolioModal3'
>
<div className='portfolio-item-caption d-flex align-items-center justify-content-center h-100 w-100'>
<div className='portfolio-item-caption-content text-center text-white'>
<i className='fas fa-plus fa-3x' />
</div>
</div>
<Image
className='img-fluid'
src='/assets/img/portfolio/circus.png'
alt='...'
width={400}
height={300}
/>
</div>
</div>
{/* Portfolio Item 4*/}
<div className='col-md-6 col-lg-4 mb-5 mb-lg-0'>
<div
className='portfolio-item mx-auto'
data-bs-toggle='modal'
data-bs-target='#portfolioModal4'
>
<div className='portfolio-item-caption d-flex align-items-center justify-content-center h-100 w-100'>
<div className='portfolio-item-caption-content text-center text-white'>
<i className='fas fa-plus fa-3x' />
</div>
</div>
<Image
className='img-fluid'
src='/assets/img/portfolio/game.png'
alt='...'
width={400}
height={300}
/>
</div>
</div>
{/* Portfolio Item 5*/}
<div className='col-md-6 col-lg-4 mb-5 mb-md-0'>
<div
className='portfolio-item mx-auto'
data-bs-toggle='modal'
data-bs-target='#portfolioModal5'
>
<div className='portfolio-item-caption d-flex align-items-center justify-content-center h-100 w-100'>
<div className='portfolio-item-caption-content text-center text-white'>
<i className='fas fa-plus fa-3x' />
</div>
</div>
<Image
className='img-fluid'
src='/assets/img/portfolio/safe.png'
alt='...'
width={400}
height={300}
/>
</div>
</div>
{/* Portfolio Item 6*/}
<div className='col-md-6 col-lg-4'>
<div
className='portfolio-item mx-auto'
data-bs-toggle='modal'
data-bs-target='#portfolioModal6'
>
<div className='portfolio-item-caption d-flex align-items-center justify-content-center h-100 w-100'>
<div className='portfolio-item-caption-content text-center text-white'>
<i className='fas fa-plus fa-3x' />
</div>
</div>
<Image
className='img-fluid'
src='/assets/img/portfolio/submarine.png'
alt='...'
width={400}
height={300}
/>
</div>
</div>
</div>
</div>
</section>
{/* About Section*/}
<section className='page-section bg-primary text-white mb-0' id='about'>
<div className='container'>
{/* About Section Heading*/}
<h2 className='page-section-heading text-center text-uppercase text-white'>
About
</h2>
{/* Icon Divider*/}
<div className='divider-custom divider-light'>
<div className='divider-custom-line' />
<div className='divider-custom-icon'>
<i className='fas fa-star' />
</div>
<div className='divider-custom-line' />
</div>
{/* About Section Content*/}
<div className='row'>
<div className='col-lg-4 ms-auto'>
<p className='lead'>
Freelancer is a free bootstrap theme created by Start Bootstrap.
The download includes the complete source files including HTML,
CSS, and JavaScript as well as optional SASS stylesheets for
easy customization.
</p>
</div>
<div className='col-lg-4 me-auto'>
<p className='lead'>
You can create your own custom avatar for the masthead, change
the icon in the dividers, and add your email address to the
contact form to make it fully functional!
</p>
</div>
</div>
{/* About Section Button*/}
<div className='text-center mt-4'>
<a
className='btn btn-xl btn-outline-light'
href='https://startbootstrap.com/theme/freelancer/'
>
<i className='fas fa-download me-2' />
Free Download!
</a>
</div>
</div>
</section>
{/* Contact Section*/}
<section className='page-section' id='contact'>
<div className='container'>
{/* Contact Section Heading*/}
<h2 className='page-section-heading text-center text-uppercase text-secondary mb-0'>
Contact Me
</h2>
{/* Icon Divider*/}
<div className='divider-custom'>
<div className='divider-custom-line' />
<div className='divider-custom-icon'>
<i className='fas fa-star' />
</div>
<div className='divider-custom-line' />
</div>
{/* Contact Section Form*/}
<div className='row justify-content-center'>
<div className='col-lg-8 col-xl-7'>
{/* * * * * * * * * * * * * * * **/}
{/* * * SB Forms Contact Form * **/}
{/* * * * * * * * * * * * * * * **/}
{/* This form is pre-integrated with SB Forms.*/}
{/* To make this form functional, sign up at*/}
{/* https://startbootstrap.com/solution/contact-forms*/}
{/* to get an API token!*/}
<form id='contactForm' data-sb-form-api-token='API_TOKEN'>
{/* Name input*/}
<div className='form-floating mb-3'>
<input
className='form-control'
id='name'
type='text'
placeholder='Enter your name...'
data-sb-validations='required'
/>
<label htmlFor='name'>Full name</label>
<div
className='invalid-feedback'
data-sb-feedback='name:required'
>
A name is required.
</div>
</div>
{/* Email address input*/}
<div className='form-floating mb-3'>
<input
className='form-control'
id='email'
type='email'
placeholder='name@example.com'
data-sb-validations='required,email'
/>
<label htmlFor='email'>Email address</label>
<div
className='invalid-feedback'
data-sb-feedback='email:required'
>
An email is required.
</div>
<div
className='invalid-feedback'
data-sb-feedback='email:email'
>
Email is not valid.
</div>
</div>
{/* Phone number input*/}
<div className='form-floating mb-3'>
<input
className='form-control'
id='phone'
type='tel'
placeholder='(123) 456-7890'
data-sb-validations='required'
/>
<label htmlFor='phone'>Phone number</label>
<div
className='invalid-feedback'
data-sb-feedback='phone:required'
>
A phone number is required.
</div>
</div>
{/* Message input*/}
<div className='form-floating mb-3'>
<textarea
className='form-control'
id='message'
type='text'
placeholder='Enter your message here...'
style={{ height: '10rem' }}
data-sb-validations='required'
defaultValue={''}
/>
<label htmlFor='message'>Message</label>
<div
className='invalid-feedback'
data-sb-feedback='message:required'
>
A message is required.
</div>
</div>
{/* Submit success message*/}
{/**/}
{/* This is what your users will see when the form*/}
{/* has successfully submitted*/}
<div className='d-none' id='submitSuccessMessage'>
<div className='text-center mb-3'>
<div className='fw-bolder'>Form submission successful!</div>
To activate this form, sign up at
<br />
<a href='https://startbootstrap.com/solution/contact-forms'>
https://startbootstrap.com/solution/contact-forms
</a>
</div>
</div>
{/* Submit error message*/}
{/**/}
{/* This is what your users will see when there is*/}
{/* an error submitting the form*/}
<div className='d-none' id='submitErrorMessage'>
<div className='text-center text-danger mb-3'>
Error sending message!
</div>
</div>
{/* Submit Button*/}
<button
className='btn btn-primary btn-xl disabled'
id='submitButton'
type='submit'
>
Send
</button>
</form>
</div>
</div>
</div>
</section>
{/* Footer*/}
<footer className='footer text-center'>
<div className='container'>
<div className='row'>
{/* Footer Location*/}
<div className='col-lg-4 mb-5 mb-lg-0'>
<h4 className='text-uppercase mb-4'>Location</h4>
<p className='lead mb-0'>
2215 John Daniel Drive
<br />
Clark, MO 65243
</p>
</div>
{/* Footer Social Icons*/}
<div className='col-lg-4 mb-5 mb-lg-0'>
<h4 className='text-uppercase mb-4'>Around the Web</h4>
<a className='btn btn-outline-light btn-social mx-1' href='#!'>
<i className='fab fa-fw fa-facebook-f' />
</a>
<a className='btn btn-outline-light btn-social mx-1' href='#!'>
<i className='fab fa-fw fa-twitter' />
</a>
<a className='btn btn-outline-light btn-social mx-1' href='#!'>
<i className='fab fa-fw fa-linkedin-in' />
</a>
<a className='btn btn-outline-light btn-social mx-1' href='#!'>
<i className='fab fa-fw fa-dribbble' />
</a>
</div>
{/* Footer About Text*/}
<div className='col-lg-4'>
<h4 className='text-uppercase mb-4'>About Freelancer</h4>
<p className='lead mb-0'>
Freelance is a free to use, MIT licensed Bootstrap theme created
by
<a href='http://startbootstrap.com'>Start Bootstrap</a>.
</p>
</div>
</div>
</div>
</footer>
{/* Copyright Section*/}
<div className='copyright py-4 text-center text-white'>
<div className='container'>
<small>Copyright © Your Website 2022</small>
</div>
</div>
{/* Portfolio Modals*/}
{/* Portfolio Modal 1*/}
<div
className='portfolio-modal modal fade'
id='portfolioModal1'
tabIndex={-1}
aria-labelledby='portfolioModal1'
aria-hidden='true'
>
<div className='modal-dialog modal-xl'>
<div className='modal-content'>
<div className='modal-header border-0'>
<button
className='btn-close'
type='button'
data-bs-dismiss='modal'
aria-label='Close'
/>
</div>
<div className='modal-body text-center pb-5'>
<div className='container'>
<div className='row justify-content-center'>
<div className='col-lg-8'>
{/* Portfolio Modal - Title*/}
<h2 className='portfolio-modal-title text-secondary text-uppercase mb-0'>
Log Cabin
</h2>
{/* Icon Divider*/}
<div className='divider-custom'>
<div className='divider-custom-line' />
<div className='divider-custom-icon'>
<i className='fas fa-star' />
</div>
<div className='divider-custom-line' />
</div>
{/* Portfolio Modal - Image*/}
<Image
className='img-fluid rounded mb-5'
src='/assets/img/portfolio/cabin.png'
alt='...'
width={900}
height={600}
/>
{/* Portfolio Modal - Text*/}
<p className='mb-4'>
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Mollitia neque assumenda ipsam nihil, molestias magnam,
recusandae quos quis inventore quisquam velit asperiores,
vitae? Reprehenderit soluta, eos quod consequuntur itaque.
Nam.
</p>
<button className='btn btn-primary' data-bs-dismiss='modal'>
<i className='fas fa-xmark fa-fw' />
Close Window
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{/* Portfolio Modal 2*/}
<div
className='portfolio-modal modal fade'
id='portfolioModal2'
tabIndex={-1}
aria-labelledby='portfolioModal2'
aria-hidden='true'
>
<div className='modal-dialog modal-xl'>
<div className='modal-content'>
<div className='modal-header border-0'>
<button
className='btn-close'
type='button'
data-bs-dismiss='modal'
aria-label='Close'
/>
</div>
<div className='modal-body text-center pb-5'>
<div className='container'>
<div className='row justify-content-center'>
<div className='col-lg-8'>
{/* Portfolio Modal - Title*/}
<h2 className='portfolio-modal-title text-secondary text-uppercase mb-0'>
Tasty Cake
</h2>
{/* Icon Divider*/}
<div className='divider-custom'>
<div className='divider-custom-line' />
<div className='divider-custom-icon'>
<i className='fas fa-star' />
</div>
<div className='divider-custom-line' />
</div>
{/* Portfolio Modal - Image*/}
<Image
className='img-fluid rounded mb-5'
src='/assets/img/portfolio/cake.png'
alt='...'
width={900}
height={600}
/>
{/* Portfolio Modal - Text*/}
<p className='mb-4'>
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Mollitia neque assumenda ipsam nihil, molestias magnam,
recusandae quos quis inventore quisquam velit asperiores,
vitae? Reprehenderit soluta, eos quod consequuntur itaque.
Nam.
</p>
<button className='btn btn-primary' data-bs-dismiss='modal'>
<i className='fas fa-xmark fa-fw' />
Close Window
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{/* Portfolio Modal 3*/}
<div
className='portfolio-modal modal fade'
id='portfolioModal3'
tabIndex={-1}
aria-labelledby='portfolioModal3'
aria-hidden='true'
>
<div className='modal-dialog modal-xl'>
<div className='modal-content'>
<div className='modal-header border-0'>
<button
className='btn-close'
type='button'
data-bs-dismiss='modal'
aria-label='Close'
/>
</div>
<div className='modal-body text-center pb-5'>
<div className='container'>
<div className='row justify-content-center'>
<div className='col-lg-8'>
{/* Portfolio Modal - Title*/}
<h2 className='portfolio-modal-title text-secondary text-uppercase mb-0'>
Circus Tent
</h2>
{/* Icon Divider*/}
<div className='divider-custom'>
<div className='divider-custom-line' />
<div className='divider-custom-icon'>
<i className='fas fa-star' />
</div>
<div className='divider-custom-line' />
</div>
{/* Portfolio Modal - Image*/}
<Image
className='img-fluid rounded mb-5'
src='/assets/img/portfolio/circus.png'
alt='...'
width={900}
height={600}
/>
{/* Portfolio Modal - Text*/}
<p className='mb-4'>
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Mollitia neque assumenda ipsam nihil, molestias magnam,
recusandae quos quis inventore quisquam velit asperiores,
vitae? Reprehenderit soluta, eos quod consequuntur itaque.
Nam.
</p>
<button className='btn btn-primary' data-bs-dismiss='modal'>
<i className='fas fa-xmark fa-fw' />
Close Window
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{/* Portfolio Modal 4*/}
<div
className='portfolio-modal modal fade'
id='portfolioModal4'
tabIndex={-1}
aria-labelledby='portfolioModal4'
aria-hidden='true'
>
<div className='modal-dialog modal-xl'>
<div className='modal-content'>
<div className='modal-header border-0'>
<button
className='btn-close'
type='button'
data-bs-dismiss='modal'
aria-label='Close'
/>
</div>
<div className='modal-body text-center pb-5'>
<div className='container'>
<div className='row justify-content-center'>
<div className='col-lg-8'>
{/* Portfolio Modal - Title*/}
<h2 className='portfolio-modal-title text-secondary text-uppercase mb-0'>
Controller
</h2>
{/* Icon Divider*/}
<div className='divider-custom'>
<div className='divider-custom-line' />
<div className='divider-custom-icon'>
<i className='fas fa-star' />
</div>
<div className='divider-custom-line' />
</div>
{/* Portfolio Modal - Image*/}
<Image
className='img-fluid rounded mb-5'
src='/assets/img/portfolio/game.png'
alt='...'
width={900}
height={600}
/>
{/* Portfolio Modal - Text*/}
<p className='mb-4'>
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Mollitia neque assumenda ipsam nihil, molestias magnam,
recusandae quos quis inventore quisquam velit asperiores,
vitae? Reprehenderit soluta, eos quod consequuntur itaque.
Nam.
</p>
<button className='btn btn-primary' data-bs-dismiss='modal'>
<i className='fas fa-xmark fa-fw' />
Close Window
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{/* Portfolio Modal 5*/}
<div
className='portfolio-modal modal fade'
id='portfolioModal5'
tabIndex={-1}
aria-labelledby='portfolioModal5'
aria-hidden='true'
>
<div className='modal-dialog modal-xl'>
<div className='modal-content'>
<div className='modal-header border-0'>
<button
className='btn-close'
type='button'
data-bs-dismiss='modal'
aria-label='Close'
/>
</div>
<div className='modal-body text-center pb-5'>
<div className='container'>
<div className='row justify-content-center'>
<div className='col-lg-8'>
{/* Portfolio Modal - Title*/}
<h2 className='portfolio-modal-title text-secondary text-uppercase mb-0'>
Locked Safe
</h2>
{/* Icon Divider*/}
<div className='divider-custom'>
<div className='divider-custom-line' />
<div className='divider-custom-icon'>
<i className='fas fa-star' />
</div>
<div className='divider-custom-line' />
</div>
{/* Portfolio Modal - Image*/}
<Image
className='img-fluid rounded mb-5'
src='/assets/img/portfolio/safe.png'
alt='...'
width={900}
height={600}
/>
{/* Portfolio Modal - Text*/}
<p className='mb-4'>
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Mollitia neque assumenda ipsam nihil, molestias magnam,
recusandae quos quis inventore quisquam velit asperiores,
vitae? Reprehenderit soluta, eos quod consequuntur itaque.
Nam.
</p>
<button className='btn btn-primary' data-bs-dismiss='modal'>
<i className='fas fa-xmark fa-fw' />
Close Window
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{/* Portfolio Modal 6*/}
<div
className='portfolio-modal modal fade'
id='portfolioModal6'
tabIndex={-1}
aria-labelledby='portfolioModal6'
aria-hidden='true'
>
<div className='modal-dialog modal-xl'>
<div className='modal-content'>
<div className='modal-header border-0'>
<button
className='btn-close'
type='button'
data-bs-dismiss='modal'
aria-label='Close'
/>
</div>
<div className='modal-body text-center pb-5'>
<div className='container'>
<div className='row justify-content-center'>
<div className='col-lg-8'>
{/* Portfolio Modal - Title*/}
<h2 className='portfolio-modal-title text-secondary text-uppercase mb-0'>
Submarine
</h2>
{/* Icon Divider*/}
<div className='divider-custom'>
<div className='divider-custom-line' />
<div className='divider-custom-icon'>
<i className='fas fa-star' />
</div>
<div className='divider-custom-line' />
</div>
{/* Portfolio Modal - Image*/}
<Image
className='img-fluid rounded mb-5'
src='/assets/img/portfolio/submarine.png'
alt='...'
width={900}
height={600}
/>
{/* Portfolio Modal - Text*/}
<p className='mb-4'>
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Mollitia neque assumenda ipsam nihil, molestias magnam,
recusandae quos quis inventore quisquam velit asperiores,
vitae? Reprehenderit soluta, eos quod consequuntur itaque.
Nam.
</p>
<button className='btn btn-primary' data-bs-dismiss='modal'>
<i className='fas fa-xmark fa-fw' />
Close Window
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</>
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment