Skip to content

Commit

Permalink
Merge pull request #309 from axone-protocol/refactor/rebranding
Browse files Browse the repository at this point in the history
♻️ rebranding axone logo and text
  • Loading branch information
bdeneux authored May 31, 2024
2 parents 4f5cf44 + f3b1b87 commit 386941a
Show file tree
Hide file tree
Showing 33 changed files with 2,266 additions and 307 deletions.
6 changes: 3 additions & 3 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
APP_TITLE="OKP4 Faucet devnet"
APP_KEYWORDS="OKP4, Faucet, Blockchain, Know, Devnet, Token"
APP_TITLE="AXONE Faucet devnet"
APP_KEYWORDS="AXONE, Faucet, Blockchain, axone, Devnet, Token"
CHAIN_ID=okp4-devnet-1
CHAIN_NAME=OKP4
CHAIN_NAME=AXONE
CHAIN_RPC_ENDPOINT=https://api.devnet.staging.okp4.network:443/rpc
CHAIN_REST_ENDPOINT=https://api.devnet.staging.okp4.network
FAUCET_URL=https://faucet.devnet.staging.okp4.network/graphql
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/okp4/projects/9
github-token: ${{ secrets.OKP4_TOKEN }}
project-url: https://github.com/orgs/axone-protocol/projects/2
github-token: ${{ secrets.OPS_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
github-token: ${{ secrets.OKP4_TOKEN }}
github-token: ${{ secrets.OPS_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/follow-contributor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
uses: okp4/[email protected]
with:
username: ${{ github.event.pull_request.user.login }}
token: ${{ secrets.OKP4_TOKEN }}
token: ${{ secrets.OPS_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
if: ${{ failure() }}
uses: codelytv/no-pull-requests@v1
with:
GITHUB_TOKEN: ${{ secrets.OKP4_TOKEN }}
GITHUB_TOKEN: ${{ secrets.OPS_TOKEN }}
message: 🙅 Closing the PR because it does not respect naming conventions. Edit the branch name and submit a new PR.
env:
GITHUB_TOKEN: ${{ secrets.OKP4_TOKEN }}
GITHUB_TOKEN: ${{ secrets.OPS_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/notify-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Notify Discord
uses: fjogeleit/http-request-action@v1
with:
url: ${{ secrets.OKP4_DISCORD_WEBHOOK }}
url: ${{ secrets.DISCORD_WEBHOOK }}
method: 'POST'
customHeaders: '{"Content-Type": "application/json"}'
data: |-
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ jobs:
id: docker_metadata
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }},${{ github.repository }}
images: ghcr.io/${{ github.repository }},axoneprotocol/faucet-web
tags: |
type=raw,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }},value=nightly
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
labels: |
org.opencontainers.image.vendor=OKP4
org.opencontainers.image.vendor=AXONE
- name: Login to OKP4 Docker registry
- name: Login to AXONE Docker registry
uses: docker/login-action@v3
with:
registry: ghcr.io
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4
with:
token: ${{ secrets.OKP4_TOKEN }}
token: ${{ secrets.OPS_TOKEN }}

- name: Set up node
uses: actions/setup-node@v4
Expand All @@ -41,8 +41,8 @@ jobs:
extends: |
conventional-changelog-conventionalcommits
env:
GITHUB_TOKEN: ${{ secrets.OKP4_TOKEN }}
GIT_AUTHOR_NAME: ${{ secrets.OKP4_BOT_GIT_AUTHOR_NAME }}
GIT_AUTHOR_EMAIL: ${{ secrets.OKP4_BOT_GIT_AUTHOR_EMAIL }}
GIT_COMMITTER_NAME: ${{ secrets.OKP4_BOT_GIT_COMMITTER_NAME }}
GIT_COMMITTER_EMAIL: ${{ secrets.OKP4_BOT_GIT_COMMITTER_EMAIL }}
GITHUB_TOKEN: ${{ secrets.OPS_TOKEN }}
GIT_AUTHOR_NAME: ${{ vars.BOT_GIT_AUTHOR_NAME }}
GIT_AUTHOR_EMAIL: ${{ vars.BOT_GIT_AUTHOR_EMAIL }}
GIT_COMMITTER_NAME: ${{ vars.BOT_GIT_COMMITTER_NAME }}
GIT_COMMITTER_EMAIL: ${{ vars.BOT_GIT_COMMITTER_EMAIL }}
2 changes: 1 addition & 1 deletion .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins:
- preset: conventionalcommits
- - "@semantic-release/changelog"
- changelogFile: CHANGELOG.md
changelogTitle: "# ØKP4 Faucet-Web changelog"
changelogTitle: "# AXONE Faucet-Web changelog"
- - "@semantic-release/npm"
- npmPublish: false
tarballDir: "false"
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2021, OKP4.com
Copyright (c) 2021, axone.xyz
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# ØKP4 Faucet Web App
# AXONE Faucet Web App

> 🚰 Token Faucet Web App for the [ØKP4]([okp4.network](https://okp4.network)) testnet network.
> 🚰 Token Faucet Web App for the [AXONE]([axone.xyz](https://axone.xyz)) testnet network.
[![version](https://img.shields.io/github/v/release/okp4/faucet-web?style=for-the-badge&logo=github)](https://github.com/okp4/faucet-web/releases)
[![lint](https://img.shields.io/github/actions/workflow/status/okp4/faucet-web/lint.yml?branch=main&label=lint&style=for-the-badge&logo=github)](https://github.com/okp4/faucet-web/actions/workflows/lint.yml)
[![build](https://img.shields.io/github/actions/workflow/status/okp4/faucet-web/build.yml?branch=main&label=build&style=for-the-badge&logo=github)](https://github.com/okp4/faucet-web/actions/workflows/build.yml)
[![version](https://img.shields.io/github/v/release/axone-protocol/faucet-web?style=for-the-badge&logo=github)](https://github.com/axone-protocol/faucet-web/releases)
[![lint](https://img.shields.io/github/actions/workflow/status/axone-protocol/faucet-web/lint.yml?branch=main&label=lint&style=for-the-badge&logo=github)](https://github.com/axone-protocol/faucet-web/actions/workflows/lint.yml)
[![build](https://img.shields.io/github/actions/workflow/status/axone-protocol/faucet-web/build.yml?branch=main&label=build&style=for-the-badge&logo=github)](https://github.com/axone-protocol/faucet-web/actions/workflows/build.yml)
[![conventional commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=for-the-badge&logo=conventionalcommits)](https://conventionalcommits.org)
[![contributor covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg?style=for-the-badge)](https://github.com/okp4/.github/blob/main/CODE_OF_CONDUCT.md)
[![contributor covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg?style=for-the-badge)](https://github.com/axone-protocol/.github/blob/main/CODE_OF_CONDUCT.md)
[![license](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg?style=for-the-badge)](https://opensource.org/licenses/BSD-3-Clause)
![TypeScript](https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge&logo=typescript&logoColor=white)
[![prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=for-the-badge)](https://github.com/prettier/prettier)

## Purpose

A webapp that allows users to get a small amount of `knøw` tokens to play with the [ØKP4]([okp4.network](https://okp4.network)) testnet.
A webapp that allows users to get a small amount of `axone` tokens to play with the [AXONE]([axone.xyz](https://axone.xyz)) testnet.

## Setup

Expand Down
2 changes: 1 addition & 1 deletion environment.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ declare module 'next/config' {
}

export default _default
}
}
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ const nextConfig = {
output: 'standalone',
}

module.exports = nextConfig
module.exports = nextConfig
25 changes: 15 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@okp4/faucet-web",
"name": "@axone/faucet-web",
"version": "1.2.1",
"private": false,
"repository": "[email protected]:okp4/faucet-web.git",
"repository": "[email protected]:axone-protocol/faucet-web.git",
"license": "BSD-3-Clause",
"description": "Token faucet web app for the ØKP4 network testnets.",
"homepage": "https://github.com/okp4/faucet-web",
"description": "Token faucet web app for the AXONE network testnets.",
"homepage": "https://github.com/axone-protocol/faucet-web",
"author": {
"name": "OKP4",
"web": "https://okp4.network"
"name": "AXONE",
"web": "https://axone.xyz"
},
"engines": {
"node": "^16.18.0",
Expand All @@ -18,7 +18,11 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint && stylelint --fix '**/*.scss'"
"lint": "next lint && stylelint --fix '**/*.scss'",
"gen-svg-sprite:logos": "yarn run svg-sprite -s --symbol-dest='' --symbol-sprite='sprite' --dest=public/logos src/assets/logos/*.svg",
"gen-svg-sprite": "yarn gen-svg-sprite:logos",
"clean-svg:logos": "yarn run svgo -f ./src/assets/logos --exclude 'sprite.svg' -o ./src/assets/logos",
"clean-svg": "yarn clean-svg:logos"
},
"dependencies": {
"next": "12.3.1",
Expand All @@ -35,13 +39,14 @@
"eslint": "8.32.0",
"eslint-config-next": "12.3.1",
"eslint-plugin-functional": "^4.4.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"prettier": "^2.8.2",
"sass": "^1.57.1",
"stylelint": "^14.15.0",
"stylelint-config-sass-guidelines": "^9.0.1",
"stylelint-scss": "^4.3.0",
"typescript": "4.9.4"
"svg-sprite": "^1.5.4",
"svgo": "^2.8.0"
}
}
1 change: 1 addition & 0 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/logos/sprite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/okp4-logo.png
Binary file not shown.
Loading

0 comments on commit 386941a

Please sign in to comment.