Skip to content

Commit

Permalink
Fix linked images, typo, remove PWA checks
Browse files Browse the repository at this point in the history
  • Loading branch information
broad-well committed May 21, 2023
1 parent db86fba commit 765ac16
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
7 changes: 7 additions & 0 deletions lighthouserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ci": {
"assert": {
"preset": "lighthouse:no-pwa"
}
}
}
3 changes: 2 additions & 1 deletion src/pages/about/index.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
import BaseLayout from "../../layouts/BaseLayout.astro";
import { Picture } from "astro-imagetools/components";
const sponsors = [
{
Expand Down Expand Up @@ -34,7 +35,7 @@ const sponsors = [
<BaseLayout title="About The FAMNM | FIRST Alumni & Mentors Network at Michigan">
<div class="container">
<main class="content">
<img class="center" src="/img/logo.png" />
<Picture attributes={{picture: {class: "center"}}} src="/img/logo.png" alt="FAMNM Logo" breakpoints={[840, 1680, 3360]} />
<h1>About</h1>
<p class="text-par">
FAMNM is an on campus effort to unite all of the
Expand Down
2 changes: 1 addition & 1 deletion src/pages/events/ri3d/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const sidePictureAttributes = {
const sidePicture = {
attributes: sidePictureAttributes,
format: ["webp", "png"],
format: ["avif", "webp", "png"],
breakpoints: [640, 1280, 1920]
};
Expand Down
3 changes: 1 addition & 2 deletions src/pages/sponsor/corporate.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import { Img } from "astro-imagetools/components";
import BaseLayout from "../../layouts/BaseLayout.astro";
// FIRST: <i>FIRST<sup>&reg;</sup></i>
---
<BaseLayout title="Support FAMNM as a corporation or professional | FIRST® Alumni & Mentors Network at Michigan"

<BaseLayout title="Support FAMNM as a corporation or professional | FIRST® Alumni & Mentors Network at Michigan">
<div class="container">
<main class="content">
<h1>Supporting FAMNM as a Corporation</h1>
Expand Down
6 changes: 3 additions & 3 deletions src/pages/sponsor/member.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import BaseLayout from "../../layouts/BaseLayout.astro";
<div class="text-par mx-auto">
<h2 class="fs-3 text-center">General Members</h1>
<p id="members">
<img class="my-3 w-50" src="../img/sponsor/general.jpg"/>
<img class="my-3 w-50" src="/img/sponsor/general.jpg"/>
General members assist FAMNM operationally.
We encourage members to attend our biweekly
General Body Meetings to stay updated about
Expand All @@ -33,7 +33,7 @@ import BaseLayout from "../../layouts/BaseLayout.astro";
</p>
<h2 class="fs-3 text-center">Mentors</h1>
<p id="mentors">
<img class="my-3 w-50" src="../img/sponsor/mentor.jpg"/>
<img class="my-3 w-50" src="/img/sponsor/mentor.jpg"/>
FAMNM helps match local teams and
potential mentors. You can choose
to help a team full time, or
Expand All @@ -42,7 +42,7 @@ import BaseLayout from "../../layouts/BaseLayout.astro";
</p>
<h2 class="fs-3 text-center">Volunteers</h1>
<p id="volunteers">
<img class="my-3 w-50" src="../img/sponsor/volunteer.jpg"/>
<img class="my-3 w-50" src="/img/sponsor/volunteer.jpg"/>
Every year, FAMNM sends volunteers
to FIRST events across the state of
Michigan and beyond! We'll do our best to
Expand Down
2 changes: 1 addition & 1 deletion src/pages/teams/freelance.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import BaseLayout from "../../layouts/BaseLayout.astro";
<a href="mailto:famnm.ftc@umich.edu">famnm.ftc@umich.edu</a>, or
<a href="mailto:famnm.fll@umich.edu">famnm.fll@umich.edu</a>.
</p>
<img class="img-fluid col-md-8 col-xs-12" id="freelance-img" src="../img/teams/fr_mentor1.jpg" alt="FAMNM Freelance Mentoring"/>
<img class="img-fluid col-md-8 col-xs-12" id="freelance-img" src="/img/teams/fr_mentor1.jpg" alt="FAMNM Freelance Mentoring"/>
<b>Pictured: Freelance mentors helping out Team 6618 - WARHBOTS for <i>FIRST<sup>&reg;</sup></i> Power Up!</b>
</main>
</div>
Expand Down

0 comments on commit 765ac16

Please sign in to comment.