-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from ATOR-Development/leggo/phase-1/dev
Leggo/phase 1/dev
- Loading branch information
Showing
117 changed files
with
27,592 additions
and
19,167 deletions.
There are no files selected for viewing
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,12 @@ | ||
pnpm exec lint-staged | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
# Check if the test script is the placeholder one and skip it if so | ||
if grep -q "\"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"" package.json; then | ||
echo "Skipping tests because no test script is specified." | ||
else | ||
npm test | ||
fi | ||
|
||
# Run lint-staged to format the code | ||
npx lint-staged |
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,37 @@ | ||
<template> | ||
<NuxtLayout> | ||
<NuxtLoadingIndicator /> | ||
<NuxtPage /> | ||
</NuxtLayout> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { reconnect } from 'use-wagmi/actions'; | ||
import { mainnet, sepolia, hardhat } from 'use-wagmi/chains'; | ||
import { createWeb3Modal, defaultWagmiConfig } from '@web3modal/wagmi/vue'; | ||
import { | ||
metadata, | ||
getAtorAddress, | ||
themeVariables, | ||
} from '@/config/web3modal.config'; | ||
import { createWeb3Modal, defaultWagmiConfig } from '@web3modal/wagmi/vue' | ||
import { mainnet, sepolia } from 'viem/chains' | ||
import { reconnect } from '@wagmi/core' | ||
import { metadata } from '@/config/web3modal.config'; | ||
import {config} from '@/config/wagmi.config' | ||
import { watchAccount } from '@wagmi/core' | ||
const chains = [mainnet, sepolia, hardhat]; | ||
const nuxtConfig = useRuntimeConfig(); | ||
const projectId = nuxtConfig.public.walletConnectProjectId; | ||
const wagmiConfig = defaultWagmiConfig({ | ||
chains, | ||
reconnect(config) | ||
// 3. Create modal | ||
createWeb3Modal({ | ||
wagmiConfig: config, | ||
projectId, | ||
metadata, | ||
ssr: false, | ||
}); | ||
defaultChain: sepolia, | ||
}) | ||
createWeb3Modal({ | ||
chains, | ||
tokens: { | ||
1: { | ||
address: getAtorAddress(), | ||
image: '/images/ator-logo.png', | ||
}, | ||
const unwatch = watchAccount(config, { | ||
onChange(account) { | ||
console.log('Account changed!', account) | ||
}, | ||
projectId, | ||
wagmiConfig, | ||
themeVariables, | ||
}); | ||
}) | ||
unwatch() | ||
onMounted(() => { | ||
reconnect(wagmiConfig); | ||
}); | ||
</script> | ||
|
||
<template> | ||
<NuxtLayout> | ||
<NuxtLoadingIndicator /> | ||
<NuxtPage /> | ||
</NuxtLayout> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,7 +78,7 @@ | |
} | ||
|
||
body { | ||
font-family: "Inter", sans-serif; | ||
/* font-family: "Inter", sans-serif; */ | ||
} | ||
|
||
progress { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<script setup lang="ts"> | ||
import ButtonThemeToggle from './ui-kit/ButtonThemeToggle.vue'; | ||
const config = useRuntimeConfig(); | ||
const version = '1.0.0'; | ||
const commitHash = config.public.commitHash || 'dev'; | ||
</script> | ||
|
||
<template> | ||
<footer | ||
class="bg-gradient-to-t from-slate-100 to-teal-50 dark:from-zinc-900 dark:via-gray-900 py-4 px-6 mt-auto flex justify-between lg:justify-center items-center rounded-xl"> | ||
<div class="flex gap-2"> | ||
<TitleAndLogo /> | ||
<h1 class="lg:hidden capitalize font-brand tracking-wider">ATOR</h1> | ||
</div> | ||
|
||
<div class="text-sm text-gray-600 dark:text-gray-300 justify-self-center margin-auto"> | ||
Version: {{ version }} | Commit: {{ commitHash }} | ||
</div> | ||
|
||
<div class="lg:hidden flex items-center gap-2"> | ||
<ButtonThemeToggle /> | ||
</div> | ||
</footer> | ||
</template> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file modified
0
components/DataTableMyRelays/columns/RegistrationActionColumn.vue
100644 → 100755
Empty file.
Empty file.
Empty file.
Oops, something went wrong.