AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(frontend): Fix broken terms of use link (#8279)
Toran Bruce Richards0c517216dffc
diff --git a/.github/workflows/platform-frontend-ci.yml b/.github/workflows/platform-frontend-ci.ymlindex 4262cd6484..ce3633013b 100644--- a/.github/workflows/platform-frontend-ci.yml+++ b/.github/workflows/platform-frontend-ci.yml@@ -39,10 +39,27 @@ jobs:runs-on: ubuntu-lateststeps:+ - name: Free Disk Space (Ubuntu)+ uses: jlumbroso/free-disk-space@main+ with:+ # this might remove tools that are actually needed,+ # if set to "true" but frees about 6 GB+ tool-cache: false++ # all of these default to true, but feel free to set to+ # "false" if necessary for your workflow+ android: false+ dotnet: false+ haskell: false+ large-packages: true+ docker-images: true+ swap-storage: true+- name: Checkout repositoryuses: actions/checkout@v4with:submodules: recursive+- name: Set up Node.jsuses: actions/setup-node@v4with:diff --git a/autogpt_platform/frontend/src/app/marketplace/submit/page.tsx b/autogpt_platform/frontend/src/app/marketplace/submit/page.tsxindex 63ee9cfd2f..24863130a8 100644--- a/autogpt_platform/frontend/src/app/marketplace/submit/page.tsx+++ b/autogpt_platform/frontend/src/app/marketplace/submit/page.tsx@@ -144,7 +144,7 @@ const SubmitPage: React.FC = () => {setSubmitError(null);if (!data.agreeToTerms) {- throw new Error("You must agree to the terms of service");+ throw new Error("You must agree to the terms of use");}try {@@ -404,7 +404,7 @@ const SubmitPage: React.FC = () => {<Controllername="agreeToTerms"control={control}- rules={{ required: "You must agree to the terms of service" }}+ rules={{ required: "You must agree to the terms of use" }}render={({ field }) => (<div className="flex items-center space-x-2"><Checkbox@@ -417,8 +417,11 @@ const SubmitPage: React.FC = () => {className="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70">I agree to the{" "}- <a href="/terms" className="text-blue-500 hover:underline">- terms of service+ <a+ href="https://auto-gpt.notion.site/Terms-of-Use-11400ef5bece80d0b087d7831c5fd6bf"+ className="text-blue-500 hover:underline"+ >+ terms of use</a></label></div>