Skip to content

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.yml
index 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-latest
steps:
+ - 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 repository
uses: actions/checkout@v4
with:
submodules: recursive
+
- name: Set up Node.js
uses: actions/setup-node@v4
with:
diff --git a/autogpt_platform/frontend/src/app/marketplace/submit/page.tsx b/autogpt_platform/frontend/src/app/marketplace/submit/page.tsx
index 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 = () => {
<Controller
name="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>