diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cfd33f6..647e5f6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -46,6 +46,7 @@ jobs: env: NEXT_PUBLIC_OPENCHAIN_API_URL: ${{ vars.NEXT_PUBLIC_OPENCHAIN_API_URL }} NEXT_PUBLIC_UMAMI_WEBSITE_ID: ${{ vars.NEXT_PUBLIC_UMAMI_WEBSITE_ID }} + NEXT_PUBLIC_ENVIRONMENT: ${{ env.NEXT_PUBLIC_ENVIRONMENT }} - name: "setup-gcloud" uses: "google-github-actions/setup-gcloud@v2" diff --git a/src/app/import/page.tsx b/src/app/import/page.tsx index 518c51f..82a695a 100644 --- a/src/app/import/page.tsx +++ b/src/app/import/page.tsx @@ -1,8 +1,9 @@ "use client"; import { useState } from "react"; -import { FaUpload } from "react-icons/fa"; +import { FaUpload, FaArrowLeft } from "react-icons/fa"; import { ethers } from "ethers"; +import Link from "next/link"; // Example data const examples = { @@ -320,6 +321,16 @@ export default function ImportPage() {
{/* Main Content */}
+ {/* Back Button */} +
+ + + Back to Search + +
{/* Alert Messages */} {alertMessage && (
diff --git a/src/app/page.tsx b/src/app/page.tsx index c171f0a..104678c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -306,9 +306,9 @@ function SearchInterface() { />
- {stats.function !== undefined &&
{stats.function.toLocaleString()} functions
} - {stats.event !== undefined &&
{stats.event.toLocaleString()} events
} - {stats.error !== undefined &&
{stats.error.toLocaleString()} errors
} + {stats.function !== undefined &&
{stats.function.toLocaleString()} function signatures
} + {stats.event !== undefined &&
{stats.event.toLocaleString()} event signatures
} + {stats.error !== undefined &&
{stats.error.toLocaleString()} error signatures
}
@@ -489,7 +489,7 @@ function SearchInterface() { )}

- 📢 Migration Notice: Sourcify is overtaking openchain.xyz and its APIs. - Please switch to api.4byte.sourcify.dev domain (same API endpoints). + 📢 Migration Notice: Sourcify is taking over{" "} + + openchain.xyz + {" "} + API . Please switch to api.4byte.sourcify.dev (same API).

- - Sourcify Logo - sourcify.eth - - - {/* Desktop Menu */} -
- - Import/Submit Signatures - - - sourcify.dev - - - - API - + + Sourcify Logo + sourcify.eth - - Docs - - - - - -
- {/* Mobile Menu */} - -
-
+ {/* Desktop Menu */} +
+ + Import/Submit Signatures + + + sourcify.dev + + + + API + + + + Docs + + + + + +
+ + {/* Mobile Menu */} + + + ); }