Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Commit

Permalink
Move CSS to import, update view key label (resolves #29), add element…
Browse files Browse the repository at this point in the history
…-plus types, add static image assets (resolves #18), cleanup
  • Loading branch information
CryptoGrampy committed Jun 2, 2022
1 parent 79ea253 commit 5c1e2c1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/App.vue
Expand Up @@ -55,6 +55,6 @@ a:active {
.el-button {
border-radius: 0px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
font-weight: bold;
font-weight: bold !important;
}
</style>
Binary file removed src/assets/logo.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/HeaderComponent.vue
Expand Up @@ -11,7 +11,7 @@ const { user } = storeToRefs(configStore);
<el-col :span="17">
<router-link class="logo" to="/">
<el-row align="middle">
<img :src="user?.logoUrl" />
<img :src="user?.logoUrl" alt="store logo" />
<h1>
{{ user?.shopName }}
</h1>
Expand Down
2 changes: 1 addition & 1 deletion src/urlparams.ts
Expand Up @@ -23,7 +23,7 @@ export const getConfigFromHash = (): HotShopConfig => {
useAsPrimary: true,
shopName: "HotShop",
logoUrl:
"https://www.getmonero.org/press-kit/symbols/monero-symbol-480.png",
"/assets/images/monero-symbol-480.png",
};

hash.split("&").map((keyvalue) => {
Expand Down
5 changes: 5 additions & 0 deletions webpack.config.js
Expand Up @@ -63,6 +63,11 @@ module.exports = {
__dirname,
"node_modules/monero-javascript/dist"
),
},
{
from: "*",
context: path.resolve(__dirname, "src/assets/images"),
to: path.resolve(__dirname, "dist/assets/images")
}
],
}),
Expand Down

0 comments on commit 5c1e2c1

Please sign in to comment.