-
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.
* Update environment and metadata * Delete template files * Update package.json scripts * Update build and prepare scripts * Add TonConnect component to Home page * Add wallet functionality to useTonConnect * Move ton connections to Pinia store * Add @esbuild-plugins/node-globals-polyfill dependency * Refactor TonConnectStore to use reactive properties * Header draft * Fix theme switch and ton connect UI * Syncronyze tonConnect theme with website theme * Update colors in App.vue * Layout draft * Remove unused DBtn import in DFooter.vue * lintfix * Refactor TonConnectStore and DSidebar components * Polyfill buffer in build * Master contract store * Make blogs NFT items * Fix fees in test fixtures and contracts * Refactor test setup in DSocialNetworkMaster and DSocialNetworkBlog specs * Fix create post fee validation and restrict post creation to owner only * Add transfer tests * Group tests * Rename contracts hooks and handle royalty params on transfer * Optimize hooks * Move contracts to packages * Refactor masterContractStore to use dynamic master contract addresses * Refactor DPost * Create markdown converters * Remove unused import and update link in DFooter.vue * Create text for the main page * Generate user avatar by wallet * Update UserAvatar.vue to use thumbs collection * Init sidebar navigation * Create blog form * useOpenedContract * Replace deprecated ton packages * Workaround for @ton/ton incompatibility with Vue ton-core/ton#26 * Fix @ton/core patch ton-core/ton#26 * Fix sidebar toggle in Layout.vue and DSidebar.vue * Error: Unsupported item type: tvm.stackEntrySlice * My blogs draft * Add redirect rule to netlify.toml
- Loading branch information
Showing
113 changed files
with
5,367 additions
and
1,478 deletions.
There are no files selected for viewing
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 @@ | ||
VITE_TON_NETWORK=TESTNET |
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,9 @@ | ||
/// <reference types="vite/client" /> | ||
|
||
interface ImportMetaEnv { | ||
readonly VITE_TON_NETWORK: 'TESTNET' | 'MAINNET' | ||
} | ||
|
||
interface ImportMeta { | ||
readonly env: ImportMetaEnv | ||
} |
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,2 +1,7 @@ | ||
[build] | ||
ignore = "node apps/d.d0rich.me/ignore-build.mjs" | ||
|
||
[[redirects]] | ||
from = "/*" | ||
to = "/index.html" | ||
status = 200 |
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,6 @@ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {} | ||
} | ||
} |
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,5 @@ | ||
{ | ||
"url": "https://d.d0rich.me", | ||
"name": "D", | ||
"iconUrl": "https://d.d0rich.me/android-chrome-192x192.png" | ||
} |
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,5 @@ | ||
{ | ||
"url": "https://testnet.d.d0rich.me", | ||
"name": "D", | ||
"iconUrl": "https://testnet.d.d0rich.me/android-chrome-192x192.png" | ||
} |
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,91 +1,18 @@ | ||
<script setup lang="ts"> | ||
import { RouterLink, RouterView } from 'vue-router' | ||
import HelloWorld from './components/HelloWorld.vue' | ||
import { RouterView } from 'vue-router' | ||
import Layout from './layout/Layout.vue' | ||
</script> | ||
|
||
<template> | ||
<header> | ||
<img | ||
alt="Vue logo" | ||
class="logo" | ||
src="@/assets/logo.svg" | ||
width="125" | ||
height="125" | ||
/> | ||
|
||
<div class="wrapper"> | ||
<HelloWorld msg="You did it!" /> | ||
|
||
<nav> | ||
<RouterLink to="/">Home</RouterLink> | ||
<RouterLink to="/about">About</RouterLink> | ||
</nav> | ||
</div> | ||
</header> | ||
|
||
<RouterView /> | ||
<Layout> | ||
<RouterView /> | ||
</Layout> | ||
</template> | ||
|
||
<style scoped> | ||
header { | ||
line-height: 1.5; | ||
max-height: 100vh; | ||
} | ||
.logo { | ||
display: block; | ||
margin: 0 auto 2rem; | ||
} | ||
nav { | ||
width: 100%; | ||
font-size: 12px; | ||
text-align: center; | ||
margin-top: 2rem; | ||
} | ||
nav a.router-link-exact-active { | ||
color: var(--color-text); | ||
} | ||
nav a.router-link-exact-active:hover { | ||
background-color: transparent; | ||
} | ||
nav a { | ||
display: inline-block; | ||
padding: 0 1rem; | ||
border-left: 1px solid var(--color-border); | ||
} | ||
nav a:first-of-type { | ||
border: 0; | ||
} | ||
@media (min-width: 1024px) { | ||
header { | ||
display: flex; | ||
place-items: center; | ||
padding-right: calc(var(--section-gap) / 2); | ||
} | ||
.logo { | ||
margin: 0 2rem 0 0; | ||
} | ||
header .wrapper { | ||
display: flex; | ||
place-items: flex-start; | ||
flex-wrap: wrap; | ||
} | ||
nav { | ||
text-align: left; | ||
margin-left: -1rem; | ||
font-size: 1rem; | ||
padding: 1rem 0; | ||
margin-top: 1rem; | ||
} | ||
<style> | ||
/* TODO: Configure colors more percisely */ | ||
body { | ||
@apply text-black dark:text-white | ||
bg-neutral-300 dark:bg-neutral-800; | ||
} | ||
</style> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.