Skip to content

Commit

Permalink
Merge pull request #153 from dailybruin/react17next10upgrade
Browse files Browse the repository at this point in the history
React17next10upgrade
  • Loading branch information
EdNawrocki authored Nov 7, 2024
2 parents d11c0ba + ddde017 commit 9786e9b
Show file tree
Hide file tree
Showing 86 changed files with 29,243 additions and 5,463 deletions.
2 changes: 1 addition & 1 deletion components/Article/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import moment from "moment";

Expand Down
2 changes: 1 addition & 1 deletion components/ArticleCard/Breaking.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import * as locals from "./locals";
Expand Down
2 changes: 1 addition & 1 deletion components/ArticleCard/BreakingOverview.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import * as locals from "./locals";
Expand Down
2 changes: 1 addition & 1 deletion components/ArticleCard/Full.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import * as locals from "./locals";
Expand Down
2 changes: 1 addition & 1 deletion components/ArticleCard/Horz.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import * as locals from "./locals";
Expand Down
2 changes: 1 addition & 1 deletion components/ArticleCard/Long.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import * as locals from "./locals";
Expand Down
2 changes: 1 addition & 1 deletion components/ArticleCard/Mini.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import * as locals from "./locals";
Expand Down
2 changes: 1 addition & 1 deletion components/ArticleCard/Podcast.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import * as locals from "./locals";
Expand Down
2 changes: 1 addition & 1 deletion components/ArticleCard/Vert.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import * as locals from "./locals";
Expand Down
2 changes: 1 addition & 1 deletion components/ArticleCard/Video.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import * as locals from "./locals";
Expand Down
2 changes: 1 addition & 1 deletion components/ArticleCarousel/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import SwipeableViews from "react-swipeable-views";
import { autoPlay } from "react-swipeable-views-utils";
Expand Down
2 changes: 1 addition & 1 deletion components/AuthorCard/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import emailImage from "./mail.svg";
Expand Down
2 changes: 1 addition & 1 deletion components/BreakingBanner/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";

Expand Down
4 changes: 2 additions & 2 deletions components/BreakingFeedsHeader/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";

