Skip to content

Commit

Permalink
Merge pull request #88 from torusresearch/feat/solana-demo-revamp-ui
Browse files Browse the repository at this point in the history
Feat/solana demo revamp UI
  • Loading branch information
chaitanyapotti authored Jun 30, 2023
2 parents 907f3d2 + 2856e53 commit 94c7a34
Show file tree
Hide file tree
Showing 12 changed files with 763 additions and 1,186 deletions.
1,059 changes: 166 additions & 893 deletions examples/vue-app/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/vue-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@project-serum/borsh": "^0.2.3",
"@solana/spl-token": "^0.1.8",
"@solana/web3.js": "^1.63.1",
"@toruslabs/solana-embed": "file:../../toruslabs-solana-embed-0.3.0.tgz",
"@toruslabs/solana-embed": "file:../../",
"@types/elliptic": "^6.4.14",
"bs58": "^4.0.1",
"copy-to-clipboard": "^3.3.1",
Expand Down
Binary file modified examples/vue-app/public/favicon.ico
Binary file not shown.
19 changes: 13 additions & 6 deletions examples/vue-app/public/index.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet"
/>
<title>Solana Demo</title>
</head>
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
<strong
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to
continue.</strong
>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
Expand Down
26 changes: 10 additions & 16 deletions examples/vue-app/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,31 +1,25 @@
<template>
<HelloWorld/>
<Dashboard />
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import HelloWorld from './components/HelloWorld.vue';
import { defineComponent } from "vue";
import Dashboard from "./components/Dashboard";
export default defineComponent({
name: 'App',
name: "App",
components: {
HelloWorld
}
Dashboard,
},
});
</script>

<style>
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
}
html, body, #app {
height: 100%;
html,
body,
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif !important;
}
</style>
4 changes: 3 additions & 1 deletion examples/vue-app/src/assets/down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 94c7a34

Please sign in to comment.