├── .editorconfig ├── .eslintignore ├── .eslintrc ├── .gitignore ├── .prettierrc.json ├── LICENSE ├── README.md ├── SECURITY.md ├── config ├── dev.js ├── index.js └── prod.js ├── functions ├── getRegion │ ├── index.js │ ├── package-lock.json │ └── package.json ├── getWeatherById │ ├── index.js │ ├── package-lock.json │ └── package.json └── getWoeid │ ├── package-lock.json │ └── package.json ├── global.d.ts ├── package.json ├── project.config.json ├── src ├── app.tsx ├── assets │ ├── images │ │ ├── arrow.png │ │ ├── error.png │ │ ├── fail.png │ │ ├── flickr.png │ │ ├── history.png │ │ ├── info.png │ │ ├── loading.png │ │ ├── location.png │ │ ├── location_yellow.png │ │ ├── search.png │ │ └── success.png │ └── styles │ │ ├── mixins.scss │ │ └── variables.scss ├── components │ ├── Background │ │ ├── Background.module.scss │ │ └── Background.tsx │ ├── ContentWrapper │ │ ├── ContentWrapper.module.scss │ │ └── ContentWrapper.tsx │ ├── Detail │ │ ├── Detail.module.scss │ │ └── Detail.tsx │ ├── Forecast │ │ ├── Forecast.tsx │ │ ├── ForecastByDay │ │ │ ├── ForecastByDay.module.scss │ │ │ └── ForecastByDay.tsx │ │ └── ForecastByHour │ │ │ ├── ForecastByHour.module.scss │ │ │ └── ForecastByHour.tsx │ ├── Precipitation │ │ ├── Precipitation.module.scss │ │ └── Precipitation.tsx │ ├── Search │ │ ├── Search.module.scss │ │ └── Search.tsx │ ├── Summary │ │ ├── Summary.module.scss │ │ └── Summary.tsx │ ├── SunAndMoon │ │ ├── SunAndMoon.module.scss │ │ └── SunAndMoon.tsx │ ├── Widget │ │ └── Modal │ │ │ ├── Modal.module.scss │ │ │ └── Modal.tsx │ └── Wind │ │ ├── Wind.module.scss │ │ └── Wind.tsx ├── constants │ └── constants.ts ├── index.html ├── pages │ └── index │ │ ├── index.scss │ │ └── index.tsx ├── store │ └── weatherStore.ts ├── types │ ├── contentWrapper.ts │ ├── region.ts │ └── weather.ts └── utils │ ├── convert.ts │ ├── https.ts │ ├── toast.ts │ └── util.ts ├── test ├── convert.spec.ts └── utils.spec.ts ├── tsconfig.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/SECURITY.md -------------------------------------------------------------------------------- /config/dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/config/dev.js -------------------------------------------------------------------------------- /config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/config/index.js -------------------------------------------------------------------------------- /config/prod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/config/prod.js -------------------------------------------------------------------------------- /functions/getRegion/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/functions/getRegion/index.js -------------------------------------------------------------------------------- /functions/getRegion/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/functions/getRegion/package-lock.json -------------------------------------------------------------------------------- /functions/getRegion/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/functions/getRegion/package.json -------------------------------------------------------------------------------- /functions/getWeatherById/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/functions/getWeatherById/index.js -------------------------------------------------------------------------------- /functions/getWeatherById/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/functions/getWeatherById/package-lock.json -------------------------------------------------------------------------------- /functions/getWeatherById/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/functions/getWeatherById/package.json -------------------------------------------------------------------------------- /functions/getWoeid/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/functions/getWoeid/package-lock.json -------------------------------------------------------------------------------- /functions/getWoeid/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/functions/getWoeid/package.json -------------------------------------------------------------------------------- /global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/global.d.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/package.json -------------------------------------------------------------------------------- /project.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/project.config.json -------------------------------------------------------------------------------- /src/app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/app.tsx -------------------------------------------------------------------------------- /src/assets/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/assets/images/arrow.png -------------------------------------------------------------------------------- /src/assets/images/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/assets/images/error.png -------------------------------------------------------------------------------- /src/assets/images/fail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/assets/images/fail.png -------------------------------------------------------------------------------- /src/assets/images/flickr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/assets/images/flickr.png -------------------------------------------------------------------------------- /src/assets/images/history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/assets/images/history.png -------------------------------------------------------------------------------- /src/assets/images/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/assets/images/info.png -------------------------------------------------------------------------------- /src/assets/images/loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/assets/images/loading.png -------------------------------------------------------------------------------- /src/assets/images/location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/assets/images/location.png -------------------------------------------------------------------------------- /src/assets/images/location_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/assets/images/location_yellow.png -------------------------------------------------------------------------------- /src/assets/images/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/assets/images/search.png -------------------------------------------------------------------------------- /src/assets/images/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/assets/images/success.png -------------------------------------------------------------------------------- /src/assets/styles/mixins.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/assets/styles/mixins.scss -------------------------------------------------------------------------------- /src/assets/styles/variables.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/assets/styles/variables.scss -------------------------------------------------------------------------------- /src/components/Background/Background.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Background/Background.module.scss -------------------------------------------------------------------------------- /src/components/Background/Background.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Background/Background.tsx -------------------------------------------------------------------------------- /src/components/ContentWrapper/ContentWrapper.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/ContentWrapper/ContentWrapper.module.scss -------------------------------------------------------------------------------- /src/components/ContentWrapper/ContentWrapper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/ContentWrapper/ContentWrapper.tsx -------------------------------------------------------------------------------- /src/components/Detail/Detail.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Detail/Detail.module.scss -------------------------------------------------------------------------------- /src/components/Detail/Detail.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Detail/Detail.tsx -------------------------------------------------------------------------------- /src/components/Forecast/Forecast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Forecast/Forecast.tsx -------------------------------------------------------------------------------- /src/components/Forecast/ForecastByDay/ForecastByDay.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Forecast/ForecastByDay/ForecastByDay.module.scss -------------------------------------------------------------------------------- /src/components/Forecast/ForecastByDay/ForecastByDay.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Forecast/ForecastByDay/ForecastByDay.tsx -------------------------------------------------------------------------------- /src/components/Forecast/ForecastByHour/ForecastByHour.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Forecast/ForecastByHour/ForecastByHour.module.scss -------------------------------------------------------------------------------- /src/components/Forecast/ForecastByHour/ForecastByHour.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Forecast/ForecastByHour/ForecastByHour.tsx -------------------------------------------------------------------------------- /src/components/Precipitation/Precipitation.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Precipitation/Precipitation.module.scss -------------------------------------------------------------------------------- /src/components/Precipitation/Precipitation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Precipitation/Precipitation.tsx -------------------------------------------------------------------------------- /src/components/Search/Search.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Search/Search.module.scss -------------------------------------------------------------------------------- /src/components/Search/Search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Search/Search.tsx -------------------------------------------------------------------------------- /src/components/Summary/Summary.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Summary/Summary.module.scss -------------------------------------------------------------------------------- /src/components/Summary/Summary.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Summary/Summary.tsx -------------------------------------------------------------------------------- /src/components/SunAndMoon/SunAndMoon.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/SunAndMoon/SunAndMoon.module.scss -------------------------------------------------------------------------------- /src/components/SunAndMoon/SunAndMoon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/SunAndMoon/SunAndMoon.tsx -------------------------------------------------------------------------------- /src/components/Widget/Modal/Modal.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Widget/Modal/Modal.module.scss -------------------------------------------------------------------------------- /src/components/Widget/Modal/Modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Widget/Modal/Modal.tsx -------------------------------------------------------------------------------- /src/components/Wind/Wind.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Wind/Wind.module.scss -------------------------------------------------------------------------------- /src/components/Wind/Wind.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/components/Wind/Wind.tsx -------------------------------------------------------------------------------- /src/constants/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/constants/constants.ts -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/index.html -------------------------------------------------------------------------------- /src/pages/index/index.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/pages/index/index.scss -------------------------------------------------------------------------------- /src/pages/index/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/pages/index/index.tsx -------------------------------------------------------------------------------- /src/store/weatherStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/store/weatherStore.ts -------------------------------------------------------------------------------- /src/types/contentWrapper.ts: -------------------------------------------------------------------------------- 1 | export default interface ContentWrapperProps { 2 | title: string 3 | } 4 | -------------------------------------------------------------------------------- /src/types/region.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/types/region.ts -------------------------------------------------------------------------------- /src/types/weather.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/types/weather.ts -------------------------------------------------------------------------------- /src/utils/convert.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/utils/convert.ts -------------------------------------------------------------------------------- /src/utils/https.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/utils/https.ts -------------------------------------------------------------------------------- /src/utils/toast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/utils/toast.ts -------------------------------------------------------------------------------- /src/utils/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/src/utils/util.ts -------------------------------------------------------------------------------- /test/convert.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/test/convert.spec.ts -------------------------------------------------------------------------------- /test/utils.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/test/utils.spec.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YanceyOfficial/natsuha-weather/HEAD/yarn.lock --------------------------------------------------------------------------------