From eab46d9dd972299722dbaff3403ce10501226f16 Mon Sep 17 00:00:00 2001 From: JosueBrenes Date: Wed, 3 Dec 2025 18:49:23 -0600 Subject: [PATCH 1/2] feat: initialize project structure with essential configurations and components - Added .env.example for environment variable setup. - Introduced ESLint and Prettier configurations for code quality. - Created .gitignore and .prettierignore files to manage ignored files. - Established initial Next.js configuration in next.config.ts. - Added foundational components and UI elements for the application. - Included PostHog integration for analytics tracking. - Set up Husky pre-commit hooks for linting and formatting checks. --- .env.example | 2 + web/.eslintrc.json => .eslintrc.json | 0 .github/CODE_OF_CONDUCT.md | 103 +++++++++--- .github/CONTRIBUTING.md | 151 ------------------ .github/{contributing => }/GIT_GUIDELINE.md | 2 +- .github/PULL_REQUEST_TEMPLATE.md | 105 ++++++++---- .../contributing/CONTRIBUTORS_GUIDELINE.md | 96 ----------- .github/workflows/pr-checks.yml | 46 ++++++ .github/workflows/web.yml | 36 ----- web/.gitignore => .gitignore | 0 .husky/pre-commit | 6 + web/.prettierignore => .prettierignore | 0 web/.prettierrc => .prettierrc | 0 LICENSE | 2 +- web/components.json => components.json | 0 web/eslint.config.mjs => eslint.config.mjs | 0 web/next.config.ts => next.config.ts | 0 web/package-lock.json => package-lock.json | 0 web/package.json => package.json | 0 web/postcss.config.mjs => postcss.config.mjs | 0 {web/public => public}/Acta-logo.png | Bin {web/public => public}/ActaCard.png | Bin {web/public => public}/banner.png | Bin {web/src => src}/app/favicon.ico | Bin {web/src => src}/app/globals.css | 0 {web/src => src}/app/layout.tsx | 0 {web/src => src}/app/page.tsx | 0 {web/src => src}/components/AnimatedActa.tsx | 0 {web/src => src}/components/Aurora.tsx | 0 .../components/DappCredentialCard.tsx | 0 {web/src => src}/components/FAQ.tsx | 0 .../src => src}/components/FlipCredential.tsx | 0 {web/src => src}/components/Footer.tsx | 0 {web/src => src}/components/HeroSubtitle.tsx | 0 {web/src => src}/components/HowItWorks.tsx | 0 .../src => src}/components/ScrollProgress.tsx | 0 .../components/StarsBackground.tsx | 0 .../components/UseCasesCarousel.tsx | 0 {web/src => src}/components/ValueDetails.tsx | 0 .../components/ValueDetailsExtended.tsx | 0 .../components/ValueProposition.tsx | 0 {web/src => src}/components/WaitlistForm.tsx | 0 .../src => src}/components/theme-provider.tsx | 0 {web/src => src}/components/ui/accordion.tsx | 0 .../components/ui/alert-dialog.tsx | 0 {web/src => src}/components/ui/alert.tsx | 0 .../components/ui/animated-shiny-text.tsx | 0 .../components/ui/aspect-ratio.tsx | 0 {web/src => src}/components/ui/avatar.tsx | 0 {web/src => src}/components/ui/badge.tsx | 0 {web/src => src}/components/ui/breadcrumb.tsx | 0 {web/src => src}/components/ui/button.tsx | 0 {web/src => src}/components/ui/calendar.tsx | 0 {web/src => src}/components/ui/card.tsx | 0 {web/src => src}/components/ui/carousel.tsx | 0 {web/src => src}/components/ui/chart.tsx | 0 {web/src => src}/components/ui/checkbox.tsx | 0 .../src => src}/components/ui/collapsible.tsx | 0 {web/src => src}/components/ui/command.tsx | 0 .../components/ui/context-menu.tsx | 0 {web/src => src}/components/ui/dialog.tsx | 0 {web/src => src}/components/ui/drawer.tsx | 0 .../components/ui/dropdown-menu.tsx | 0 {web/src => src}/components/ui/form.tsx | 0 {web/src => src}/components/ui/hover-card.tsx | 0 {web/src => src}/components/ui/input-otp.tsx | 0 {web/src => src}/components/ui/input.tsx | 0 {web/src => src}/components/ui/label.tsx | 0 {web/src => src}/components/ui/marquee.tsx | 0 {web/src => src}/components/ui/menubar.tsx | 0 .../components/ui/navigation-menu.tsx | 0 {web/src => src}/components/ui/pagination.tsx | 0 {web/src => src}/components/ui/particles.tsx | 0 {web/src => src}/components/ui/popover.tsx | 0 {web/src => src}/components/ui/progress.tsx | 0 .../src => src}/components/ui/radio-group.tsx | 0 {web/src => src}/components/ui/resizable.tsx | 0 .../src => src}/components/ui/scroll-area.tsx | 0 {web/src => src}/components/ui/select.tsx | 0 {web/src => src}/components/ui/separator.tsx | 0 {web/src => src}/components/ui/sheet.tsx | 0 .../components/ui/shine-border.tsx | 0 {web/src => src}/components/ui/sidebar.tsx | 0 {web/src => src}/components/ui/skeleton.tsx | 0 {web/src => src}/components/ui/slider.tsx | 0 {web/src => src}/components/ui/sonner.tsx | 0 {web/src => src}/components/ui/switch.tsx | 0 {web/src => src}/components/ui/table.tsx | 0 {web/src => src}/components/ui/tabs.tsx | 0 .../components/ui/text-animate.tsx | 0 {web/src => src}/components/ui/textarea.tsx | 0 {web/src => src}/components/ui/toast.tsx | 0 {web/src => src}/components/ui/toaster.tsx | 0 .../components/ui/toggle-group.tsx | 0 {web/src => src}/components/ui/toggle.tsx | 0 {web/src => src}/components/ui/tooltip.tsx | 0 {web/src => src}/components/ui/use-mobile.tsx | 0 {web/src => src}/components/ui/use-toast.ts | 0 {web/src => src}/hooks/use-mobile.ts | 0 {web/src => src}/hooks/use-toast.ts | 0 {web/src => src}/lib/posthog.ts | 0 {web/src => src}/lib/utils.ts | 0 .../src => src}/providers/PostHogProvider.tsx | 0 web/tsconfig.json => tsconfig.json | 0 web/vercel.json => vercel.json | 0 web/.env.example | 3 - web/.husky/pre-commit | 18 --- 107 files changed, 206 insertions(+), 364 deletions(-) create mode 100644 .env.example rename web/.eslintrc.json => .eslintrc.json (100%) delete mode 100644 .github/CONTRIBUTING.md rename .github/{contributing => }/GIT_GUIDELINE.md (98%) delete mode 100644 .github/contributing/CONTRIBUTORS_GUIDELINE.md create mode 100644 .github/workflows/pr-checks.yml delete mode 100644 .github/workflows/web.yml rename web/.gitignore => .gitignore (100%) create mode 100644 .husky/pre-commit rename web/.prettierignore => .prettierignore (100%) rename web/.prettierrc => .prettierrc (100%) rename web/components.json => components.json (100%) rename web/eslint.config.mjs => eslint.config.mjs (100%) rename web/next.config.ts => next.config.ts (100%) rename web/package-lock.json => package-lock.json (100%) rename web/package.json => package.json (100%) rename web/postcss.config.mjs => postcss.config.mjs (100%) rename {web/public => public}/Acta-logo.png (100%) rename {web/public => public}/ActaCard.png (100%) rename {web/public => public}/banner.png (100%) rename {web/src => src}/app/favicon.ico (100%) rename {web/src => src}/app/globals.css (100%) rename {web/src => src}/app/layout.tsx (100%) rename {web/src => src}/app/page.tsx (100%) rename {web/src => src}/components/AnimatedActa.tsx (100%) rename {web/src => src}/components/Aurora.tsx (100%) rename {web/src => src}/components/DappCredentialCard.tsx (100%) rename {web/src => src}/components/FAQ.tsx (100%) rename {web/src => src}/components/FlipCredential.tsx (100%) rename {web/src => src}/components/Footer.tsx (100%) rename {web/src => src}/components/HeroSubtitle.tsx (100%) rename {web/src => src}/components/HowItWorks.tsx (100%) rename {web/src => src}/components/ScrollProgress.tsx (100%) rename {web/src => src}/components/StarsBackground.tsx (100%) rename {web/src => src}/components/UseCasesCarousel.tsx (100%) rename {web/src => src}/components/ValueDetails.tsx (100%) rename {web/src => src}/components/ValueDetailsExtended.tsx (100%) rename {web/src => src}/components/ValueProposition.tsx (100%) rename {web/src => src}/components/WaitlistForm.tsx (100%) rename {web/src => src}/components/theme-provider.tsx (100%) rename {web/src => src}/components/ui/accordion.tsx (100%) rename {web/src => src}/components/ui/alert-dialog.tsx (100%) rename {web/src => src}/components/ui/alert.tsx (100%) rename {web/src => src}/components/ui/animated-shiny-text.tsx (100%) rename {web/src => src}/components/ui/aspect-ratio.tsx (100%) rename {web/src => src}/components/ui/avatar.tsx (100%) rename {web/src => src}/components/ui/badge.tsx (100%) rename {web/src => src}/components/ui/breadcrumb.tsx (100%) rename {web/src => src}/components/ui/button.tsx (100%) rename {web/src => src}/components/ui/calendar.tsx (100%) rename {web/src => src}/components/ui/card.tsx (100%) rename {web/src => src}/components/ui/carousel.tsx (100%) rename {web/src => src}/components/ui/chart.tsx (100%) rename {web/src => src}/components/ui/checkbox.tsx (100%) rename {web/src => src}/components/ui/collapsible.tsx (100%) rename {web/src => src}/components/ui/command.tsx (100%) rename {web/src => src}/components/ui/context-menu.tsx (100%) rename {web/src => src}/components/ui/dialog.tsx (100%) rename {web/src => src}/components/ui/drawer.tsx (100%) rename {web/src => src}/components/ui/dropdown-menu.tsx (100%) rename {web/src => src}/components/ui/form.tsx (100%) rename {web/src => src}/components/ui/hover-card.tsx (100%) rename {web/src => src}/components/ui/input-otp.tsx (100%) rename {web/src => src}/components/ui/input.tsx (100%) rename {web/src => src}/components/ui/label.tsx (100%) rename {web/src => src}/components/ui/marquee.tsx (100%) rename {web/src => src}/components/ui/menubar.tsx (100%) rename {web/src => src}/components/ui/navigation-menu.tsx (100%) rename {web/src => src}/components/ui/pagination.tsx (100%) rename {web/src => src}/components/ui/particles.tsx (100%) rename {web/src => src}/components/ui/popover.tsx (100%) rename {web/src => src}/components/ui/progress.tsx (100%) rename {web/src => src}/components/ui/radio-group.tsx (100%) rename {web/src => src}/components/ui/resizable.tsx (100%) rename {web/src => src}/components/ui/scroll-area.tsx (100%) rename {web/src => src}/components/ui/select.tsx (100%) rename {web/src => src}/components/ui/separator.tsx (100%) rename {web/src => src}/components/ui/sheet.tsx (100%) rename {web/src => src}/components/ui/shine-border.tsx (100%) rename {web/src => src}/components/ui/sidebar.tsx (100%) rename {web/src => src}/components/ui/skeleton.tsx (100%) rename {web/src => src}/components/ui/slider.tsx (100%) rename {web/src => src}/components/ui/sonner.tsx (100%) rename {web/src => src}/components/ui/switch.tsx (100%) rename {web/src => src}/components/ui/table.tsx (100%) rename {web/src => src}/components/ui/tabs.tsx (100%) rename {web/src => src}/components/ui/text-animate.tsx (100%) rename {web/src => src}/components/ui/textarea.tsx (100%) rename {web/src => src}/components/ui/toast.tsx (100%) rename {web/src => src}/components/ui/toaster.tsx (100%) rename {web/src => src}/components/ui/toggle-group.tsx (100%) rename {web/src => src}/components/ui/toggle.tsx (100%) rename {web/src => src}/components/ui/tooltip.tsx (100%) rename {web/src => src}/components/ui/use-mobile.tsx (100%) rename {web/src => src}/components/ui/use-toast.ts (100%) rename {web/src => src}/hooks/use-mobile.ts (100%) rename {web/src => src}/hooks/use-toast.ts (100%) rename {web/src => src}/lib/posthog.ts (100%) rename {web/src => src}/lib/utils.ts (100%) rename {web/src => src}/providers/PostHogProvider.tsx (100%) rename web/tsconfig.json => tsconfig.json (100%) rename web/vercel.json => vercel.json (100%) delete mode 100644 web/.env.example delete mode 100644 web/.husky/pre-commit diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..45123ec --- /dev/null +++ b/.env.example @@ -0,0 +1,2 @@ +NEXT_PUBLIC_POSTHOG_KEY= +NEXT_PUBLIC_POSTHOG_HOST= \ No newline at end of file diff --git a/web/.eslintrc.json b/.eslintrc.json similarity index 100% rename from web/.eslintrc.json rename to .eslintrc.json diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md index 8843e53..a82f684 100644 --- a/.github/CODE_OF_CONDUCT.md +++ b/.github/CODE_OF_CONDUCT.md @@ -2,78 +2,131 @@ ## Our Pledge -We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation. +We as members, contributors, and leaders pledge to make participation in our +community a harassment-free experience for everyone, regardless of age, body +size, visible or invisible disability, ethnicity, sex characteristics, gender +identity and expression, level of experience, education, socio-economic status, +nationality, personal appearance, race, caste, color, religion, or sexual +identity and orientation. -We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. +We pledge to act and interact in ways that contribute to an open, welcoming, +diverse, inclusive, and healthy community. ## Our Standards -Examples of behavior that contributes to a positive environment for our community include: +Examples of behavior that contributes to a positive environment for our +community include: - Demonstrating empathy and kindness toward other people - Being respectful of differing opinions, viewpoints, and experiences - Giving and gracefully accepting constructive feedback -- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience -- Focusing on what is best not just for us as individuals, but for the overall community +- Accepting responsibility and apologizing to those affected by our mistakes, + and learning from the experience +- Focusing on what is best not just for us as individuals, but for the overall + community Examples of unacceptable behavior include: -- The use of sexualized language or imagery, and sexual attention or advances of any kind +- The use of sexualized language or imagery, and sexual attention or advances of + any kind - Trolling, insulting or derogatory comments, and personal or political attacks - Public or private harassment -- Publishing others' private information, such as a physical or email address, without their explicit permission -- Other conduct which could reasonably be considered inappropriate in a professional setting +- Publishing others' private information, such as a physical or email address, + without their explicit permission +- Other conduct which could reasonably be considered inappropriate in a + professional setting ## Enforcement Responsibilities -Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful. +Community leaders are responsible for clarifying and enforcing our standards of +acceptable behavior and will take appropriate and fair corrective action in +response to any behavior that they deem inappropriate, threatening, offensive, +or harmful. -Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate. +Community leaders have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, and will communicate reasons for moderation +decisions when appropriate. ## Scope -This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. +This Code of Conduct applies within all community spaces, and also applies when +an individual is officially representing the community in public spaces. +Examples of representing our community include using an official e-mail address, +posting via an official social media account, or acting as an appointed +representative at an online or offline event. ## Enforcement -Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [INSERT EMAIL HERE]. - +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported to the community leaders responsible for enforcement at +[conduct@acta.team](mailto:conduct@acta.team) or by +[opening a private security advisory](https://github.com/ACTA/dApp-ACTA/security/advisories/new) +with the type "Code of Conduct Violation". All complaints will be reviewed and investigated promptly and fairly. -All community leaders are obligated to respect the privacy and security of the reporter of any incident. +All community leaders are obligated to respect the privacy and security of the +reporter of any incident. ## Enforcement Guidelines -Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct: +Community leaders will follow these Community Impact Guidelines in determining +the consequences for any action they deem in violation of this Code of Conduct: ### 1. Correction -**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community. +**Community Impact**: Use of inappropriate language or other behavior deemed +unprofessional or unwelcome in the community. -**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested. +**Consequence**: A private, written warning from community leaders, providing +clarity around the nature of the violation and an explanation of why the +behavior was inappropriate. A public apology may be requested. ### 2. Warning -**Community Impact**: A violation through a single incident or series of actions. +**Community Impact**: A violation through a single incident or series of +actions. -**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban. +**Consequence**: A warning with consequences for continued behavior. No +interaction with the people involved, including unsolicited interaction with +those enforcing the Code of Conduct, for a specified period of time. This +includes avoiding interactions in community spaces as well as external channels +like social media. Violating these terms may lead to a temporary or permanent +ban. ### 3. Temporary Ban -**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior. +**Community Impact**: A serious violation of community standards, including +sustained inappropriate behavior. -**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban. +**Consequence**: A temporary ban from any sort of interaction or public +communication with the community for a specified period of time. No public or +private interaction with the people involved, including unsolicited interaction +with those enforcing the Code of Conduct, is allowed during this period. +Violating these terms may lead to a permanent ban. ### 4. Permanent Ban -**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. +**Community Impact**: Demonstrating a pattern of violation of community +standards, including sustained inappropriate behavior, harassment of an +individual, or aggression toward or disparagement of classes of individuals. -**Consequence**: A permanent ban from any sort of public interaction within the community. +**Consequence**: A permanent ban from any sort of public interaction within the +community. ## Attribution -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at https://www.contributor-covenant.org/version/2/1/code_of_conduct.html. +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version 2.1, available at +[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1] + +Community Impact Guidelines were inspired by +[Mozilla's code of conduct enforcement ladder][Mozilla CoC]. -For answers to common questions about this code of conduct, see https://www.contributor-covenant.org/faq. +For answers to common questions about this code of conduct, see +[https://www.contributor-covenant.org/faq][FAQ] [homepage]: https://www.contributor-covenant.org +[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html +[Mozilla CoC]: https://github.com/mozilla/diversity +[FAQ]: https://www.contributor-covenant.org/faq diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md deleted file mode 100644 index a86ffea..0000000 --- a/.github/CONTRIBUTING.md +++ /dev/null @@ -1,151 +0,0 @@ -# Contributing to Acta - -Thank you for your interest in contributing to Acta! This document provides guidelines and instructions for contributing to our project. - -## πŸš€ Getting Started - -### Prerequisites - -- Node.js (Jod LTS version recommended) -- npm or yarn -- A Stellar wallet (Freighter, Albedo, xBull, or LOBSTR) -- Firebase account (for development) - -For detailed setup instructions, please refer to the [README.md](README.md). - -## πŸ“ Code Standards - -### Code Formatting - -We use Prettier for code formatting. Before committing changes: - -```bash -npx prettier --write . -``` - -### Linting - -We use ESLint for code quality. Run the linter: - -```bash -npm run lint -``` - -### Git Hooks - -We use Husky to enforce code quality on commit and push: - -- Code formatting is checked on commit -- Linting is checked on push -- Failed checks will prevent the commit/push - -## πŸ”„ Contribution Workflow - -1. Fork the repository to your GitHub account -2. Clone your forked repository: - -```bash -git clone https://github.com/your-username/dApp-Acta.git -cd dApp-Acta -``` - -3. Add the upstream repository: - -```bash -git remote add upstream https://github.com/acta/dApp-Acta.git -``` - -4. Create a new branch from the `develop` branch: - -```bash -git checkout develop -git pull upstream develop -git checkout -b feature/your-feature-name -``` - -5. Make your changes and commit them: - -```bash -git add . -git commit -m "feat: your descriptive commit message" -``` - -6. Push your branch to your fork: - -```bash -git push origin feature/your-feature-name -``` - -7. Create a Pull Request (PR) from your fork's branch to the upstream `develop` branch - - Use the provided PR template - - Link any related issues - - Request reviews from relevant team members - -### Issue and Pull Request Templates - -We provide templates for both issues and pull requests: - -- Use the issue template when reporting bugs or requesting features -- Use the PR template when submitting changes -- Templates can be found in the `.github` directory - -### Commit Message Format - -We follow the [Conventional Commits](https://www.conventionalcommits.org/) specification: - -- `feat:` for new features -- `fix:` for bug fixes -- `docs:` for documentation changes -- `style:` for formatting changes -- `refactor:` for code refactoring -- `test:` for test-related changes -- `chore:` for maintenance tasks - -## πŸ§ͺ Testing - -Before submitting a PR: - -1. Run the test suite: - -```bash -npm test -``` - -2. Ensure all tests pass -3. Add new tests for your changes if applicable - -## πŸ” Code Review Process - -1. PRs will be reviewed by maintainers -2. Address any feedback or requested changes -3. Once approved, your PR will be merged into `develop` - -## πŸ“š Documentation - -- Update documentation for any new features or changes -- Ensure README.md and CONTRIBUTING.md are up to date -- Add comments for complex code sections - -## πŸ› Reporting Issues - -When reporting issues: - -1. Use the provided issue template -2. Provide detailed steps to reproduce -3. Include expected vs actual behavior -4. Add relevant logs or screenshots - -## 🀝 Community Guidelines - -- Be respectful and inclusive -- Follow the [Code of Conduct](CODE_OF_CONDUCT.md) -- Help others when possible -- Keep discussions constructive - -## πŸ“ž Getting Help - -- Check the [documentation](README.md) -- Join our community chat -- Open an issue for technical questions - -Thank you for contributing to Acta! πŸš€ diff --git a/.github/contributing/GIT_GUIDELINE.md b/.github/GIT_GUIDELINE.md similarity index 98% rename from .github/contributing/GIT_GUIDELINE.md rename to .github/GIT_GUIDELINE.md index eaf924a..67431d5 100644 --- a/.github/contributing/GIT_GUIDELINE.md +++ b/.github/GIT_GUIDELINE.md @@ -1,4 +1,4 @@ -# πŸš€ Commit Guidelines | Acta +# πŸš€ Commit Guidelines | ACTA This guideline establishes clear conventions for commit messages and branch naming in this project. Following these conventions ensures a consistent and readable commit history. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 828cd23..e89718a 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,60 +1,99 @@ -# Pull Request for Acta - Close Issue +## Description -❗ **Pull Request Information** + - +## Type of Change -Add here some information + -## πŸŒ€ Summary of Changes +- [ ] πŸ› Bug fix (non-breaking change which fixes an issue) +- [ ] ✨ New feature (non-breaking change which adds functionality) +- [ ] πŸ’₯ Breaking change (fix or feature that would cause existing functionality to not work as expected) +- [ ] πŸ“š Documentation update +- [ ] 🎨 Style/formatting changes (no code change) +- [ ] ♻️ Code refactoring (no functional changes) +- [ ] ⚑ Performance improvement +- [ ] βœ… Tests (adding missing tests or correcting existing tests) +- [ ] πŸ”§ Build/config changes +- [ ] πŸ”’ Security fix - +## Related Issues -- **Add here the changes**: -- **More changes**: + -## πŸ›  Testing +Closes # +Fixes # +Relates to # -### Evidence Before Solution +## Changes Made - + -- **Video**: [Link to Loom video](https://loom.com) +- +- +- -### Evidence After Solution +## Screenshots / Videos - + -- **Video**: [Link to Loom video](https://loom.com) +| Before | After | +| ------ | ----- | +| | | ---- +## Testing -## βœ… ESLint Compliance (Mandatory) + -To ensure that the code follows project standards, please run the following command and attach a screenshot of the output: +### Test Cases -```bash -npm run lint -``` +- [ ] Test case 1: +- [ ] Test case 2: +- [ ] Test case 3: -You should see: +### Manual Testing Steps -``` -βœ” No ESLint warnings or errors -``` +1. +2. +3. -πŸ“Έ **Attach a screenshot showing the result of the lint check:** +## Checklist -> ⚠️ **Pull requests without this screenshot will be rejected.** + ---- +- [ ] My code follows the project's style guidelines +- [ ] I have performed a self-review of my own code +- [ ] I have commented my code, particularly in hard-to-understand areas +- [ ] I have made corresponding changes to the documentation +- [ ] My changes generate no new warnings +- [ ] I have added tests that prove my fix is effective or that my feature works +- [ ] New and existing unit tests pass locally with my changes +- [ ] Any dependent changes have been merged and published +- [ ] I have checked for breaking changes and documented them if applicable +- [ ] I have updated the CHANGELOG.md (if applicable) -## πŸ“‚ Related Issue +## Dependencies - + -This pull request will **close # [Issue Number]** upon merging. +### Added ---- +- -πŸŽ‰ Thank you for reviewing this PR! πŸŽ‰ +### Removed + +- + +### Updated + +- + +## Additional Notes + + + +## Reviewers + + + +/cc @ diff --git a/.github/contributing/CONTRIBUTORS_GUIDELINE.md b/.github/contributing/CONTRIBUTORS_GUIDELINE.md deleted file mode 100644 index 1e7d9f2..0000000 --- a/.github/contributing/CONTRIBUTORS_GUIDELINE.md +++ /dev/null @@ -1,96 +0,0 @@ -# 🌟 Contributing Guide | Acta - -We're thrilled that you're interested in contributing to **Acta**! Please follow the steps below to ensure a seamless and efficient collaboration process. - ---- - -## 1️⃣ Fork the Repository - -1. **Create a GitHub account** if you don’t already have one. -2. Navigate to the repository’s GitHub page. -3. Click the **Fork** button in the top-right corner to create a copy of the repository under your account. - ---- - -## 2️⃣ Clone the Fork - -1. Clone the forked repository to your local machine by running the following command: - - ```bash - git clone https://github.com/YOUR_USERNAME/Acta.git - ``` - -2. Replace `YOUR_USERNAME` with your GitHub username. - ---- - -## 3️⃣ Create a New Branch - -1. **Follow branch naming conventions** outlined in the [Git Guidelines](https://github.com/ActaCR/Landing/blob/main/GIT_GUIDELINE.md). -2. Create a branch name based on the type of change (e.g., `feat/name-related-issue`, `fix/name-related-issue`). - - ```bash - git checkout -b branch-name - ``` - - > Example: `feat/update-readme` or `fix/login-bug`. - ---- - -## 4️⃣ Make Changes and Write Atomic Commits - -1. Make changes in your local repository. -2. Follow **atomic commit principles**: - - Each commit should address a single, logical change. - - Avoid bundling unrelated changes in a single commit. - - Write clear and descriptive commit messages using the format: - - ```bash - git add . - git commit -m "type(scope): description" - ``` - - > Examples: - - `feat(authentication): add support for OAuth login` - - `fix(api): resolve 404 error in user endpoint` - - `docs(readme): update contribution guidelines` - ---- - -## 5️⃣ Run the Project Locally - -1. Ensure the project runs correctly after making your changes. -2. Follow the project-specific setup instructions to test your changes locally. - ---- - -## 6️⃣ Push Your Changes - -1. Push your changes to your forked repository: - - ```bash - git push origin your-branch-name - ``` - -2. ⚠️ **Note:** This repository uses Husky for pre-push hooks. Husky will automatically run `npm run format` and `npm run lint` before allowing the push. - - If you encounter errors, fix any formatting or linting issues before retrying the push. - ---- - -## 7️⃣ Create a Pull Request (PR) - -1. Navigate to your forked repository on GitHub. -2. Click **New Pull Request** and select your branch to merge into the `main` of the original repository. -3. Use the **Pull Request Template** provided and fill it out properly. - -⚠️ **Important:** Pull requests without the proper template or missing required details may be rejected. - ---- - -## πŸ’‘ Additional Notes - -- Follow the [Git Guidelines](https://github.com/ActaCR/Landing/blob/main/GIT_GUIDELINE.md) for branch naming, commit messages, and overall contribution standards. -- Ensure your code adheres to the repository’s coding standards. -- Respect the project maintainers' feedback and requested changes. - -Thank you for contributing to **Acta**! πŸš€βœ¨ diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml new file mode 100644 index 0000000..14adca4 --- /dev/null +++ b/.github/workflows/pr-checks.yml @@ -0,0 +1,46 @@ +name: PR Checks + +on: + pull_request: + types: [opened, synchronize, reopened] + +jobs: + lint: + name: Lint Check + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + cache-dependency-path: package-lock.json + + - name: Install dependencies + run: npm ci + + - name: Run lint + run: npm run lint + + build: + name: Build Check + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + cache-dependency-path: package-lock.json + + - name: Install dependencies + run: npm ci + + - name: Run build + run: npm run build diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml deleted file mode 100644 index 0104085..0000000 --- a/.github/workflows/web.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Web CI - -on: - push: - branches: ["main"] - paths: - - "web/**" - pull_request: - branches: ["main"] - paths: - - "web/**" - -jobs: - build: - runs-on: ubuntu-latest - defaults: - run: - working-directory: web - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: "20" - - - name: Install dependencies - run: npm install - - - name: Lint code - run: npm run lint - - - name: Build application - run: npm run build diff --git a/web/.gitignore b/.gitignore similarity index 100% rename from web/.gitignore rename to .gitignore diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 0000000..11a7e44 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,6 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +npm run format +npm run lint +npm run build \ No newline at end of file diff --git a/web/.prettierignore b/.prettierignore similarity index 100% rename from web/.prettierignore rename to .prettierignore diff --git a/web/.prettierrc b/.prettierrc similarity index 100% rename from web/.prettierrc rename to .prettierrc diff --git a/LICENSE b/LICENSE index a93e37e..cd083af 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2025 Acta +Copyright (c) 2024 ACTA Team Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/web/components.json b/components.json similarity index 100% rename from web/components.json rename to components.json diff --git a/web/eslint.config.mjs b/eslint.config.mjs similarity index 100% rename from web/eslint.config.mjs rename to eslint.config.mjs diff --git a/web/next.config.ts b/next.config.ts similarity index 100% rename from web/next.config.ts rename to next.config.ts diff --git a/web/package-lock.json b/package-lock.json similarity index 100% rename from web/package-lock.json rename to package-lock.json diff --git a/web/package.json b/package.json similarity index 100% rename from web/package.json rename to package.json diff --git a/web/postcss.config.mjs b/postcss.config.mjs similarity index 100% rename from web/postcss.config.mjs rename to postcss.config.mjs diff --git a/web/public/Acta-logo.png b/public/Acta-logo.png similarity index 100% rename from web/public/Acta-logo.png rename to public/Acta-logo.png diff --git a/web/public/ActaCard.png b/public/ActaCard.png similarity index 100% rename from web/public/ActaCard.png rename to public/ActaCard.png diff --git a/web/public/banner.png b/public/banner.png similarity index 100% rename from web/public/banner.png rename to public/banner.png diff --git a/web/src/app/favicon.ico b/src/app/favicon.ico similarity index 100% rename from web/src/app/favicon.ico rename to src/app/favicon.ico diff --git a/web/src/app/globals.css b/src/app/globals.css similarity index 100% rename from web/src/app/globals.css rename to src/app/globals.css diff --git a/web/src/app/layout.tsx b/src/app/layout.tsx similarity index 100% rename from web/src/app/layout.tsx rename to src/app/layout.tsx diff --git a/web/src/app/page.tsx b/src/app/page.tsx similarity index 100% rename from web/src/app/page.tsx rename to src/app/page.tsx diff --git a/web/src/components/AnimatedActa.tsx b/src/components/AnimatedActa.tsx similarity index 100% rename from web/src/components/AnimatedActa.tsx rename to src/components/AnimatedActa.tsx diff --git a/web/src/components/Aurora.tsx b/src/components/Aurora.tsx similarity index 100% rename from web/src/components/Aurora.tsx rename to src/components/Aurora.tsx diff --git a/web/src/components/DappCredentialCard.tsx b/src/components/DappCredentialCard.tsx similarity index 100% rename from web/src/components/DappCredentialCard.tsx rename to src/components/DappCredentialCard.tsx diff --git a/web/src/components/FAQ.tsx b/src/components/FAQ.tsx similarity index 100% rename from web/src/components/FAQ.tsx rename to src/components/FAQ.tsx diff --git a/web/src/components/FlipCredential.tsx b/src/components/FlipCredential.tsx similarity index 100% rename from web/src/components/FlipCredential.tsx rename to src/components/FlipCredential.tsx diff --git a/web/src/components/Footer.tsx b/src/components/Footer.tsx similarity index 100% rename from web/src/components/Footer.tsx rename to src/components/Footer.tsx diff --git a/web/src/components/HeroSubtitle.tsx b/src/components/HeroSubtitle.tsx similarity index 100% rename from web/src/components/HeroSubtitle.tsx rename to src/components/HeroSubtitle.tsx diff --git a/web/src/components/HowItWorks.tsx b/src/components/HowItWorks.tsx similarity index 100% rename from web/src/components/HowItWorks.tsx rename to src/components/HowItWorks.tsx diff --git a/web/src/components/ScrollProgress.tsx b/src/components/ScrollProgress.tsx similarity index 100% rename from web/src/components/ScrollProgress.tsx rename to src/components/ScrollProgress.tsx diff --git a/web/src/components/StarsBackground.tsx b/src/components/StarsBackground.tsx similarity index 100% rename from web/src/components/StarsBackground.tsx rename to src/components/StarsBackground.tsx diff --git a/web/src/components/UseCasesCarousel.tsx b/src/components/UseCasesCarousel.tsx similarity index 100% rename from web/src/components/UseCasesCarousel.tsx rename to src/components/UseCasesCarousel.tsx diff --git a/web/src/components/ValueDetails.tsx b/src/components/ValueDetails.tsx similarity index 100% rename from web/src/components/ValueDetails.tsx rename to src/components/ValueDetails.tsx diff --git a/web/src/components/ValueDetailsExtended.tsx b/src/components/ValueDetailsExtended.tsx similarity index 100% rename from web/src/components/ValueDetailsExtended.tsx rename to src/components/ValueDetailsExtended.tsx diff --git a/web/src/components/ValueProposition.tsx b/src/components/ValueProposition.tsx similarity index 100% rename from web/src/components/ValueProposition.tsx rename to src/components/ValueProposition.tsx diff --git a/web/src/components/WaitlistForm.tsx b/src/components/WaitlistForm.tsx similarity index 100% rename from web/src/components/WaitlistForm.tsx rename to src/components/WaitlistForm.tsx diff --git a/web/src/components/theme-provider.tsx b/src/components/theme-provider.tsx similarity index 100% rename from web/src/components/theme-provider.tsx rename to src/components/theme-provider.tsx diff --git a/web/src/components/ui/accordion.tsx b/src/components/ui/accordion.tsx similarity index 100% rename from web/src/components/ui/accordion.tsx rename to src/components/ui/accordion.tsx diff --git a/web/src/components/ui/alert-dialog.tsx b/src/components/ui/alert-dialog.tsx similarity index 100% rename from web/src/components/ui/alert-dialog.tsx rename to src/components/ui/alert-dialog.tsx diff --git a/web/src/components/ui/alert.tsx b/src/components/ui/alert.tsx similarity index 100% rename from web/src/components/ui/alert.tsx rename to src/components/ui/alert.tsx diff --git a/web/src/components/ui/animated-shiny-text.tsx b/src/components/ui/animated-shiny-text.tsx similarity index 100% rename from web/src/components/ui/animated-shiny-text.tsx rename to src/components/ui/animated-shiny-text.tsx diff --git a/web/src/components/ui/aspect-ratio.tsx b/src/components/ui/aspect-ratio.tsx similarity index 100% rename from web/src/components/ui/aspect-ratio.tsx rename to src/components/ui/aspect-ratio.tsx diff --git a/web/src/components/ui/avatar.tsx b/src/components/ui/avatar.tsx similarity index 100% rename from web/src/components/ui/avatar.tsx rename to src/components/ui/avatar.tsx diff --git a/web/src/components/ui/badge.tsx b/src/components/ui/badge.tsx similarity index 100% rename from web/src/components/ui/badge.tsx rename to src/components/ui/badge.tsx diff --git a/web/src/components/ui/breadcrumb.tsx b/src/components/ui/breadcrumb.tsx similarity index 100% rename from web/src/components/ui/breadcrumb.tsx rename to src/components/ui/breadcrumb.tsx diff --git a/web/src/components/ui/button.tsx b/src/components/ui/button.tsx similarity index 100% rename from web/src/components/ui/button.tsx rename to src/components/ui/button.tsx diff --git a/web/src/components/ui/calendar.tsx b/src/components/ui/calendar.tsx similarity index 100% rename from web/src/components/ui/calendar.tsx rename to src/components/ui/calendar.tsx diff --git a/web/src/components/ui/card.tsx b/src/components/ui/card.tsx similarity index 100% rename from web/src/components/ui/card.tsx rename to src/components/ui/card.tsx diff --git a/web/src/components/ui/carousel.tsx b/src/components/ui/carousel.tsx similarity index 100% rename from web/src/components/ui/carousel.tsx rename to src/components/ui/carousel.tsx diff --git a/web/src/components/ui/chart.tsx b/src/components/ui/chart.tsx similarity index 100% rename from web/src/components/ui/chart.tsx rename to src/components/ui/chart.tsx diff --git a/web/src/components/ui/checkbox.tsx b/src/components/ui/checkbox.tsx similarity index 100% rename from web/src/components/ui/checkbox.tsx rename to src/components/ui/checkbox.tsx diff --git a/web/src/components/ui/collapsible.tsx b/src/components/ui/collapsible.tsx similarity index 100% rename from web/src/components/ui/collapsible.tsx rename to src/components/ui/collapsible.tsx diff --git a/web/src/components/ui/command.tsx b/src/components/ui/command.tsx similarity index 100% rename from web/src/components/ui/command.tsx rename to src/components/ui/command.tsx diff --git a/web/src/components/ui/context-menu.tsx b/src/components/ui/context-menu.tsx similarity index 100% rename from web/src/components/ui/context-menu.tsx rename to src/components/ui/context-menu.tsx diff --git a/web/src/components/ui/dialog.tsx b/src/components/ui/dialog.tsx similarity index 100% rename from web/src/components/ui/dialog.tsx rename to src/components/ui/dialog.tsx diff --git a/web/src/components/ui/drawer.tsx b/src/components/ui/drawer.tsx similarity index 100% rename from web/src/components/ui/drawer.tsx rename to src/components/ui/drawer.tsx diff --git a/web/src/components/ui/dropdown-menu.tsx b/src/components/ui/dropdown-menu.tsx similarity index 100% rename from web/src/components/ui/dropdown-menu.tsx rename to src/components/ui/dropdown-menu.tsx diff --git a/web/src/components/ui/form.tsx b/src/components/ui/form.tsx similarity index 100% rename from web/src/components/ui/form.tsx rename to src/components/ui/form.tsx diff --git a/web/src/components/ui/hover-card.tsx b/src/components/ui/hover-card.tsx similarity index 100% rename from web/src/components/ui/hover-card.tsx rename to src/components/ui/hover-card.tsx diff --git a/web/src/components/ui/input-otp.tsx b/src/components/ui/input-otp.tsx similarity index 100% rename from web/src/components/ui/input-otp.tsx rename to src/components/ui/input-otp.tsx diff --git a/web/src/components/ui/input.tsx b/src/components/ui/input.tsx similarity index 100% rename from web/src/components/ui/input.tsx rename to src/components/ui/input.tsx diff --git a/web/src/components/ui/label.tsx b/src/components/ui/label.tsx similarity index 100% rename from web/src/components/ui/label.tsx rename to src/components/ui/label.tsx diff --git a/web/src/components/ui/marquee.tsx b/src/components/ui/marquee.tsx similarity index 100% rename from web/src/components/ui/marquee.tsx rename to src/components/ui/marquee.tsx diff --git a/web/src/components/ui/menubar.tsx b/src/components/ui/menubar.tsx similarity index 100% rename from web/src/components/ui/menubar.tsx rename to src/components/ui/menubar.tsx diff --git a/web/src/components/ui/navigation-menu.tsx b/src/components/ui/navigation-menu.tsx similarity index 100% rename from web/src/components/ui/navigation-menu.tsx rename to src/components/ui/navigation-menu.tsx diff --git a/web/src/components/ui/pagination.tsx b/src/components/ui/pagination.tsx similarity index 100% rename from web/src/components/ui/pagination.tsx rename to src/components/ui/pagination.tsx diff --git a/web/src/components/ui/particles.tsx b/src/components/ui/particles.tsx similarity index 100% rename from web/src/components/ui/particles.tsx rename to src/components/ui/particles.tsx diff --git a/web/src/components/ui/popover.tsx b/src/components/ui/popover.tsx similarity index 100% rename from web/src/components/ui/popover.tsx rename to src/components/ui/popover.tsx diff --git a/web/src/components/ui/progress.tsx b/src/components/ui/progress.tsx similarity index 100% rename from web/src/components/ui/progress.tsx rename to src/components/ui/progress.tsx diff --git a/web/src/components/ui/radio-group.tsx b/src/components/ui/radio-group.tsx similarity index 100% rename from web/src/components/ui/radio-group.tsx rename to src/components/ui/radio-group.tsx diff --git a/web/src/components/ui/resizable.tsx b/src/components/ui/resizable.tsx similarity index 100% rename from web/src/components/ui/resizable.tsx rename to src/components/ui/resizable.tsx diff --git a/web/src/components/ui/scroll-area.tsx b/src/components/ui/scroll-area.tsx similarity index 100% rename from web/src/components/ui/scroll-area.tsx rename to src/components/ui/scroll-area.tsx diff --git a/web/src/components/ui/select.tsx b/src/components/ui/select.tsx similarity index 100% rename from web/src/components/ui/select.tsx rename to src/components/ui/select.tsx diff --git a/web/src/components/ui/separator.tsx b/src/components/ui/separator.tsx similarity index 100% rename from web/src/components/ui/separator.tsx rename to src/components/ui/separator.tsx diff --git a/web/src/components/ui/sheet.tsx b/src/components/ui/sheet.tsx similarity index 100% rename from web/src/components/ui/sheet.tsx rename to src/components/ui/sheet.tsx diff --git a/web/src/components/ui/shine-border.tsx b/src/components/ui/shine-border.tsx similarity index 100% rename from web/src/components/ui/shine-border.tsx rename to src/components/ui/shine-border.tsx diff --git a/web/src/components/ui/sidebar.tsx b/src/components/ui/sidebar.tsx similarity index 100% rename from web/src/components/ui/sidebar.tsx rename to src/components/ui/sidebar.tsx diff --git a/web/src/components/ui/skeleton.tsx b/src/components/ui/skeleton.tsx similarity index 100% rename from web/src/components/ui/skeleton.tsx rename to src/components/ui/skeleton.tsx diff --git a/web/src/components/ui/slider.tsx b/src/components/ui/slider.tsx similarity index 100% rename from web/src/components/ui/slider.tsx rename to src/components/ui/slider.tsx diff --git a/web/src/components/ui/sonner.tsx b/src/components/ui/sonner.tsx similarity index 100% rename from web/src/components/ui/sonner.tsx rename to src/components/ui/sonner.tsx diff --git a/web/src/components/ui/switch.tsx b/src/components/ui/switch.tsx similarity index 100% rename from web/src/components/ui/switch.tsx rename to src/components/ui/switch.tsx diff --git a/web/src/components/ui/table.tsx b/src/components/ui/table.tsx similarity index 100% rename from web/src/components/ui/table.tsx rename to src/components/ui/table.tsx diff --git a/web/src/components/ui/tabs.tsx b/src/components/ui/tabs.tsx similarity index 100% rename from web/src/components/ui/tabs.tsx rename to src/components/ui/tabs.tsx diff --git a/web/src/components/ui/text-animate.tsx b/src/components/ui/text-animate.tsx similarity index 100% rename from web/src/components/ui/text-animate.tsx rename to src/components/ui/text-animate.tsx diff --git a/web/src/components/ui/textarea.tsx b/src/components/ui/textarea.tsx similarity index 100% rename from web/src/components/ui/textarea.tsx rename to src/components/ui/textarea.tsx diff --git a/web/src/components/ui/toast.tsx b/src/components/ui/toast.tsx similarity index 100% rename from web/src/components/ui/toast.tsx rename to src/components/ui/toast.tsx diff --git a/web/src/components/ui/toaster.tsx b/src/components/ui/toaster.tsx similarity index 100% rename from web/src/components/ui/toaster.tsx rename to src/components/ui/toaster.tsx diff --git a/web/src/components/ui/toggle-group.tsx b/src/components/ui/toggle-group.tsx similarity index 100% rename from web/src/components/ui/toggle-group.tsx rename to src/components/ui/toggle-group.tsx diff --git a/web/src/components/ui/toggle.tsx b/src/components/ui/toggle.tsx similarity index 100% rename from web/src/components/ui/toggle.tsx rename to src/components/ui/toggle.tsx diff --git a/web/src/components/ui/tooltip.tsx b/src/components/ui/tooltip.tsx similarity index 100% rename from web/src/components/ui/tooltip.tsx rename to src/components/ui/tooltip.tsx diff --git a/web/src/components/ui/use-mobile.tsx b/src/components/ui/use-mobile.tsx similarity index 100% rename from web/src/components/ui/use-mobile.tsx rename to src/components/ui/use-mobile.tsx diff --git a/web/src/components/ui/use-toast.ts b/src/components/ui/use-toast.ts similarity index 100% rename from web/src/components/ui/use-toast.ts rename to src/components/ui/use-toast.ts diff --git a/web/src/hooks/use-mobile.ts b/src/hooks/use-mobile.ts similarity index 100% rename from web/src/hooks/use-mobile.ts rename to src/hooks/use-mobile.ts diff --git a/web/src/hooks/use-toast.ts b/src/hooks/use-toast.ts similarity index 100% rename from web/src/hooks/use-toast.ts rename to src/hooks/use-toast.ts diff --git a/web/src/lib/posthog.ts b/src/lib/posthog.ts similarity index 100% rename from web/src/lib/posthog.ts rename to src/lib/posthog.ts diff --git a/web/src/lib/utils.ts b/src/lib/utils.ts similarity index 100% rename from web/src/lib/utils.ts rename to src/lib/utils.ts diff --git a/web/src/providers/PostHogProvider.tsx b/src/providers/PostHogProvider.tsx similarity index 100% rename from web/src/providers/PostHogProvider.tsx rename to src/providers/PostHogProvider.tsx diff --git a/web/tsconfig.json b/tsconfig.json similarity index 100% rename from web/tsconfig.json rename to tsconfig.json diff --git a/web/vercel.json b/vercel.json similarity index 100% rename from web/vercel.json rename to vercel.json diff --git a/web/.env.example b/web/.env.example deleted file mode 100644 index cee6e7f..0000000 --- a/web/.env.example +++ /dev/null @@ -1,3 +0,0 @@ -NEXT_PUBLIC_POSTHOG_KEY= -NEXT_PUBLIC_POSTHOG_HOST= -NEXT_PUBLIC_ACTA_API_URL= \ No newline at end of file diff --git a/web/.husky/pre-commit b/web/.husky/pre-commit deleted file mode 100644 index f120243..0000000 --- a/web/.husky/pre-commit +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env sh - -echo "Husky: running format, lint and build before commit..." - -# Ensure we run inside the web directory -cd "$(dirname -- "$0")/.." || exit 1 - -# Format all files and re-stage changes -npm run format || exit 1 -git add -A || exit 1 - -# Lint the project (same behavior as ACTA-demo) -npm run lint || exit 1 - -# Build to catch type/errors before commit -npm run build || exit 1 - -echo "Husky: checks passed. Proceeding with commit." From d02c7d770765101b7e3bac9a29c7807071a93689 Mon Sep 17 00:00:00 2001 From: JosueBrenes Date: Wed, 3 Dec 2025 18:52:14 -0600 Subject: [PATCH 2/2] docs: rename project title in README to reflect updated branding --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 85d7d1b..7cdd889 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ACTA Web Frontend +# Website Modern web interface for the ACTA (Automated Credential Trust Authority) ecosystem, featuring Passkey authentication and Stellar blockchain integration.