File tree Expand file tree Collapse file tree 6 files changed +343
-245
lines changed
Expand file tree Collapse file tree 6 files changed +343
-245
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export function Figure(props: FigureProps) {
99}
1010
1111Figure . Image = function FigureImage ( props : Pick < ImageProps , "src" | "alt" > ) {
12- return < Image src = { props . src } alt = { props . alt } placeholder = "blur" /> ;
12+ return < Image src = { props . src } alt = { props . alt } placeholder = "blur" className = "Figure__Image" /> ;
1313} ;
1414
1515Figure . Caption = function FigureCaption ( props : { children : React . ReactNode } ) {
Original file line number Diff line number Diff line change 44 margin : 2em 0 ;
55}
66
7+ .Figure__Image {
8+ max-width : 100% ;
9+ height : auto;
10+ }
11+
712.Figure__Caption {
813 font-size : var (--fs-s );
914 margin-top : 0.5rem ;
Original file line number Diff line number Diff line change 11import { NextMiddleware , NextResponse } from "next/server" ;
2- import { getAcceptedLanguages } from ".. /lib/getAcceptedLanguages" ;
2+ import { getAcceptedLanguages } from "./lib/getAcceptedLanguages" ;
33
44const middleware : NextMiddleware = ( req ) => {
55 if ( req . nextUrl . pathname === "/" ) {
Original file line number Diff line number Diff line change 1+ /* eslint-env node */
2+
3+ /**
4+ * @type {import('next').NextConfig }
5+ */
6+ const nextConfig = {
7+ swcMinify : false ,
8+ } ;
9+
10+ module . exports = nextConfig ;
Original file line number Diff line number Diff line change 77 "dependencies" : {
88 "@radix-ui/colors" : " 0.1.8" ,
99 "fathom-client" : " 3.5.0" ,
10- "next" : " 12.0.8 " ,
10+ "next" : " 13.1.6 " ,
1111 "react" : " 18.2.0" ,
1212 "react-dom" : " 18.2.0" ,
1313 "react-icons" : " 4.7.1" ,
1414 "react-tooltip" : " 5.7.4" ,
15+ "sharp" : " 0.31.3" ,
1516 "yup" : " 0.32.11"
1617 },
1718 "devDependencies" : {
18- "@next/eslint-plugin-next" : " 12.0.8 " ,
19+ "@next/eslint-plugin-next" : " 13.1.6 " ,
1920 "@testing-library/cypress" : " 8.0.7" ,
2021 "@types/jest" : " 27.5.2" ,
2122 "@types/react" : " 17.0.47" ,
You can’t perform that action at this time.
0 commit comments