Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review lighthouse report #2827 #2835

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 0 additions & 45 deletions web/components/src/Quote/BlockQuote.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions web/components/src/Quote/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ PullQuote.Quote = Quote

export { PullQuote }
export type { PullQuoteProps }

export * from './BlockQuote'
10 changes: 1 addition & 9 deletions web/components/stories/typography/Typography.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ const Article = styled.article`

/* spacing */

figure,
blockquote {
figure {
margin: 0;
}

Expand Down Expand Up @@ -112,13 +111,6 @@ export const Typography: React.FC<TypographyProps> = () => (
supply chain partners. The findings from this initial exploratory phase will form the basis for subsequent
decisions.
</p>
<blockquote>
<p>
“Panasonic’s plan for expanding its footprint in the European lithium-ion battery market Mototsugu Sato,
Executive Vice President of Panasonic, says the company sees the strategic partnership with Equinor and Hydro as
a potential basis for future development and growth in the energy/battery sector in the European region.”
</p>
</blockquote>
<p>
“This collaboration combines Panasonic’s position as an innovative technology company and leader in lithium-ion
batteries, with the deep industrial experience of Equinor and Hydro, both strong global players, to potentially
Expand Down
10 changes: 10 additions & 0 deletions web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export default withBundle({
'video.js',
],
},
swcMinify: true,
transpilePackages: ['friendly-challenge'],
eslint: {
// Warning: Dangerously allow production builds to successfully complete even if
Expand Down Expand Up @@ -94,6 +95,15 @@ export default withBundle({
source: '/:path*',
headers: securityHeaders,
},
{
source: '/fonts/(.*)',
headers: [
{
key: 'Cache-Control',
value: 'public, max-age=604800, immutable',
},
],
},
].filter((e) => e)
},
async redirects() {
Expand Down
Loading