Update website heading logo #3

Merged
nabarun merged 4 commits from pj-fix-apk-link into main 2025-08-14 09:19:12 +00:00
9 changed files with 20 additions and 18 deletions

View File

@ -1 +1 @@
MTM_VPN_APK_URL=https://git.vdb.to/cerc-io/mtm-vpn-client-public/releases/download/mtm-vpn-android-v1.8.0-mtm-0.1.0/mtmvpn-general-release-v1.8.0-mtm-0.1.1.apk
MTM_VPN_APK_URL=https://git.vdb.to/cerc-io/mtm-vpn-client-public/releases/download/mtm-vpn-android-v1.8.0-mtm-0.1.1/mtmvpn-general-release-v1.8.0-mtm-0.1.1.apk

View File

@ -1,7 +1,6 @@
name: Build the Webapp
on:
release:
types: [published]
pull_request:
env:
CERC_REGISTRY_USER_KEY: ${{ secrets.CICD_LACONIC_USER_KEY }}
@ -17,16 +16,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20
- name: "Install Yarn"
run: npm install -g yarn
- name: "Install registry CLI"
run: |
npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/
yarn global add @cerc-io/laconic-registry-cli
- name: "Install jq"
run: apt -y update && apt -y install jq
- name: "Install dependencies"
run: yarn install
run: npm install
- name: "Lint code"
run: npm run lint
- name: "Build application"

View File

@ -1,3 +1,7 @@
# mtm-vpn-client-public
Download the latest APK from the [Releases page](https://git.vdb.to/cerc-io/mtm-vpn-client-public/releases) and install it on your Android device to start using MTM VPN.
## Deploy the Webapp
Steps to deploy the webapp: [Deploy Webapp Readme](./deploy/README.md)

View File

@ -24,7 +24,13 @@ const LandingPage = () => {
<nav className={styles.nav}>
<div className={styles.navContent}>
<div>
<span className={styles.logo}>MTM VPN</span>
<Image
src="/mtm-vpn-name-logo.png"
alt="MTM VPN"
className={styles.logo}
width={178}
height={32}
/>
</div>
</div>
</nav>

2
deploy/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.app.env
.registry.env

View File

@ -5,7 +5,7 @@
- Clone the repo:
```bash
git clone https://github.com/deep-stack/mtm-vpn-client-public.git
git clone https://git.vdb.to/cerc-io/mtm-vpn-client-public.git
cd mtm-vpn-client-public/deploy
```

View File

@ -9,13 +9,13 @@ echo "Using DEPLOYER_LRN: $DEPLOYER_LRN"
echo "Using AUTHORITY: $AUTHORITY"
# Repository URL
REPO_URL="https://github.com/deep-stack/mtm-vpn-client-public"
REPO_URL="https://git.vdb.to/cerc-io/mtm-vpn-client-public"
# Get the latest commit hash for a branch
BRANCH_NAME="main"
LATEST_HASH=$(git ls-remote $REPO_URL refs/heads/$BRANCH_NAME | awk '{print $1}')
PACKAGE_VERSION=$(curl -s $REPO_URL/raw/main/package.json | jq -r .version)
PACKAGE_VERSION=$(curl -s $REPO_URL/raw/branch/main/package.json | jq -r .version)
APP_NAME=mtm-vpn

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

View File

@ -56,9 +56,8 @@
}
.logo {
font-size: 1.5rem;
font-weight: bold;
color: white;
filter: brightness(0) invert(1);
}
.main {