133 Commits

Author SHA1 Message Date
433af10b78
feat(package): add @lottielab/lottie-player dependency
Added @lottielab/lottie-player version 1.1.2 to the project dependencies in package.json and updated pnpm-lock.yaml accordingly. This integration introduces Lottie animations to improve the user interface.
2024-09-27 16:58:38 +02:00
4716d8ce50
feat(animation): add new weather animation JSON files
Added Sunny, Windy, and Fog animations in clear.json, cloud.json, and fog.json. These files contain vector graphic animations for various weather conditions.
2024-09-27 16:58:24 +02:00
eca28c9fed
feat(component): add weather sprite and temperature display
Enhanced HomePage with WeatherSprite component for current weather. Added temperature display showing max and min values, including visual separators for better UI organization.
2024-09-27 16:58:10 +02:00
47361f453f
feat(layout): add dark mode background class to body element
Updated the body element in the layout component to include a background class supporting dark mode. This change enhances the application's theme capability by accommodating dark mode styling.
2024-09-27 16:57:48 +02:00
e417e46dee
feat(lib): add date formatting utilities
Introducing `DateFormatter` class with methods for formatted date output, relative date calculations, and distance to current date using `date-fns` and localization support for French and English.
2024-09-27 16:57:37 +02:00
00fbfeeb17
feat(component): add WeatherSprite with animations
Introduces a new WeatherSprite component featuring Lottie animations based on WMO weather codes. Includes utility subcomponents for displaying titles and indicators.
2024-09-27 16:57:22 +02:00
fd591b44c3
feat(package): add openmeteo dependency
Added openmeteo to package.json and updated pnpm-lock.yaml accordingly. This includes a new dependency on flatbuffers.
2024-09-27 12:08:33 +02:00
797452732f
feat: add axios dependency
Add axios version 1.7.7 to package.json and pnpm-lock.yaml to enable HTTP requests. This includes related dependencies and their configurations.
2024-09-27 12:07:46 +02:00
151925bc1c
refactor(component): simplify HomePage layout
Simplified the HomePage component by removing extensive HTML structure and redundant elements. This change focuses on streamlining the design and improving readability.
2024-09-27 12:07:29 +02:00
bce1c393b3
feat(component): integrate Ubuntu font
Add @fontsource/ubuntu dependency and update global styles to use the Ubuntu font. Removed local font imports from layout.tsx and updated body font-family in globals.css.
2024-09-27 12:05:52 +02:00
11f472646d
feat(app): add favicon.ico and remove city.json
Added a new favicon.ico to the src/app directory and deleted the city.json file from the configs folder. This change updates the application icon and removes unnecessary configuration.
2024-09-27 11:59:48 +02:00
ff3821e777
docs: simplify README instructions and description
Streamlined the description of weather checking capabilities in the README. Removed detailed setup steps about API key creation and environment variable configuration to focus on essential installation commands.
2024-09-27 11:58:42 +02:00
ed37351c49
feat(fonts): add Geist font files
Introduce GeistMonoVF.woff and GeistVF.woff to the project. This enhances the typography options available for the application.
2024-09-27 11:58:28 +02:00
cbf1047244
feat(app): add base layout and home page
Introduced global CSS styling and created the initial structure for the Home page and Root layout. The Home page includes a logo, instructions, and helpful links, while the layout sets up metadata and font usage.
2024-09-27 11:58:10 +02:00
1d93fd9aec
chore(build): configure Next.js with TypeScript and TailwindCSS
Removed VSCode settings and set up essential configuration files. Added Next.js, PostCSS, and TailwindCSS configurations for improved development workflow. Updated tsconfig.json and .gitignore for TypeScript support.
2024-09-27 11:57:39 +02:00
2997df14e0
build: update pnpm-lock.yaml dependencies
Updated multiple dependencies in pnpm-lock.yaml, removing outdated ones like axios and adding new ones such as @radix-ui/react components, react 18.x, and others. This includes upgrading Next.js to version 14.2.13 and adjusting devDependencies accordingly.
2024-09-27 11:56:58 +02:00
9b2a86d887
feat(utils): add utility function for class merging
Introduced `cn` function leveraging `clsx` and `twMerge` to merge class names. This utility simplifies handling of conditional class names with Tailwind CSS.
2024-09-27 11:56:34 +02:00
f982d076a7
feat(hooks): add use-toast hook for toast notifications
Introduce a new use-toast hook inspired by the react-hot-toast library. This hook manages toast notifications with actions such as ADD_TOAST, UPDATE_TOAST, DISMISS_TOAST, and REMOVE_TOAST.
2024-09-27 11:56:13 +02:00
45562d875c
feat(components): add new UI components for checkbox, chart, command, collapsible, dialog, and context-menu
Introduce various UI components including Checkbox, Chart, Command, Collapsible, Dialog, and ContextMenu. These components leverage Radix UI and Recharts to enhance the UI toolkit.
2024-09-27 11:55:48 +02:00
c7bf608462
feat: remove obsolete and outdated components and assets
Deleted unused components and icon assets for codebase cleanup. This includes various UI components, CSS modules, and image assets no longer needed for the project.
2024-09-27 11:55:23 +02:00
f87e388ddd
feat(build): add project configuration files and dependencies
Add IntelliJ IDEA project settings, TypeScript configuration, and pnpm lock file. Updated `package.json` with new dependencies and refactored API handler to TypeScript.
2024-09-27 11:37:21 +02:00
69d1186333
feat(configs): add city configuration file
Introduced a new JSON configuration file for city settings. This file currently includes the city name "Chambéry".
2024-09-27 11:00:32 +02:00
d3e1b122e4
docs: update README with new repo and install instructions
Changed the repository URL and adjusted installation instructions to use pnpm or yarn instead of npm. Removed outdated feature list and image, updated contributions section to include license information.
2024-09-27 10:52:12 +02:00
madarsbiss
2737427b6f edit var names 2021-10-27 13:38:28 +03:00
madarsbiss
88b4db25a2 edit comp degree 2021-09-25 14:28:48 +03:00
madarsbiss
4e389c258e rename helpers 2021-09-23 22:47:07 +03:00
madarsbiss
61f5bffb6a edit fx 2021-09-23 19:36:24 +03:00
madarsbiss
8ce1d66cce services cleanup 2021-09-23 19:00:03 +03:00
madarsbiss
eee3aa60f9 add box sizing 2021-09-23 14:59:22 +03:00
madarsbiss
49022991c2 justify date 2021-09-23 14:29:00 +03:00
madarsbiss
d1574e0922 css cleanup 2021-09-23 14:13:30 +03:00
madarsbiss
1dced10ce7 edit cards and switch 2021-09-23 13:40:17 +03:00
madarsbiss
cf68971de5 remove format settings 2021-09-23 13:24:53 +03:00
madarsbiss
0ab4897e6e format code 2021-09-23 13:23:19 +03:00
madarsbiss
3cc4bd3f54 add classnames 2021-09-23 13:03:05 +03:00
madarsbiss
be238fe88b switch export const 2021-09-23 12:54:45 +03:00
madarsbiss
236650857f edit css 2021-09-23 12:27:07 +03:00
madarsbiss
f3ebc9f6ca edit main card 2021-09-23 12:25:36 +03:00
madarsbiss
19e23f2144 edit main card 2021-09-23 12:25:21 +03:00
madarsbiss
df8e4e4f93 fix border radius 2021-09-23 09:46:07 +03:00
madarsbiss
af27c965a2 add seperator 2021-09-23 09:24:28 +03:00
madarsbiss
09a4caefa2 edit css 2021-09-23 08:42:42 +03:00
madarsbiss
26baef62e5 edit time conv 2021-09-23 00:09:46 +03:00
madarsbiss
22c1661540 edit index.js 2021-09-23 00:04:48 +03:00
madarsbiss
a80f19aa60 code cleanup 2021-09-22 23:51:59 +03:00
madarsbiss
09cf258a23 edit unit resp 2021-09-22 23:28:29 +03:00
madarsbiss
358a30418c edit search resp 2021-09-22 23:25:53 +03:00
madarsbiss
7619821822 date cleanup 2021-09-22 23:12:19 +03:00
madarsbiss
614ee69cc9 refactor utils fx 2021-09-22 23:09:32 +03:00
madarsbiss
2121673532 refactor fx 2021-09-22 19:33:24 +03:00