Merge pull request #6 from HiamQuan/feature/main_page

feat: 231025/remove_unneccesary_buttons
This commit is contained in:
Nguyễn Anh Quân 2025-10-23 13:30:49 +07:00 committed by GitHub
commit 8a876d6e3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 29 additions and 73 deletions

View File

@ -5,7 +5,7 @@
<link rel="icon" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Web Wallet</title>
<title>Neptune Web Wallet</title>
</head>
<body>
<div id="app"></div>

View File

@ -1,5 +1,5 @@
{
"name": "webtoon-admin",
"name": "neptune-web-wallet",
"version": "0.0.0",
"private": true,
"type": "module",

View File

@ -1,6 +1,6 @@
import axios from 'axios'
import router from '@/router'
import { STATUS_CODE_SUCCESS, ACCESS_TOKEN, STATUS_CODE_UNAUTHORIZED } from '@/helpers'
import { STATUS_CODE_SUCCESS, ACCESS_TOKEN, STATUS_CODE_UNAUTHORIZED } from '@/utils'
axios.defaults.withCredentials = false

View File

@ -31,7 +31,3 @@ h2 {
margin-bottom: 1rem;
text-align: center;
}
.highlight {
color: var(--primary-color);
}

View File

@ -25,3 +25,6 @@
.text-muted {
color: var(--text-muted);
}
.highlight {
color: var(--primary-color);
}

View File

@ -2,39 +2,38 @@
// ==================== COLORS ====================
// Primary Colors
--primary-color: #007FCF;
--primary-hover: #0066A6;
--primary-light: #E8F4FC;
--primary-bg: #F5FBFF;
--primary-color: #007fcf;
--primary-hover: #0066a6;
--primary-light: #e8f4fc;
--primary-bg: #f5fbff;
// Secondary Colors
--secondary-color: #FF9500;
--secondary-hover: #E68600;
--secondary-color: #ff9500;
--secondary-hover: #e68600;
// Text Colors
--text-primary: #2c3e50;
--text-secondary: #5a6c7d;
--text-muted: #8b95a5;
--text-light: #ffffff;
// Background Colors
--bg-gradient-start: #F0F8FF;
--bg-gradient-end: #E6F2FF;
--bg-gradient-start: #f0f8ff;
--bg-gradient-end: #e6f2ff;
--bg-white: #ffffff;
--bg-light: #F8FCFF;
--bg-hover: #E8F4FC;
--bg-light: #f8fcff;
--bg-hover: #e8f4fc;
// Border Colors
--border-light: #E6F2FF;
--border-color: #EBF5FF;
--border-primary: #007FCF;
--border-light: #e6f2ff;
--border-color: #ebf5ff;
--border-primary: #007fcf;
// Status Colors
--success-color: #10B981;
--warning-color: #F59E0B;
--error-color: #EF4444;
--info-color: #007FCF;
--success-color: #10b981;
--warning-color: #f59e0b;
--error-color: #ef4444;
--info-color: #007fcf;
// ==================== SPACING ====================

View File

@ -1,8 +1,7 @@
<script setup lang="ts">
import type { IconProps } from '@/interface';
import type { IconProps } from '@/interface'
import { computed } from 'vue'
const props = withDefaults(defineProps<IconProps>(), {
size: 16,
color: 'currentColor',

View File

@ -9,7 +9,7 @@ const authStore = useAuthStore()
const currentState = computed(() => authStore.getCurrentState())
const handleOnboardingComplete = () => {
authStore.nextStep()
authStore.nextStep()
}
const handleGoToCreate = () => {

View File

@ -11,16 +11,8 @@ const walletStatus = ref('Online')
const networkName = computed(() => props.network.replace('-mainnet', ''))
const handleCompoundTransactions = () => {
console.log('Compound Transactions')
}
const handleExportCSV = () => {
console.log('Export transactions as CSV')
}
const handleUpdateTransactionTimes = () => {
console.log('Update transaction times')
const handleBackupFile = () => {
console.log('Backup File')
}
const handleBackupSeed = () => {
@ -30,14 +22,6 @@ const handleBackupSeed = () => {
const handleRecoverFromSeed = () => {
console.log('Recover From Seed')
}
const handleExportWalletSeed = () => {
console.log('Export Wallet Seed File (KPK)')
}
const handleImportWalletSeed = () => {
console.log('Import Wallet Seed File (KPK)')
}
</script>
<template>
@ -54,14 +38,8 @@ const handleImportWalletSeed = () => {
</div>
<div class="wallet-actions">
<ButtonCommon type="primary" size="large" block @click="handleCompoundTransactions">
Compound Transactions
</ButtonCommon>
<ButtonCommon type="primary" size="large" block @click="handleExportCSV">
Export transactions as CSV
</ButtonCommon>
<ButtonCommon type="primary" size="large" block @click="handleUpdateTransactionTimes">
Update transaction times
<ButtonCommon type="primary" size="large" block @click="handleBackupFile">
Backup File
</ButtonCommon>
<ButtonCommon type="primary" size="large" block @click="handleBackupSeed">
Backup Seed
@ -69,27 +47,9 @@ const handleImportWalletSeed = () => {
<ButtonCommon type="primary" size="large" block @click="handleRecoverFromSeed">
Recover From Seed
</ButtonCommon>
<ButtonCommon type="primary" size="large" block @click="handleExportWalletSeed">
Export Wallet Seed File (KPK)
</ButtonCommon>
<ButtonCommon type="primary" size="large" block @click="handleImportWalletSeed">
Import Wallet Seed File (KPK)
</ButtonCommon>
</div>
<Divider />
<div class="donations-section">
<h3 class="section-subtitle"><span style="margin-right: 8px"></span> DONATIONS</h3>
</div>
<Divider />
<div class="developer-section">
<h3 class="section-subtitle">
<span style="margin-right: 8px"></span> DEVELOPER INFO
</h3>
</div>
</div>
</template>

View File

@ -1,6 +1,5 @@
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
import VueDevTools from 'vite-plugin-vue-devtools'