Expand Down Expand Up @@ -79,7 +79,7 @@ export default function BreakingFeedsHeader(props) {
}
}
`}>
<svg height="20" width="20" class="blinking"> {/* Adjust the size as needed */}
<svg height="20" width="20" className="blinking"> {/* Adjust the size as needed */}
<circle cx="10" cy="10" r="10" fill="#d12008" />
</svg>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/ClassifiedsCard/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";

Expand Down
2 changes: 1 addition & 1 deletion components/CommentFAB/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import comment from "./comment.svg";
Expand Down
2 changes: 1 addition & 1 deletion components/CommentsCard/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";

import { cardShadow, cardPadding, menuFont } from "../globals";
Expand Down
2 changes: 1 addition & 1 deletion components/EmailSignUp/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";

Expand Down
2 changes: 1 addition & 1 deletion components/FeatureArticle/Landing.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import logo from "./dailybruin.svg";
import * as globals from "../globals";
Expand Down
2 changes: 1 addition & 1 deletion components/FeatureArticle/Tag.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import logo from "./db.png";
// import minilogo from "../../public/favicons/favicon-194x194.png";
Expand Down
2 changes: 1 addition & 1 deletion components/FeatureArticle/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import moment from "moment";

Expand Down
2 changes: 1 addition & 1 deletion components/Footer/FooterLink.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as MainSiteStyles from "../globals";

Expand Down
2 changes: 1 addition & 1 deletion components/Footer/Heart.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react'
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from '@emotion/core'

/**
Expand Down
2 changes: 1 addition & 1 deletion components/Footer/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react'
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from '@emotion/core'
import Heart from './Heart'
import toSentence from '../../utils/toSentence'
Expand Down
2 changes: 1 addition & 1 deletion components/GamesCard/GamesCard.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import Link from "next/link"
Expand Down
2 changes: 1 addition & 1 deletion components/InTheNewsBanner/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";

Expand Down
2 changes: 1 addition & 1 deletion components/LoadingBear/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";

Expand Down
2 changes: 1 addition & 1 deletion components/MainSiteFooter/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as MainSiteStyles from "../globals";
import FooterLink from "../Footer/FooterLink";
Expand Down
2 changes: 1 addition & 1 deletion components/MainSiteHeader/HeaderBar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react'
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from '@emotion/core'

const dbLogo=require('./db_logo.svg')
Expand Down
2 changes: 1 addition & 1 deletion components/MainSiteHeader/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react'
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from '@emotion/core'

import * as MainSiteStyles from '../globals'
Expand Down
2 changes: 1 addition & 1 deletion components/Masthead/Desktop.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { Global, css, jsx } from "@emotion/core";
import moment from "moment";
import Head from "next/head";
Expand Down
2 changes: 1 addition & 1 deletion components/Masthead/Mobile.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { Global, css, jsx } from "@emotion/core";
import Head from "next/head";

Expand Down
2 changes: 1 addition & 1 deletion components/Masthead/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import Link from "next/link";

Expand Down
2 changes: 1 addition & 1 deletion components/MultimediaScroller/Media.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";

import * as globals from "../globals";
Expand Down
2 changes: 1 addition & 1 deletion components/MultimediaScroller/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";

import Media from "./Media";
Expand Down
2 changes: 1 addition & 1 deletion components/Page/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import { date2string } from "./utilities.js";
Expand Down
2 changes: 1 addition & 1 deletion components/PhotoCard/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import * as utilities from "./utilities";
Expand Down
2 changes: 1 addition & 1 deletion components/PhotoGallery/Header.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import InFocusLogo from "./infocus.png";
Expand Down
2 changes: 1 addition & 1 deletion components/PhotoGallery/Photo.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";

Expand Down
2 changes: 1 addition & 1 deletion components/PhotoGallery/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";

Expand Down
2 changes: 1 addition & 1 deletion components/PhotoGrid/Photo.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";

Expand Down
2 changes: 1 addition & 1 deletion components/PhotoGrid/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Head from "next/head";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import Masonry from "react-masonry-component";
Expand Down
2 changes: 1 addition & 1 deletion components/Poll/Choice.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// import { faCheckCircle } from '@fortawesome/free-solid-svg-icons'
// import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import * as React from 'react'
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from '@emotion/core'
import * as MainSiteStyles from '../globals'

Expand Down
2 changes: 1 addition & 1 deletion components/Poll/Graph.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from '@emotion/core'
import * as MainSiteStyles from '../globals'
import * as d3 from 'd3'
Expand Down
2 changes: 1 addition & 1 deletion components/Poll/Question.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react'
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from '@emotion/core'
import * as MainSiteStyles from '../globals'

Expand Down
2 changes: 1 addition & 1 deletion components/Poll/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react'
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from '@emotion/core'
import * as MainSiteStyles from '../globals'
import Choice from './Choice'
Expand Down
2 changes: 1 addition & 1 deletion components/ReviewInfobox/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";

import fullStar from "./paw-filled.svg";
Expand Down
2 changes: 1 addition & 1 deletion components/SearchResults/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";

Expand Down
2 changes: 1 addition & 1 deletion components/SectionHeader/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";
import InFocusLogo from "./infocus.png";
Expand Down
2 changes: 1 addition & 1 deletion components/SectionHeaderSuper/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import Link from "next/link";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";

Expand Down
2 changes: 1 addition & 1 deletion components/ShareButtons/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import * as globals from "../globals";

Expand Down
2 changes: 1 addition & 1 deletion components/SponsoredArticle/Landing.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import logo from "./dailybruin.svg";
import * as globals from "../globals";
Expand Down
2 changes: 1 addition & 1 deletion components/SponsoredArticle/Tag.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
/** @jsx jsx */
/** @jsxImportSource @emotion/react */
import { css, jsx } from "@emotion/core";
import logo from "./db.png";
// import minilogo from "../../public/favicons/favicon-194x194.png";
Expand Down
Loading

0 comments on commit 9786e9b

Please sign in to comment.