From 277cdc3158077d521fd55ae0e62fbc5087e915c4 Mon Sep 17 00:00:00 2001 From: Sammy Olsson Date: Tue, 6 Jun 2023 18:45:58 +0200 Subject: [PATCH] Created branch. Updated names on components --- jsconfig.json | 2 +- src/App.js | 4 ++-- src/components/{nav.js => Navigation.js} | 0 src/components/StartPage.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename src/components/{nav.js => Navigation.js} (100%) diff --git a/jsconfig.json b/jsconfig.json index 738e8a4..4dada2d 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -2,4 +2,4 @@ "compilerOptions": { "baseUrl": "./src" } -} +} \ No newline at end of file diff --git a/src/App.js b/src/App.js index 10087b5..34f9c4b 100644 --- a/src/App.js +++ b/src/App.js @@ -1,6 +1,6 @@ import React from 'react'; -import { Nav } from 'components/nav'; -import { Footer } from 'components/footer'; +import { Nav } from 'components/Navigation'; +import { Footer } from 'components/Footer'; import StartPage from 'components/StartPage'; import { LocationSection } from 'components/LocationLink'; diff --git a/src/components/nav.js b/src/components/Navigation.js similarity index 100% rename from src/components/nav.js rename to src/components/Navigation.js diff --git a/src/components/StartPage.js b/src/components/StartPage.js index 3e2bfcc..c1c73fd 100644 --- a/src/components/StartPage.js +++ b/src/components/StartPage.js @@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react'; import styled from 'styled-components'; -import { Search } from './search'; +import { Search } from './Search' // MAKE CONST OF API