Fixing prettier issues and compilation.

This commit is contained in:
Bradley Shellnut 2021-10-04 11:22:57 -07:00
parent ca57a2390b
commit 42918ad8dd
4 changed files with 11 additions and 15 deletions

View file

@ -129,13 +129,13 @@ export default function PartyPage() {
{weddingParty.map((party, index) => ( {weddingParty.map((party, index) => (
<PartyCard className="card" key={index}> <PartyCard className="card" key={index}>
<h2 className="center">{party.name}</h2> <h2 className="center">{party.name}</h2>
<CustomNextImage <CustomNextImage
src="https://via.placeholder.com/1200x1600.png" src="https://via.placeholder.com/1200x1600.png"
alt={`${party.name} - ${party.title}`} alt={`${party.name} - ${party.title}`}
objectFit="cover" objectFit="cover"
width="1200" width="1200"
height="1600" height="1600"
/> />
<h3 className="center">{party.title}</h3> <h3 className="center">{party.title}</h3>
</PartyCard> </PartyCard>
))} ))}

View file

@ -36,9 +36,7 @@ export default function QandAPage() {
<QAStyles> <QAStyles>
<ol> <ol>
<li>Question 1</li> <li>Question 1</li>
<p> <p>Answer 1</p>
Answer 1
</p>
<li>How do I get to the venue?</li> <li>How do I get to the venue?</li>
<p> <p>
See more detailed info on our{' '} See more detailed info on our{' '}

View file

@ -388,7 +388,6 @@ export async function getServerSideProps({ params }) {
// TODO: REMOVE THIS WHEN TAKING YOUR SITE TO PRODUCTION // TODO: REMOVE THIS WHEN TAKING YOUR SITE TO PRODUCTION
if (process.env.SITE_ENV === 'TEST_SITE') { if (process.env.SITE_ENV === 'TEST_SITE') {
const group = {};
group.id = params.id; group.id = params.id;
group.guests = [ group.guests = [
{ {

View file

@ -78,9 +78,7 @@ export default function TravelAndStayPage() {
<div> <div>
<h2>Hotel Information</h2> <h2>Hotel Information</h2>
<h2>Do I need to book a hotel room?</h2> <h2>Do I need to book a hotel room?</h2>
<p> <p>Answer</p>
Answer
</p>
<p>There are also hotels in the area such as:</p> <p>There are also hotels in the area such as:</p>
<ul> <ul>
<li> <li>
@ -104,7 +102,8 @@ export default function TravelAndStayPage() {
Example 1 <RiExternalLinkLine /> Example 1 <RiExternalLinkLine />
</a> </a>
</li> </li>
<p>Travel Time: X minute drive (X miles)</p><li> <p>Travel Time: X minute drive (X miles)</p>
<li>
<a <a
href="https://www.hotelexample.com/" href="https://www.hotelexample.com/"
aria-label="Name of Hotel" aria-label="Name of Hotel"