diff --git a/README.md b/README.md index 669db1d..ee1827c 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,6 @@ for pitch to group, have a side by side example of blog written in markdown, mic ## How to try it out -Visit https://miguelalmodo.com/dist2 to try installing to your +Visit https://miguelalmodo.com/dist to try installing to your smartphone home screen. diff --git a/public/assets/icons/144x144.png b/public/assets/icons/144x144.png index 3c56468..6124976 100644 Binary files a/public/assets/icons/144x144.png and b/public/assets/icons/144x144.png differ diff --git a/public/assets/screenshots/screen.png b/public/assets/screenshots/screen.png index 330869f..75a06b4 100644 Binary files a/public/assets/screenshots/screen.png and b/public/assets/screenshots/screen.png differ diff --git a/public/manifest.json b/public/manifest.json index 17c3fcc..ae362ff 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -64,7 +64,7 @@ ], "widgets": [ { - "name": "Starter Widget", + "name": "A miggymofongo project", "tag": "starterWidget", "ms_ac_template": "widget/ac.json", "data": "widget/data.json", diff --git a/src/components/header.ts b/src/components/header.ts index db3c042..af58f47 100644 --- a/src/components/header.ts +++ b/src/components/header.ts @@ -89,7 +89,7 @@ export class AppHeader extends LitElement { // this method displays a guest view when the user is signed out this.nostrAddy = ''; this.bio = 'Welcome, guest! Please sign in with a browser extension to view your profile.'; - this.profilePic = '/public/assets/img/default_pfp.png'; // a placeholder profile picture + this.profilePic = '/assets/img/default_pfp.png'; // a placeholder profile picture this.isSignedIn = false; this.dispatchUserStateChanged(); @@ -103,7 +103,7 @@ export class AppHeader extends LitElement { { onevent: (event) => { const profileData = JSON.parse(event.content); - this.profilePic = profileData.picture || '/assets/img/default_pfp.png'; + this.profilePic = profileData.picture; this.nostrAddy = profileData.nip05 || 'no addy available'; this.bio = profileData.about || 'bio not available'; diff --git a/src/pages/app-home.ts b/src/pages/app-home.ts index fa65aee..dfbcc81 100644 --- a/src/pages/app-home.ts +++ b/src/pages/app-home.ts @@ -25,7 +25,7 @@ export class AppHome extends LitElement { @property() message = 'Welcome to my demo!'; @property({ type: String }) nostrAddy = ''; @property({ type: String }) bio = ''; - @property({ type: String }) profilePic = ''; + @property({ type: String }) profilePic = '/assets/img/default_pfp.png'; @property({ type: Boolean }) isSignedIn = false; @property({ type: String }) publicKey = ''; @@ -44,7 +44,7 @@ Profile Picture Container align-itens: center; grid-template-columns: 350px 150px; grid-template-rows: 250px; - grid-column-gap: 15px; + grid-column-gap: 10px; } @@ -183,7 +183,7 @@ Profile Picture Container
${this.bio || 'Welcome, guest! Please sign in to view your profile.'}