76 Commits

Author SHA1 Message Date
dfa443d373
feat: update and remove specific dependencies
Details:
This update makes three major changes in dependency tree. Firstly, packages '@react-three/drei', '@react-three/fiber', 'three', 'three-globe', '@types/three', '@types/jest' and 'jest' have been removed. Secondly, the '@babel/core' package has been added as a new dependency. Thirdly, version of the 'next' package has been updated. Please review compatibility before upgrading.
2024-06-10 11:54:25 +02:00
dc17e4a8f7
feat: Implement new auto-form components and fields
This commit includes the creation of new react components and fields for auto-form functionality. The components include AutoFormLabel, AutoFormTooltip, and specific field components for data types such as AutoFormObject, AutoFormArray, AutoFormDate, AutoFormCheckbox, and others. Added tests to ensure the correct rendering of fields, labels generation, among other behaviors.
2024-06-10 11:51:23 +02:00
036acfce23
feat(services): update default value in UserDataContext
The default value in the UserDataContext has been updated. Previously, it was set to false and now it has been changed to an object with the name property set to "Avnyr".
2024-06-10 11:50:05 +02:00
606f37e78f
feat: Add new packages to pnpm-lock
This commit consists of adding new packages to the `pnpm-lock.yaml` file. Packages include '@radix-ui/react-navigation-menu', '@react-three/drei', 'lightweight-charts', 'three', 'three-globe', '@types/three', among others. Also, it includes the addition of new package versions and their integrity hashes. Verify the diff for full changes.
2024-06-10 11:35:54 +02:00
1dd0384857
feat(components, services): Add user data management and account handling
This commit introduces user data management with the addition of new interfaces and services. User data interface which defines the structure of user data was created. Account handler service for registering, logging in, updating user data and disconnecting was also added. User data provider component was created for managing user data state. The account info component for displaying and editing the user account was introduced too. Finally, updates were made in the existing components and services for accommodating these new elements.
2024-06-07 16:57:37 +02:00
d624ac6ab2
feat(page): update layout styling
The structure of the main component in page.tsx has been adjusted to better accommodate its content. The div styling has been updated from full width with padding to half-width, full height, and content justified to the end.
2024-06-07 14:34:31 +02:00
409926a97b
feat(tailwind.config): add global CSS variables for colors
A new function, `addVariablesForColors`, has been added into the Tailwind configuration file to map each Tailwind color into a global CSS variable. This allows usage such as `var(--gray-200)` throughout the application for all Tailwind colors.
2024-06-07 14:26:48 +02:00
0f6a67470d Actualiser README.md 2024-06-06 17:01:45 +02:00
3eec5846e7
feat(components): update copyright text in Footer component 2024-06-06 14:58:16 +02:00
77a5fe628c feat: Add .env example files and update .gitignore
This commit introduces .env.production.example and .env.development.example files with API Base URL configuration. It also updates the .gitignore file to ignore the actual .env files, to ensure sensitive data is not tracked.
2024-06-06 14:52:53 +02:00
e3dbeaf501 feat: add multiple UI components
This commit introduces a batch of UI components such as Accordion, Alert, Avatar, Badge, etc. Each component is provided with proper TypeScript type definitions. Reusable styling is catered for many of these using the `cn` utility for applying styles. Integration with `@radix-ui/react-*` libraries is also evident in some components for advanced and flexible functionality.
2024-06-06 14:45:49 +02:00
b62e51af70 feat: Update README file extensively
The README file has been greatly expanded, providing a comprehensive documentation for the project. Details include a brief description, appendix note, API references, color references, installation guidelines, deployment instructions and listing of tech stack being used.
2024-06-06 14:26:10 +02:00
3d8a1ab677 feat: add layout and home page components
The commit includes a new layout component that contains the basic structure of the application, including Header, Footer, and ThemeProvider. Also, a new Home page component has been created including a basic "Hello World" greeting.
2024-06-06 14:10:31 +02:00
427fc265ec feat(components): add Footer and Header components
Introduced two new components: Footer and Header. The Footer includes copyright and navigation links, while the Header contains the site's logo, title, and a theme selector.
2024-06-06 14:10:12 +02:00
411a5e2614 feat: update .gitignore file
This revision changes the .gitignore file to focus on core dependencies, testing, production, misc, and vercel. As part of the change, a simplified template has replaced the previous one, removing obsolete or unnecessary ignoring patterns, thus streamlining ignore rules.
2024-06-06 14:09:48 +02:00
85a1a4a4df feat(components): add PrimaryNavigationMenu component
This commit introduces a new component, PrimaryNavigationMenu, to the components directory. This component is responsible for rendering the main navigation menu of the application. It also includes the logic for mapping and displaying a list of features in the menu.
2024-06-06 14:09:18 +02:00
4df8ae4769 feat(components): add theme provider and theme button selector
This commit introduces a `ThemeProvider` component and a `ThemeBtnSelector` component. The `ThemeProvider` component applies the current theme to all its children. The `ThemeBtnSelector` component provides a dropdown menu that allows users to select a theme ("light", "dark", or "system").
2024-06-06 14:09:01 +02:00
4c9a7c137c feat: add global CSS styling
This commit introduces a new file 'globals.css' to manage our application-wide styles. The imported Tailwind CSS utility classes have been applied and custom CSS variables for both light and dark themes have been defined. It also includes styling for some components like the body and borders for a more consistent look and feel throughout the application.
2024-06-06 14:06:30 +02:00
4d6ae67389 feat(utils): add utility function for class merging
A new utility function `cn` has been added to `utils.ts` for the purpose of class merging. This function uses "clsx" and "tailwind-merge" to merge class values, simplifying and optimizing the process of multiple class joining in our project.
2024-06-06 14:06:05 +02:00
7910c5ef25 feat(service): add localStorage custom React hooks
Created a new service, localStorage.ts to handle localStorage operations in React, introducing two new custom hooks, useLocalStorage and useEncodedLocalStorage. These hooks provide functionalities to store, retrieve, and update data in the browser's localStorage.
2024-06-06 14:04:44 +02:00
bde56f4bb2 feat(service): add apiRequest service
This commit introduces the new 'apiRequest' service file. This service file contains functionalities for standard and authenticated network requests including POST, GET, PATCH, and DELETE actions using axios. The file has been structured to easily perform network requests with necessary headers and status validations.
2024-06-06 14:04:20 +02:00
74ec86c684 feat: Add multiple UI components to the codebase
This commit includes several User Interface components such as Button, DropdownMenu, FlipWords, HeroParallax, Input, Label, NavigationMenu and ToastBox. Each component was developed individually and has different attributes and behaviors. This will significantly improve the user experience and interactivity of the application.
2024-06-06 14:03:45 +02:00
17df70947a feat: Add new configuration files and dependencies
This commit introduces new configuration files including components.json, next.config.mjs, and package.json. Files have been set up with desired configurations and scripts. It adds a list of new dependencies required for the project into package.json and ensures version control with pnpm-lock.yaml file.
2024-06-06 14:03:03 +02:00
682cc0edae feat: add new yellow-bit SVG to public folder
This commit introduces a new SVG named yellow-bit to the public folder. The SVG features a complex design that is well optimized for web display. This SVG will be used in the component rendering to enhance UI visuals.
2024-06-06 14:01:23 +02:00
d8b021af5f feat: Add new .idea configuration files
This commit introduces a set of .idea configuration files. These include settings for ignoring default files, module root management, project module management, and version control system standards. The addition of these configuration files can improve the development workflow by setting rules and preferences for the workspace.
2024-06-06 14:00:53 +02:00
7727415aaa Initial commit 2024-06-06 11:04:06 +02:00