diff --git a/components/banner.js b/components/Banner.jsx similarity index 99% rename from components/banner.js rename to components/Banner.jsx index 2c291a9..a46edc0 100644 --- a/components/banner.js +++ b/components/Banner.jsx @@ -1,5 +1,4 @@ import Image from "next/image"; - import smallFlag from "/public/uswds/img/us_flag_small.png"; import iconDotGov from "/public/uswds/img/icon-dot-gov.svg"; import iconHttps from "/public/uswds/img/icon-https.svg"; diff --git a/components/footer.js b/components/Footer.jsx similarity index 100% rename from components/footer.js rename to components/Footer.jsx diff --git a/components/gridContainer.js b/components/GridContainer.jsx similarity index 95% rename from components/gridContainer.js rename to components/GridContainer.jsx index 39d03fa..f7ee25b 100644 --- a/components/gridContainer.js +++ b/components/GridContainer.jsx @@ -1,7 +1,7 @@ -import SvgAccessibleForward from "./icons/AccessibleForward.js"; -import SvgBuild from "./icons/Build.js"; -import SvgConstructionWorker from "./icons/ConstructionWorker.js"; -import SvgGithub from "./icons/Github.js"; +import SvgAccessibleForward from "./icons/AccessibleForward"; +import SvgBuild from "./icons/Build"; +import SvgConstructionWorker from "./icons/ConstructionWorker"; +import SvgGithub from "./icons/Github"; export default function GridContainer() { return ( diff --git a/components/header.js b/components/Header.jsx similarity index 95% rename from components/header.js rename to components/Header.jsx index 458d6c9..f736446 100644 --- a/components/header.js +++ b/components/Header.jsx @@ -1,6 +1,5 @@ import Link from "next/link"; - -import Banner from "./banner"; +import Banner from "./Banner"; export default function Header() { return ( diff --git a/components/hero.js b/components/Hero.jsx similarity index 100% rename from components/hero.js rename to components/Hero.jsx diff --git a/components/intro.js b/components/Intro.jsx similarity index 100% rename from components/intro.js rename to components/Intro.jsx diff --git a/components/masthead.js b/components/Masthead.jsx similarity index 99% rename from components/masthead.js rename to components/Masthead.jsx index fda2451..4a14085 100644 --- a/components/masthead.js +++ b/components/Masthead.jsx @@ -1,5 +1,4 @@ import Image from "next/image"; - import circle from "/public/uswds/img/circle-gray-20.svg"; export default function Masthead() { diff --git a/components/nav.js b/components/Nav.jsx similarity index 98% rename from components/nav.js rename to components/Nav.jsx index bbe0748..c61993b 100644 --- a/components/nav.js +++ b/components/Nav.jsx @@ -1,4 +1,4 @@ -import Masthead from "./masthead"; +import Masthead from "./Masthead"; export default function Nav() { return ( diff --git a/components/tagline.js b/components/Tagline.jsx similarity index 100% rename from components/tagline.js rename to components/Tagline.jsx diff --git a/components/icons/AccessibilityNew.js b/components/icons/AccessibilityNew.jsx similarity index 100% rename from components/icons/AccessibilityNew.js rename to components/icons/AccessibilityNew.jsx diff --git a/components/icons/AccessibleForward.js b/components/icons/AccessibleForward.jsx similarity index 100% rename from components/icons/AccessibleForward.js rename to components/icons/AccessibleForward.jsx diff --git a/components/icons/AccountBalance.js b/components/icons/AccountBalance.jsx similarity index 100% rename from components/icons/AccountBalance.js rename to components/icons/AccountBalance.jsx diff --git a/components/icons/AccountBox.js b/components/icons/AccountBox.jsx similarity index 100% rename from components/icons/AccountBox.js rename to components/icons/AccountBox.jsx diff --git a/components/icons/AccountCircle.js b/components/icons/AccountCircle.jsx similarity index 100% rename from components/icons/AccountCircle.js rename to components/icons/AccountCircle.jsx diff --git a/components/icons/Add.js b/components/icons/Add.jsx similarity index 100% rename from components/icons/Add.js rename to components/icons/Add.jsx diff --git a/components/icons/AddCircle.js b/components/icons/AddCircle.jsx similarity index 100% rename from components/icons/AddCircle.js rename to components/icons/AddCircle.jsx diff --git a/components/icons/AddCircleOutline.js b/components/icons/AddCircleOutline.jsx similarity index 100% rename from components/icons/AddCircleOutline.js rename to components/icons/AddCircleOutline.jsx diff --git a/components/icons/Alarm.js b/components/icons/Alarm.jsx similarity index 100% rename from components/icons/Alarm.js rename to components/icons/Alarm.jsx diff --git a/components/icons/AlternateEmail.js b/components/icons/AlternateEmail.jsx similarity index 100% rename from components/icons/AlternateEmail.js rename to components/icons/AlternateEmail.jsx diff --git a/components/icons/Announcement.js b/components/icons/Announcement.jsx similarity index 100% rename from components/icons/Announcement.js rename to components/icons/Announcement.jsx diff --git a/components/icons/Api.js b/components/icons/Api.jsx similarity index 100% rename from components/icons/Api.js rename to components/icons/Api.jsx diff --git a/components/icons/ArrowBack.js b/components/icons/ArrowBack.jsx similarity index 100% rename from components/icons/ArrowBack.js rename to components/icons/ArrowBack.jsx diff --git a/components/icons/ArrowDownward.js b/components/icons/ArrowDownward.jsx similarity index 100% rename from components/icons/ArrowDownward.js rename to components/icons/ArrowDownward.jsx diff --git a/components/icons/ArrowDropDown.js b/components/icons/ArrowDropDown.jsx similarity index 100% rename from components/icons/ArrowDropDown.js rename to components/icons/ArrowDropDown.jsx diff --git a/components/icons/ArrowDropUp.js b/components/icons/ArrowDropUp.jsx similarity index 100% rename from components/icons/ArrowDropUp.js rename to components/icons/ArrowDropUp.jsx diff --git a/components/icons/ArrowForward.js b/components/icons/ArrowForward.jsx similarity index 100% rename from components/icons/ArrowForward.js rename to components/icons/ArrowForward.jsx diff --git a/components/icons/ArrowUpward.js b/components/icons/ArrowUpward.jsx similarity index 100% rename from components/icons/ArrowUpward.js rename to components/icons/ArrowUpward.jsx diff --git a/components/icons/Assessment.js b/components/icons/Assessment.jsx similarity index 100% rename from components/icons/Assessment.js rename to components/icons/Assessment.jsx diff --git a/components/icons/AttachFile.js b/components/icons/AttachFile.jsx similarity index 100% rename from components/icons/AttachFile.js rename to components/icons/AttachFile.jsx diff --git a/components/icons/AttachMoney.js b/components/icons/AttachMoney.jsx similarity index 100% rename from components/icons/AttachMoney.js rename to components/icons/AttachMoney.jsx diff --git a/components/icons/Autorenew.js b/components/icons/Autorenew.jsx similarity index 100% rename from components/icons/Autorenew.js rename to components/icons/Autorenew.jsx diff --git a/components/icons/Backpack.js b/components/icons/Backpack.jsx similarity index 100% rename from components/icons/Backpack.js rename to components/icons/Backpack.jsx diff --git a/components/icons/Bathtub.js b/components/icons/Bathtub.jsx similarity index 100% rename from components/icons/Bathtub.js rename to components/icons/Bathtub.jsx diff --git a/components/icons/Bedding.js b/components/icons/Bedding.jsx similarity index 100% rename from components/icons/Bedding.js rename to components/icons/Bedding.jsx diff --git a/components/icons/Bookmark.js b/components/icons/Bookmark.jsx similarity index 100% rename from components/icons/Bookmark.js rename to components/icons/Bookmark.jsx diff --git a/components/icons/BugReport.js b/components/icons/BugReport.jsx similarity index 100% rename from components/icons/BugReport.js rename to components/icons/BugReport.jsx diff --git a/components/icons/Build.js b/components/icons/Build.jsx similarity index 100% rename from components/icons/Build.js rename to components/icons/Build.jsx diff --git a/components/icons/CalendarToday.js b/components/icons/CalendarToday.jsx similarity index 100% rename from components/icons/CalendarToday.js rename to components/icons/CalendarToday.jsx diff --git a/components/icons/Campaign.js b/components/icons/Campaign.jsx similarity index 100% rename from components/icons/Campaign.js rename to components/icons/Campaign.jsx diff --git a/components/icons/Camping.js b/components/icons/Camping.jsx similarity index 100% rename from components/icons/Camping.js rename to components/icons/Camping.jsx diff --git a/components/icons/Cancel.js b/components/icons/Cancel.jsx similarity index 100% rename from components/icons/Cancel.js rename to components/icons/Cancel.jsx diff --git a/components/icons/Chat.js b/components/icons/Chat.jsx similarity index 100% rename from components/icons/Chat.js rename to components/icons/Chat.jsx diff --git a/components/icons/Check.js b/components/icons/Check.jsx similarity index 100% rename from components/icons/Check.js rename to components/icons/Check.jsx diff --git a/components/icons/CheckBoxOutlineBlank.js b/components/icons/CheckBoxOutlineBlank.jsx similarity index 100% rename from components/icons/CheckBoxOutlineBlank.js rename to components/icons/CheckBoxOutlineBlank.jsx diff --git a/components/icons/CheckCircle.js b/components/icons/CheckCircle.jsx similarity index 100% rename from components/icons/CheckCircle.js rename to components/icons/CheckCircle.jsx diff --git a/components/icons/CheckCircleOutline.js b/components/icons/CheckCircleOutline.jsx similarity index 100% rename from components/icons/CheckCircleOutline.js rename to components/icons/CheckCircleOutline.jsx diff --git a/components/icons/Checkroom.js b/components/icons/Checkroom.jsx similarity index 100% rename from components/icons/Checkroom.js rename to components/icons/Checkroom.jsx diff --git a/components/icons/ChevronLeft.js b/components/icons/ChevronLeft.jsx similarity index 100% rename from components/icons/ChevronLeft.js rename to components/icons/ChevronLeft.jsx diff --git a/components/icons/ChevronRight.js b/components/icons/ChevronRight.jsx similarity index 100% rename from components/icons/ChevronRight.js rename to components/icons/ChevronRight.jsx diff --git a/components/icons/CleanHands.js b/components/icons/CleanHands.jsx similarity index 100% rename from components/icons/CleanHands.js rename to components/icons/CleanHands.jsx diff --git a/components/icons/Close.js b/components/icons/Close.jsx similarity index 100% rename from components/icons/Close.js rename to components/icons/Close.jsx diff --git a/components/icons/ClosedCaption.js b/components/icons/ClosedCaption.jsx similarity index 100% rename from components/icons/ClosedCaption.js rename to components/icons/ClosedCaption.jsx diff --git a/components/icons/Clothes.js b/components/icons/Clothes.jsx similarity index 100% rename from components/icons/Clothes.js rename to components/icons/Clothes.jsx diff --git a/components/icons/Cloud.js b/components/icons/Cloud.jsx similarity index 100% rename from components/icons/Cloud.js rename to components/icons/Cloud.jsx diff --git a/components/icons/Code.js b/components/icons/Code.jsx similarity index 100% rename from components/icons/Code.js rename to components/icons/Code.jsx diff --git a/components/icons/Comment.js b/components/icons/Comment.jsx similarity index 100% rename from components/icons/Comment.js rename to components/icons/Comment.jsx diff --git a/components/icons/ConnectWithoutContact.js b/components/icons/ConnectWithoutContact.jsx similarity index 100% rename from components/icons/ConnectWithoutContact.js rename to components/icons/ConnectWithoutContact.jsx diff --git a/components/icons/Construction.js b/components/icons/Construction.jsx similarity index 100% rename from components/icons/Construction.js rename to components/icons/Construction.jsx diff --git a/components/icons/ConstructionWorker.js b/components/icons/ConstructionWorker.jsx similarity index 100% rename from components/icons/ConstructionWorker.js rename to components/icons/ConstructionWorker.jsx diff --git a/components/icons/ContactPage.js b/components/icons/ContactPage.jsx similarity index 100% rename from components/icons/ContactPage.js rename to components/icons/ContactPage.jsx diff --git a/components/icons/ContentCopy.js b/components/icons/ContentCopy.jsx similarity index 100% rename from components/icons/ContentCopy.js rename to components/icons/ContentCopy.jsx diff --git a/components/icons/Coronavirus.js b/components/icons/Coronavirus.jsx similarity index 100% rename from components/icons/Coronavirus.js rename to components/icons/Coronavirus.jsx diff --git a/components/icons/CreditCard.js b/components/icons/CreditCard.jsx similarity index 100% rename from components/icons/CreditCard.js rename to components/icons/CreditCard.jsx diff --git a/components/icons/Deck.js b/components/icons/Deck.jsx similarity index 100% rename from components/icons/Deck.js rename to components/icons/Deck.jsx diff --git a/components/icons/Delete.js b/components/icons/Delete.jsx similarity index 100% rename from components/icons/Delete.js rename to components/icons/Delete.jsx diff --git a/components/icons/DeviceThermostat.js b/components/icons/DeviceThermostat.jsx similarity index 100% rename from components/icons/DeviceThermostat.js rename to components/icons/DeviceThermostat.jsx diff --git a/components/icons/Directions.js b/components/icons/Directions.jsx similarity index 100% rename from components/icons/Directions.js rename to components/icons/Directions.jsx diff --git a/components/icons/DirectionsBike.js b/components/icons/DirectionsBike.jsx similarity index 100% rename from components/icons/DirectionsBike.js rename to components/icons/DirectionsBike.jsx diff --git a/components/icons/DirectionsBus.js b/components/icons/DirectionsBus.jsx similarity index 100% rename from components/icons/DirectionsBus.js rename to components/icons/DirectionsBus.jsx diff --git a/components/icons/DirectionsCar.js b/components/icons/DirectionsCar.jsx similarity index 100% rename from components/icons/DirectionsCar.js rename to components/icons/DirectionsCar.jsx diff --git a/components/icons/DirectionsWalk.js b/components/icons/DirectionsWalk.jsx similarity index 100% rename from components/icons/DirectionsWalk.js rename to components/icons/DirectionsWalk.jsx diff --git a/components/icons/DoNotDisturb.js b/components/icons/DoNotDisturb.jsx similarity index 100% rename from components/icons/DoNotDisturb.js rename to components/icons/DoNotDisturb.jsx diff --git a/components/icons/DoNotTouch.js b/components/icons/DoNotTouch.jsx similarity index 100% rename from components/icons/DoNotTouch.js rename to components/icons/DoNotTouch.jsx diff --git a/components/icons/DragHandle.js b/components/icons/DragHandle.jsx similarity index 100% rename from components/icons/DragHandle.js rename to components/icons/DragHandle.jsx diff --git a/components/icons/Eco.js b/components/icons/Eco.jsx similarity index 100% rename from components/icons/Eco.js rename to components/icons/Eco.jsx diff --git a/components/icons/Edit.js b/components/icons/Edit.jsx similarity index 100% rename from components/icons/Edit.js rename to components/icons/Edit.jsx diff --git a/components/icons/ElectricalServices.js b/components/icons/ElectricalServices.jsx similarity index 100% rename from components/icons/ElectricalServices.js rename to components/icons/ElectricalServices.jsx diff --git a/components/icons/EmojiEvents.js b/components/icons/EmojiEvents.jsx similarity index 100% rename from components/icons/EmojiEvents.js rename to components/icons/EmojiEvents.jsx diff --git a/components/icons/Error.js b/components/icons/Error.jsx similarity index 100% rename from components/icons/Error.js rename to components/icons/Error.jsx diff --git a/components/icons/ErrorOutline.js b/components/icons/ErrorOutline.jsx similarity index 100% rename from components/icons/ErrorOutline.js rename to components/icons/ErrorOutline.jsx diff --git a/components/icons/Event.js b/components/icons/Event.jsx similarity index 100% rename from components/icons/Event.js rename to components/icons/Event.jsx diff --git a/components/icons/ExpandLess.js b/components/icons/ExpandLess.jsx similarity index 100% rename from components/icons/ExpandLess.js rename to components/icons/ExpandLess.jsx diff --git a/components/icons/ExpandMore.js b/components/icons/ExpandMore.jsx similarity index 100% rename from components/icons/ExpandMore.js rename to components/icons/ExpandMore.jsx diff --git a/components/icons/Facebook.js b/components/icons/Facebook.jsx similarity index 100% rename from components/icons/Facebook.js rename to components/icons/Facebook.jsx diff --git a/components/icons/FastForward.js b/components/icons/FastForward.jsx similarity index 100% rename from components/icons/FastForward.js rename to components/icons/FastForward.jsx diff --git a/components/icons/FastRewind.js b/components/icons/FastRewind.jsx similarity index 100% rename from components/icons/FastRewind.js rename to components/icons/FastRewind.jsx diff --git a/components/icons/Favorite.js b/components/icons/Favorite.jsx similarity index 100% rename from components/icons/Favorite.js rename to components/icons/Favorite.jsx diff --git a/components/icons/FavoriteBorder.js b/components/icons/FavoriteBorder.jsx similarity index 100% rename from components/icons/FavoriteBorder.js rename to components/icons/FavoriteBorder.jsx diff --git a/components/icons/Fax.js b/components/icons/Fax.jsx similarity index 100% rename from components/icons/Fax.js rename to components/icons/Fax.jsx diff --git a/components/icons/FileDownload.js b/components/icons/FileDownload.jsx similarity index 100% rename from components/icons/FileDownload.js rename to components/icons/FileDownload.jsx diff --git a/components/icons/FilePresent.js b/components/icons/FilePresent.jsx similarity index 100% rename from components/icons/FilePresent.js rename to components/icons/FilePresent.jsx diff --git a/components/icons/FileUpload.js b/components/icons/FileUpload.jsx similarity index 100% rename from components/icons/FileUpload.js rename to components/icons/FileUpload.jsx diff --git a/components/icons/FilterAlt.js b/components/icons/FilterAlt.jsx similarity index 100% rename from components/icons/FilterAlt.js rename to components/icons/FilterAlt.jsx diff --git a/components/icons/FilterList.js b/components/icons/FilterList.jsx similarity index 100% rename from components/icons/FilterList.js rename to components/icons/FilterList.jsx diff --git a/components/icons/Fingerprint.js b/components/icons/Fingerprint.jsx similarity index 100% rename from components/icons/Fingerprint.js rename to components/icons/Fingerprint.jsx diff --git a/components/icons/FirstPage.js b/components/icons/FirstPage.jsx similarity index 100% rename from components/icons/FirstPage.js rename to components/icons/FirstPage.jsx diff --git a/components/icons/Flag.js b/components/icons/Flag.jsx similarity index 100% rename from components/icons/Flag.js rename to components/icons/Flag.jsx diff --git a/components/icons/Flickr.js b/components/icons/Flickr.jsx similarity index 100% rename from components/icons/Flickr.js rename to components/icons/Flickr.jsx diff --git a/components/icons/Flight.js b/components/icons/Flight.jsx similarity index 100% rename from components/icons/Flight.js rename to components/icons/Flight.jsx diff --git a/components/icons/Flooding.js b/components/icons/Flooding.jsx similarity index 100% rename from components/icons/Flooding.js rename to components/icons/Flooding.jsx diff --git a/components/icons/Folder.js b/components/icons/Folder.jsx similarity index 100% rename from components/icons/Folder.js rename to components/icons/Folder.jsx diff --git a/components/icons/FolderOpen.js b/components/icons/FolderOpen.jsx similarity index 100% rename from components/icons/FolderOpen.js rename to components/icons/FolderOpen.jsx diff --git a/components/icons/FormatQuote.js b/components/icons/FormatQuote.jsx similarity index 100% rename from components/icons/FormatQuote.js rename to components/icons/FormatQuote.jsx diff --git a/components/icons/FormatSize.js b/components/icons/FormatSize.jsx similarity index 100% rename from components/icons/FormatSize.js rename to components/icons/FormatSize.jsx diff --git a/components/icons/Forum.js b/components/icons/Forum.jsx similarity index 100% rename from components/icons/Forum.js rename to components/icons/Forum.jsx diff --git a/components/icons/Github.js b/components/icons/Github.jsx similarity index 100% rename from components/icons/Github.js rename to components/icons/Github.jsx diff --git a/components/icons/GridView.js b/components/icons/GridView.jsx similarity index 100% rename from components/icons/GridView.js rename to components/icons/GridView.jsx diff --git a/components/icons/GroupAdd.js b/components/icons/GroupAdd.jsx similarity index 100% rename from components/icons/GroupAdd.js rename to components/icons/GroupAdd.jsx diff --git a/components/icons/Groups.js b/components/icons/Groups.jsx similarity index 100% rename from components/icons/Groups.js rename to components/icons/Groups.jsx diff --git a/components/icons/Hearing.js b/components/icons/Hearing.jsx similarity index 100% rename from components/icons/Hearing.js rename to components/icons/Hearing.jsx diff --git a/components/icons/Help.js b/components/icons/Help.jsx similarity index 100% rename from components/icons/Help.js rename to components/icons/Help.jsx diff --git a/components/icons/HelpOutline.js b/components/icons/HelpOutline.jsx similarity index 100% rename from components/icons/HelpOutline.js rename to components/icons/HelpOutline.jsx diff --git a/components/icons/HighlightOff.js b/components/icons/HighlightOff.jsx similarity index 100% rename from components/icons/HighlightOff.js rename to components/icons/HighlightOff.jsx diff --git a/components/icons/History.js b/components/icons/History.jsx similarity index 100% rename from components/icons/History.js rename to components/icons/History.jsx diff --git a/components/icons/Home.js b/components/icons/Home.jsx similarity index 100% rename from components/icons/Home.js rename to components/icons/Home.jsx diff --git a/components/icons/Hospital.js b/components/icons/Hospital.jsx similarity index 100% rename from components/icons/Hospital.js rename to components/icons/Hospital.jsx diff --git a/components/icons/Hotel.js b/components/icons/Hotel.jsx similarity index 100% rename from components/icons/Hotel.js rename to components/icons/Hotel.jsx diff --git a/components/icons/HourglassEmpty.js b/components/icons/HourglassEmpty.jsx similarity index 100% rename from components/icons/HourglassEmpty.js rename to components/icons/HourglassEmpty.jsx diff --git a/components/icons/Hurricane.js b/components/icons/Hurricane.jsx similarity index 100% rename from components/icons/Hurricane.js rename to components/icons/Hurricane.jsx diff --git a/components/icons/Identification.js b/components/icons/Identification.jsx similarity index 100% rename from components/icons/Identification.js rename to components/icons/Identification.jsx diff --git a/components/icons/Image.js b/components/icons/Image.jsx similarity index 100% rename from components/icons/Image.js rename to components/icons/Image.jsx diff --git a/components/icons/Info.js b/components/icons/Info.jsx similarity index 100% rename from components/icons/Info.js rename to components/icons/Info.jsx diff --git a/components/icons/InfoOutline.js b/components/icons/InfoOutline.jsx similarity index 100% rename from components/icons/InfoOutline.js rename to components/icons/InfoOutline.jsx diff --git a/components/icons/Insights.js b/components/icons/Insights.jsx similarity index 100% rename from components/icons/Insights.js rename to components/icons/Insights.jsx diff --git a/components/icons/Instagram.js b/components/icons/Instagram.jsx similarity index 100% rename from components/icons/Instagram.js rename to components/icons/Instagram.jsx diff --git a/components/icons/Keyboard.js b/components/icons/Keyboard.jsx similarity index 100% rename from components/icons/Keyboard.js rename to components/icons/Keyboard.jsx diff --git a/components/icons/Label.js b/components/icons/Label.jsx similarity index 100% rename from components/icons/Label.js rename to components/icons/Label.jsx diff --git a/components/icons/Language.js b/components/icons/Language.jsx similarity index 100% rename from components/icons/Language.js rename to components/icons/Language.jsx diff --git a/components/icons/LastPage.js b/components/icons/LastPage.jsx similarity index 100% rename from components/icons/LastPage.js rename to components/icons/LastPage.jsx diff --git a/components/icons/Launch.js b/components/icons/Launch.jsx similarity index 100% rename from components/icons/Launch.js rename to components/icons/Launch.jsx diff --git a/components/icons/Lightbulb.js b/components/icons/Lightbulb.jsx similarity index 100% rename from components/icons/Lightbulb.js rename to components/icons/Lightbulb.jsx diff --git a/components/icons/LightbulbOutline.js b/components/icons/LightbulbOutline.jsx similarity index 100% rename from components/icons/LightbulbOutline.js rename to components/icons/LightbulbOutline.jsx diff --git a/components/icons/Link.js b/components/icons/Link.jsx similarity index 100% rename from components/icons/Link.js rename to components/icons/Link.jsx diff --git a/components/icons/LinkOff.js b/components/icons/LinkOff.jsx similarity index 100% rename from components/icons/LinkOff.js rename to components/icons/LinkOff.jsx diff --git a/components/icons/Linkedin.js b/components/icons/Linkedin.jsx similarity index 100% rename from components/icons/Linkedin.js rename to components/icons/Linkedin.jsx diff --git a/components/icons/List.js b/components/icons/List.jsx similarity index 100% rename from components/icons/List.js rename to components/icons/List.jsx diff --git a/components/icons/LocalCafe.js b/components/icons/LocalCafe.jsx similarity index 100% rename from components/icons/LocalCafe.js rename to components/icons/LocalCafe.jsx diff --git a/components/icons/LocalFireDepartment.js b/components/icons/LocalFireDepartment.jsx similarity index 100% rename from components/icons/LocalFireDepartment.js rename to components/icons/LocalFireDepartment.jsx diff --git a/components/icons/LocalGasStation.js b/components/icons/LocalGasStation.jsx similarity index 100% rename from components/icons/LocalGasStation.js rename to components/icons/LocalGasStation.jsx diff --git a/components/icons/LocalGroceryStore.js b/components/icons/LocalGroceryStore.jsx similarity index 100% rename from components/icons/LocalGroceryStore.js rename to components/icons/LocalGroceryStore.jsx diff --git a/components/icons/LocalHospital.js b/components/icons/LocalHospital.jsx similarity index 100% rename from components/icons/LocalHospital.js rename to components/icons/LocalHospital.jsx diff --git a/components/icons/LocalLaundryService.js b/components/icons/LocalLaundryService.jsx similarity index 100% rename from components/icons/LocalLaundryService.js rename to components/icons/LocalLaundryService.jsx diff --git a/components/icons/LocalLibrary.js b/components/icons/LocalLibrary.jsx similarity index 100% rename from components/icons/LocalLibrary.js rename to components/icons/LocalLibrary.jsx diff --git a/components/icons/LocalOffer.js b/components/icons/LocalOffer.jsx similarity index 100% rename from components/icons/LocalOffer.js rename to components/icons/LocalOffer.jsx diff --git a/components/icons/LocalParking.js b/components/icons/LocalParking.jsx similarity index 100% rename from components/icons/LocalParking.js rename to components/icons/LocalParking.jsx diff --git a/components/icons/LocalPharmacy.js b/components/icons/LocalPharmacy.jsx similarity index 100% rename from components/icons/LocalPharmacy.js rename to components/icons/LocalPharmacy.jsx diff --git a/components/icons/LocalPolice.js b/components/icons/LocalPolice.jsx similarity index 100% rename from components/icons/LocalPolice.js rename to components/icons/LocalPolice.jsx diff --git a/components/icons/LocalTaxi.js b/components/icons/LocalTaxi.jsx similarity index 100% rename from components/icons/LocalTaxi.js rename to components/icons/LocalTaxi.jsx diff --git a/components/icons/LocationCity.js b/components/icons/LocationCity.jsx similarity index 100% rename from components/icons/LocationCity.js rename to components/icons/LocationCity.jsx diff --git a/components/icons/LocationOn.js b/components/icons/LocationOn.jsx similarity index 100% rename from components/icons/LocationOn.js rename to components/icons/LocationOn.jsx diff --git a/components/icons/Lock.js b/components/icons/Lock.jsx similarity index 100% rename from components/icons/Lock.js rename to components/icons/Lock.jsx diff --git a/components/icons/LockOpen.js b/components/icons/LockOpen.jsx similarity index 100% rename from components/icons/LockOpen.js rename to components/icons/LockOpen.jsx diff --git a/components/icons/LockOutline.js b/components/icons/LockOutline.jsx similarity index 100% rename from components/icons/LockOutline.js rename to components/icons/LockOutline.jsx diff --git a/components/icons/Login.js b/components/icons/Login.jsx similarity index 100% rename from components/icons/Login.js rename to components/icons/Login.jsx diff --git a/components/icons/Logout.js b/components/icons/Logout.jsx similarity index 100% rename from components/icons/Logout.js rename to components/icons/Logout.jsx diff --git a/components/icons/Loop.js b/components/icons/Loop.jsx similarity index 100% rename from components/icons/Loop.js rename to components/icons/Loop.jsx diff --git a/components/icons/Mail.js b/components/icons/Mail.jsx similarity index 100% rename from components/icons/Mail.js rename to components/icons/Mail.jsx diff --git a/components/icons/MailOutline.js b/components/icons/MailOutline.jsx similarity index 100% rename from components/icons/MailOutline.js rename to components/icons/MailOutline.jsx diff --git a/components/icons/Map.js b/components/icons/Map.jsx similarity index 100% rename from components/icons/Map.js rename to components/icons/Map.jsx diff --git a/components/icons/Masks.js b/components/icons/Masks.jsx similarity index 100% rename from components/icons/Masks.js rename to components/icons/Masks.jsx diff --git a/components/icons/MedicalServices.js b/components/icons/MedicalServices.jsx similarity index 100% rename from components/icons/MedicalServices.js rename to components/icons/MedicalServices.jsx diff --git a/components/icons/Menu.js b/components/icons/Menu.jsx similarity index 100% rename from components/icons/Menu.js rename to components/icons/Menu.jsx diff --git a/components/icons/MilitaryTech.js b/components/icons/MilitaryTech.jsx similarity index 100% rename from components/icons/MilitaryTech.js rename to components/icons/MilitaryTech.jsx diff --git a/components/icons/MoreHoriz.js b/components/icons/MoreHoriz.jsx similarity index 100% rename from components/icons/MoreHoriz.js rename to components/icons/MoreHoriz.jsx diff --git a/components/icons/MoreVert.js b/components/icons/MoreVert.jsx similarity index 100% rename from components/icons/MoreVert.js rename to components/icons/MoreVert.jsx diff --git a/components/icons/MyLocation.js b/components/icons/MyLocation.jsx similarity index 100% rename from components/icons/MyLocation.js rename to components/icons/MyLocation.jsx diff --git a/components/icons/NavigateBefore.js b/components/icons/NavigateBefore.jsx similarity index 100% rename from components/icons/NavigateBefore.js rename to components/icons/NavigateBefore.jsx diff --git a/components/icons/NavigateFarBefore.js b/components/icons/NavigateFarBefore.jsx similarity index 100% rename from components/icons/NavigateFarBefore.js rename to components/icons/NavigateFarBefore.jsx diff --git a/components/icons/NavigateFarNext.js b/components/icons/NavigateFarNext.jsx similarity index 100% rename from components/icons/NavigateFarNext.js rename to components/icons/NavigateFarNext.jsx diff --git a/components/icons/NavigateNext.js b/components/icons/NavigateNext.jsx similarity index 100% rename from components/icons/NavigateNext.js rename to components/icons/NavigateNext.jsx diff --git a/components/icons/NearMe.js b/components/icons/NearMe.jsx similarity index 100% rename from components/icons/NearMe.js rename to components/icons/NearMe.jsx diff --git a/components/icons/Notifications.js b/components/icons/Notifications.jsx similarity index 100% rename from components/icons/Notifications.js rename to components/icons/Notifications.jsx diff --git a/components/icons/NotificationsActive.js b/components/icons/NotificationsActive.jsx similarity index 100% rename from components/icons/NotificationsActive.js rename to components/icons/NotificationsActive.jsx diff --git a/components/icons/NotificationsNone.js b/components/icons/NotificationsNone.jsx similarity index 100% rename from components/icons/NotificationsNone.js rename to components/icons/NotificationsNone.jsx diff --git a/components/icons/NotificationsOff.js b/components/icons/NotificationsOff.jsx similarity index 100% rename from components/icons/NotificationsOff.js rename to components/icons/NotificationsOff.jsx diff --git a/components/icons/Park.js b/components/icons/Park.jsx similarity index 100% rename from components/icons/Park.js rename to components/icons/Park.jsx diff --git a/components/icons/People.js b/components/icons/People.jsx similarity index 100% rename from components/icons/People.js rename to components/icons/People.jsx diff --git a/components/icons/Person.js b/components/icons/Person.jsx similarity index 100% rename from components/icons/Person.js rename to components/icons/Person.jsx diff --git a/components/icons/Pets.js b/components/icons/Pets.jsx similarity index 100% rename from components/icons/Pets.js rename to components/icons/Pets.jsx diff --git a/components/icons/Phone.js b/components/icons/Phone.jsx similarity index 100% rename from components/icons/Phone.js rename to components/icons/Phone.jsx diff --git a/components/icons/PhotoCamera.js b/components/icons/PhotoCamera.jsx similarity index 100% rename from components/icons/PhotoCamera.js rename to components/icons/PhotoCamera.jsx diff --git a/components/icons/Print.js b/components/icons/Print.jsx similarity index 100% rename from components/icons/Print.js rename to components/icons/Print.jsx diff --git a/components/icons/PriorityHigh.js b/components/icons/PriorityHigh.jsx similarity index 100% rename from components/icons/PriorityHigh.js rename to components/icons/PriorityHigh.jsx diff --git a/components/icons/Public.js b/components/icons/Public.jsx similarity index 100% rename from components/icons/Public.js rename to components/icons/Public.jsx diff --git a/components/icons/PushPin.js b/components/icons/PushPin.jsx similarity index 100% rename from components/icons/PushPin.js rename to components/icons/PushPin.jsx diff --git a/components/icons/RadioButtonUnchecked.js b/components/icons/RadioButtonUnchecked.jsx similarity index 100% rename from components/icons/RadioButtonUnchecked.js rename to components/icons/RadioButtonUnchecked.jsx diff --git a/components/icons/Rain.js b/components/icons/Rain.jsx similarity index 100% rename from components/icons/Rain.js rename to components/icons/Rain.jsx diff --git a/components/icons/ReduceCapacity.js b/components/icons/ReduceCapacity.jsx similarity index 100% rename from components/icons/ReduceCapacity.js rename to components/icons/ReduceCapacity.jsx diff --git a/components/icons/Remove.js b/components/icons/Remove.jsx similarity index 100% rename from components/icons/Remove.js rename to components/icons/Remove.jsx diff --git a/components/icons/RemoveCircle.js b/components/icons/RemoveCircle.jsx similarity index 100% rename from components/icons/RemoveCircle.js rename to components/icons/RemoveCircle.jsx diff --git a/components/icons/Report.js b/components/icons/Report.jsx similarity index 100% rename from components/icons/Report.js rename to components/icons/Report.jsx diff --git a/components/icons/Restaurant.js b/components/icons/Restaurant.jsx similarity index 100% rename from components/icons/Restaurant.js rename to components/icons/Restaurant.jsx diff --git a/components/icons/RssFeed.js b/components/icons/RssFeed.jsx similarity index 100% rename from components/icons/RssFeed.js rename to components/icons/RssFeed.jsx diff --git a/components/icons/SafetyDivider.js b/components/icons/SafetyDivider.jsx similarity index 100% rename from components/icons/SafetyDivider.js rename to components/icons/SafetyDivider.jsx diff --git a/components/icons/Sanitizer.js b/components/icons/Sanitizer.jsx similarity index 100% rename from components/icons/Sanitizer.js rename to components/icons/Sanitizer.jsx diff --git a/components/icons/SaveAlt.js b/components/icons/SaveAlt.jsx similarity index 100% rename from components/icons/SaveAlt.js rename to components/icons/SaveAlt.jsx diff --git a/components/icons/Schedule.js b/components/icons/Schedule.jsx similarity index 100% rename from components/icons/Schedule.js rename to components/icons/Schedule.jsx diff --git a/components/icons/School.js b/components/icons/School.jsx similarity index 100% rename from components/icons/School.js rename to components/icons/School.jsx diff --git a/components/icons/Science.js b/components/icons/Science.jsx similarity index 100% rename from components/icons/Science.js rename to components/icons/Science.jsx diff --git a/components/icons/Search.js b/components/icons/Search.jsx similarity index 100% rename from components/icons/Search.js rename to components/icons/Search.jsx diff --git a/components/icons/Security.js b/components/icons/Security.jsx similarity index 100% rename from components/icons/Security.js rename to components/icons/Security.jsx diff --git a/components/icons/Send.js b/components/icons/Send.jsx similarity index 100% rename from components/icons/Send.js rename to components/icons/Send.jsx diff --git a/components/icons/SentimentDissatisfied.js b/components/icons/SentimentDissatisfied.jsx similarity index 100% rename from components/icons/SentimentDissatisfied.js rename to components/icons/SentimentDissatisfied.jsx diff --git a/components/icons/SentimentNeutral.js b/components/icons/SentimentNeutral.jsx similarity index 100% rename from components/icons/SentimentNeutral.js rename to components/icons/SentimentNeutral.jsx diff --git a/components/icons/SentimentSatisfied.js b/components/icons/SentimentSatisfied.jsx similarity index 100% rename from components/icons/SentimentSatisfied.js rename to components/icons/SentimentSatisfied.jsx diff --git a/components/icons/SentimentSatisfiedAlt.js b/components/icons/SentimentSatisfiedAlt.jsx similarity index 100% rename from components/icons/SentimentSatisfiedAlt.js rename to components/icons/SentimentSatisfiedAlt.jsx diff --git a/components/icons/SentimentVeryDissatisfied.js b/components/icons/SentimentVeryDissatisfied.jsx similarity index 100% rename from components/icons/SentimentVeryDissatisfied.js rename to components/icons/SentimentVeryDissatisfied.jsx diff --git a/components/icons/Settings.js b/components/icons/Settings.jsx similarity index 100% rename from components/icons/Settings.js rename to components/icons/Settings.jsx diff --git a/components/icons/SevereWeather.js b/components/icons/SevereWeather.jsx similarity index 100% rename from components/icons/SevereWeather.js rename to components/icons/SevereWeather.jsx diff --git a/components/icons/Share.js b/components/icons/Share.jsx similarity index 100% rename from components/icons/Share.js rename to components/icons/Share.jsx diff --git a/components/icons/Shield.js b/components/icons/Shield.jsx similarity index 100% rename from components/icons/Shield.js rename to components/icons/Shield.jsx diff --git a/components/icons/ShoppingBasket.js b/components/icons/ShoppingBasket.jsx similarity index 100% rename from components/icons/ShoppingBasket.js rename to components/icons/ShoppingBasket.jsx diff --git a/components/icons/Snow.js b/components/icons/Snow.jsx similarity index 100% rename from components/icons/Snow.js rename to components/icons/Snow.jsx diff --git a/components/icons/Soap.js b/components/icons/Soap.jsx similarity index 100% rename from components/icons/Soap.js rename to components/icons/Soap.jsx diff --git a/components/icons/SocialDistance.js b/components/icons/SocialDistance.jsx similarity index 100% rename from components/icons/SocialDistance.js rename to components/icons/SocialDistance.jsx diff --git a/components/icons/SortArrow.js b/components/icons/SortArrow.jsx similarity index 100% rename from components/icons/SortArrow.js rename to components/icons/SortArrow.jsx diff --git a/components/icons/Spellcheck.js b/components/icons/Spellcheck.jsx similarity index 100% rename from components/icons/Spellcheck.js rename to components/icons/Spellcheck.jsx diff --git a/components/icons/Star.js b/components/icons/Star.jsx similarity index 100% rename from components/icons/Star.js rename to components/icons/Star.jsx diff --git a/components/icons/StarHalf.js b/components/icons/StarHalf.jsx similarity index 100% rename from components/icons/StarHalf.js rename to components/icons/StarHalf.jsx diff --git a/components/icons/StarOutline.js b/components/icons/StarOutline.jsx similarity index 100% rename from components/icons/StarOutline.js rename to components/icons/StarOutline.jsx diff --git a/components/icons/Store.js b/components/icons/Store.jsx similarity index 100% rename from components/icons/Store.js rename to components/icons/Store.jsx diff --git a/components/icons/Support.js b/components/icons/Support.jsx similarity index 100% rename from components/icons/Support.js rename to components/icons/Support.jsx diff --git a/components/icons/SupportAgent.js b/components/icons/SupportAgent.jsx similarity index 100% rename from components/icons/SupportAgent.js rename to components/icons/SupportAgent.jsx diff --git a/components/icons/TextFields.js b/components/icons/TextFields.jsx similarity index 100% rename from components/icons/TextFields.js rename to components/icons/TextFields.jsx diff --git a/components/icons/ThumbDownAlt.js b/components/icons/ThumbDownAlt.jsx similarity index 100% rename from components/icons/ThumbDownAlt.js rename to components/icons/ThumbDownAlt.jsx diff --git a/components/icons/ThumbUpAlt.js b/components/icons/ThumbUpAlt.jsx similarity index 100% rename from components/icons/ThumbUpAlt.js rename to components/icons/ThumbUpAlt.jsx diff --git a/components/icons/Timer.js b/components/icons/Timer.jsx similarity index 100% rename from components/icons/Timer.js rename to components/icons/Timer.jsx diff --git a/components/icons/ToggleOff.js b/components/icons/ToggleOff.jsx similarity index 100% rename from components/icons/ToggleOff.js rename to components/icons/ToggleOff.jsx diff --git a/components/icons/ToggleOn.js b/components/icons/ToggleOn.jsx similarity index 100% rename from components/icons/ToggleOn.js rename to components/icons/ToggleOn.jsx diff --git a/components/icons/Topic.js b/components/icons/Topic.jsx similarity index 100% rename from components/icons/Topic.js rename to components/icons/Topic.jsx diff --git a/components/icons/Tornado.js b/components/icons/Tornado.jsx similarity index 100% rename from components/icons/Tornado.js rename to components/icons/Tornado.jsx diff --git a/components/icons/Translate.js b/components/icons/Translate.jsx similarity index 100% rename from components/icons/Translate.js rename to components/icons/Translate.jsx diff --git a/components/icons/TrendingDown.js b/components/icons/TrendingDown.jsx similarity index 100% rename from components/icons/TrendingDown.js rename to components/icons/TrendingDown.jsx diff --git a/components/icons/TrendingUp.js b/components/icons/TrendingUp.jsx similarity index 100% rename from components/icons/TrendingUp.js rename to components/icons/TrendingUp.jsx diff --git a/components/icons/Twitter.js b/components/icons/Twitter.jsx similarity index 100% rename from components/icons/Twitter.js rename to components/icons/Twitter.jsx diff --git a/components/icons/Undo.js b/components/icons/Undo.jsx similarity index 100% rename from components/icons/Undo.js rename to components/icons/Undo.jsx diff --git a/components/icons/UnfoldLess.js b/components/icons/UnfoldLess.jsx similarity index 100% rename from components/icons/UnfoldLess.js rename to components/icons/UnfoldLess.jsx diff --git a/components/icons/UnfoldMore.js b/components/icons/UnfoldMore.jsx similarity index 100% rename from components/icons/UnfoldMore.js rename to components/icons/UnfoldMore.jsx diff --git a/components/icons/Update.js b/components/icons/Update.jsx similarity index 100% rename from components/icons/Update.js rename to components/icons/Update.jsx diff --git a/components/icons/UploadFile.js b/components/icons/UploadFile.jsx similarity index 100% rename from components/icons/UploadFile.js rename to components/icons/UploadFile.jsx diff --git a/components/icons/Verified.js b/components/icons/Verified.jsx similarity index 100% rename from components/icons/Verified.js rename to components/icons/Verified.jsx diff --git a/components/icons/VerifiedUser.js b/components/icons/VerifiedUser.jsx similarity index 100% rename from components/icons/VerifiedUser.js rename to components/icons/VerifiedUser.jsx diff --git a/components/icons/Visibility.js b/components/icons/Visibility.jsx similarity index 100% rename from components/icons/Visibility.js rename to components/icons/Visibility.jsx diff --git a/components/icons/VisibilityOff.js b/components/icons/VisibilityOff.jsx similarity index 100% rename from components/icons/VisibilityOff.js rename to components/icons/VisibilityOff.jsx diff --git a/components/icons/VolumeOff.js b/components/icons/VolumeOff.jsx similarity index 100% rename from components/icons/VolumeOff.js rename to components/icons/VolumeOff.jsx diff --git a/components/icons/Warning.js b/components/icons/Warning.jsx similarity index 100% rename from components/icons/Warning.js rename to components/icons/Warning.jsx diff --git a/components/icons/Wash.js b/components/icons/Wash.jsx similarity index 100% rename from components/icons/Wash.js rename to components/icons/Wash.jsx diff --git a/components/icons/Wifi.js b/components/icons/Wifi.jsx similarity index 100% rename from components/icons/Wifi.js rename to components/icons/Wifi.jsx diff --git a/components/icons/Work.js b/components/icons/Work.jsx similarity index 100% rename from components/icons/Work.js rename to components/icons/Work.jsx diff --git a/components/icons/Youtube.js b/components/icons/Youtube.jsx similarity index 100% rename from components/icons/Youtube.js rename to components/icons/Youtube.jsx diff --git a/components/icons/ZoomIn.js b/components/icons/ZoomIn.jsx similarity index 100% rename from components/icons/ZoomIn.js rename to components/icons/ZoomIn.jsx diff --git a/components/icons/ZoomOut.js b/components/icons/ZoomOut.jsx similarity index 100% rename from components/icons/ZoomOut.js rename to components/icons/ZoomOut.jsx diff --git a/components/icons/ZoomOutMap.js b/components/icons/ZoomOutMap.jsx similarity index 100% rename from components/icons/ZoomOutMap.js rename to components/icons/ZoomOutMap.jsx diff --git a/components/icons/index.js b/components/icons/index.jsx similarity index 100% rename from components/icons/index.js rename to components/icons/index.jsx diff --git a/next-env.d.ts b/next-env.d.ts new file mode 100644 index 0000000..4f11a03 --- /dev/null +++ b/next-env.d.ts @@ -0,0 +1,5 @@ +/// +/// + +// NOTE: This file should not be edited +// see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/package-lock.json b/package-lock.json index 2749a49..a62b066 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,10 @@ "sharp": "^0.31.3" }, "devDependencies": { - "sass": "^1.58.0" + "@types/node": "^20.14.12", + "@types/react": "^18.3.3", + "sass": "^1.58.0", + "typescript": "^5.5.4" } }, "node_modules/@ampproject/remapping": { @@ -1590,11 +1593,36 @@ "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==" }, + "node_modules/@types/node": { + "version": "20.14.12", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.12.tgz", + "integrity": "sha512-r7wNXakLeSsGT0H1AU863vS2wa5wBOK4bWMjZz2wj+8nBx+m5PeIn0k8AloSLpRuiwdRQZwarZqHE4FNArPuJQ==", + "dev": true, + "dependencies": { + "undici-types": "~5.26.4" + } + }, "node_modules/@types/parse-json": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" }, + "node_modules/@types/prop-types": { + "version": "15.7.12", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", + "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==", + "dev": true + }, + "node_modules/@types/react": { + "version": "18.3.3", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", + "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", + "dev": true, + "dependencies": { + "@types/prop-types": "*", + "csstype": "^3.0.2" + } + }, "node_modules/@typescript-eslint/parser": { "version": "5.50.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.50.0.tgz", @@ -1692,11 +1720,11 @@ } }, "node_modules/@uswds/uswds": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/@uswds/uswds/-/uswds-3.3.0.tgz", - "integrity": "sha512-qiugkbwrO+eIIwi4lbEdH15LCHuAjfUMDRQNBBujakR99Ka3iqmrLpPllffdKaJJnnYkt75v0lltnJ5Nnd/obQ==", + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/@uswds/uswds/-/uswds-3.8.1.tgz", + "integrity": "sha512-bKG/B9mJF1v0yoqth48wQDzST5Xyu3OxxpePIPDyhKWS84oDrCehnu3Z88JhSjdIAJMl8dtjtH8YvdO9kZUpAg==", "dependencies": { - "classlist-polyfill": "1.0.3", + "classlist-polyfill": "1.2.0", "object-assign": "4.1.1", "receptor": "1.0.0", "resolve-id-refs": "0.1.0" @@ -2165,9 +2193,9 @@ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" }, "node_modules/classlist-polyfill": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/classlist-polyfill/-/classlist-polyfill-1.0.3.tgz", - "integrity": "sha512-bDLDUsSg5LYFWsc2hphtG6ulyaCFSupdEBU3wxNECKWHnyPVvY8EB9Wbt9DzWkstWclFZhDaZK/VnEK/DmqE/Q==" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/classlist-polyfill/-/classlist-polyfill-1.2.0.tgz", + "integrity": "sha512-GzIjNdcEtH4ieA2S8NmrSxv7DfEV5fmixQeyTmqmRmRJPGpRBaSnA2a0VrCjyT8iW8JjEdMbKzDotAJf+ajgaQ==" }, "node_modules/client-only": { "version": "0.0.1", @@ -2379,6 +2407,12 @@ "node": ">=8.0.0" } }, + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "dev": true + }, "node_modules/damerau-levenshtein": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz", @@ -6122,16 +6156,15 @@ } }, "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", - "peer": true, + "version": "5.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", + "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/unbox-primitive": { @@ -6148,6 +6181,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true + }, "node_modules/update-browserslist-db": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz", diff --git a/package.json b/package.json index 0ed53ce..e833f14 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "uswds_nextjs_starter", "version": "1.0.0", "description": "accessible USWDS starting point using next.js and react", - "main": "index.js", + "main": "index.jsx", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev": "node_modules/.bin/next dev", @@ -27,6 +27,9 @@ "sharp": "^0.31.3" }, "devDependencies": { - "sass": "^1.58.0" + "@types/node": "^20.14.12", + "@types/react": "^18.3.3", + "sass": "^1.58.0", + "typescript": "^5.5.4" } } diff --git a/pages/_app.js b/pages/_app.tsx similarity index 100% rename from pages/_app.js rename to pages/_app.tsx diff --git a/pages/_document.js b/pages/_document.tsx similarity index 100% rename from pages/_document.js rename to pages/_document.tsx diff --git a/pages/index.js b/pages/index.jsx similarity index 70% rename from pages/index.js rename to pages/index.jsx index 238d0e8..3dacc90 100644 --- a/pages/index.js +++ b/pages/index.jsx @@ -1,12 +1,12 @@ import Head from "next/head"; import Script from "next/script"; -import Header from "../components/header"; -import Hero from "../components/hero"; -import Tagline from "../components/tagline"; -import GridContainer from "../components/gridContainer"; -import Intro from "../components/intro"; -import Footer from "../components/footer"; -import Nav from "../components/nav"; +import Header from "../components/Header"; +import Hero from "../components/Hero"; +import Tagline from "../components/Tagline"; +import GridContainer from "../components/GridContainer"; +import Intro from "../components/Intro"; +import Footer from "../components/Footer"; +import Nav from "../components/Nav"; export default function Home() { return ( diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..4e224ad --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,29 @@ +{ + "compilerOptions": { + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], + "allowJs": true, + "skipLibCheck": true, + "strict": false, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "incremental": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve" + }, + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "node_modules" + ] +}