Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandra-Haynes committed Oct 4, 2023
1 parent 3eb5243 commit 72c5074
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 23 deletions.
2 changes: 1 addition & 1 deletion src/components/Logo.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Logo = () => {
<Link href="/" whileHover={{ scale: 1.5 }}>
<Image
alt='Code with Aloha logo'
src="/../public/logo.png"
src="/logo.png"
width={500}
height={500}
className="w-full xl:max-h-24 max-h-[3rem] cursor-pointer m-2 hover:animate-pulse"
Expand Down
8 changes: 4 additions & 4 deletions src/components/Projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ const Projects = () => {

<p className="text-md xl:text-xl py-4 text-center w-2/3 pb-20">
Here are some projects we are currently working on. Click on a project
for details. If you have an idea for a civic project email us and let's
make it happen!
for details. If you have an idea for a civic project email us and
let&apos;s make it happen!
</p>

<div className=" flex pt-10 gap-20 flex-col xl:flex-row">
Expand All @@ -149,7 +149,7 @@ const Projects = () => {
difficult to build diverse, affordable housing."
about="Building an online-interactive map to educate the public on zoning and
land use issues. Our vision is to connect researchers, educators, and advocates."
goals="The project's goals are to build an interactive online map to educate
goals="The project&apos;s goals are to build an interactive online map to educate
the public on zoning and land use issues and generate talking points
for affordable housing advocates in Hawaii. Our second goal is to create
a website that serves as a hub for the resulting coalition of researchers,
Expand Down Expand Up @@ -188,7 +188,7 @@ const Projects = () => {
This planning process is designed to learn from the economic impacts and experiences of hardship associated
with the COVID-19 pandemic to inform and enable actions toward a more resilient, equitable, and sustainable economy."
goals="The CFH project is focused on developing a digital engagement platform via Pol.is and
onboarding materials to solicit resident sentiments on vision and value statements for Hawaii's
onboarding materials to solicit resident sentiments on vision and value statements for Hawaii&apos;s
economic future. Residents will be invited to in-person workshops for onboarding and introduction
to the established Pol.is, where they will be invited to interact with seeded vision and value
statements as well as add new ones."
Expand Down
7 changes: 0 additions & 7 deletions src/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ export default function App({ Component, pageProps }) {
></meta>
<link rel="icon" href="/favicon.ico" />
<title>Code with Aloha</title>

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Montserrat&family=Satisfy&display=swap"
rel="stylesheet"
/>
</Head>
<Component {...pageProps} />
</>
Expand Down
38 changes: 27 additions & 11 deletions src/pages/_document.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,29 @@
import { Html, Head, Main, NextScript } from 'next/document'
import Document, { Html, Head, Main, NextScript } from "next/document";

export default function Document() {
return (
<Html lang="en">
<Head />
<body>
<Main />
<NextScript />
</body>
</Html>
)
export default class MyDocument extends Document {
render() {
return (
<Html lang="en">
<Head>

<link rel="icon" href="/favicon.ico" />

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossOrigin="true"
/>
<link
href="https://fonts.googleapis.com/css2?family=Montserrat&family=Satisfy&display=swap"
rel="stylesheet"
/>
</Head>
<body>
<Main />
<NextScript />
</body>
</Html>
);
}
}

0 comments on commit 72c5074

Please sign in to comment.