├── .gitattributes
├── .vscode
└── extensions.json
├── .gitignore
├── public
└── favicon.ico
├── src
├── main.ts
├── logic
│ ├── index.ts
│ ├── webz
│ │ ├── README.md
│ │ ├── calculateAlbumLayout.ts
│ │ └── LICENSE
│ ├── formatter.ts
│ ├── models.ts
│ ├── spoilers.ts
│ └── markdown.ts
├── css
│ ├── colors.sass
│ └── global.sass
├── env.d.ts
├── index.ts
├── views
│ ├── index.ts
│ ├── VideoPlayer.vue
│ ├── Location.vue
│ ├── Poll.vue
│ ├── AudioPlayer.vue
│ ├── FileView.vue
│ ├── ImageViewer.vue
│ ├── PostView.vue
│ └── TgBlog.vue
├── components.d.ts
├── App.vue
└── auto-imports.d.ts
├── index.html
├── demo.local.html
├── tsconfig.json
├── demo.html
├── .github
└── workflows
│ └── github-pages-deploy.yml
├── LICENSE
├── package.json
├── vite.config.ts
├── README.md
└── yarn.lock
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/.vscode/extensions.json:
--------------------------------------------------------------------------------
1 | {
2 | "recommendations": ["johnsoncodehk.volar"]
3 | }
4 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
3 | dist
4 | dist-ssr
5 | *.local
6 |
7 | .idea
8 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/one-among-us/tg-blog/HEAD/public/favicon.ico
--------------------------------------------------------------------------------
/src/main.ts:
--------------------------------------------------------------------------------
1 | import {createApp} from 'vue'
2 | import App from './App.vue'
3 |
4 | createApp(App).mount('#app')
5 |
--------------------------------------------------------------------------------
/src/logic/index.ts:
--------------------------------------------------------------------------------
1 | export * from "./formatter"
2 | export * from "./models"
3 | export * from "./spoilers"
4 | export * from "./markdown"
5 |
--------------------------------------------------------------------------------
/src/logic/webz/README.md:
--------------------------------------------------------------------------------
1 | These are files modified from [Telegram's Web Z client](https://github.com/Ajaxy/telegram-tt), with the GPLv3 license included in [LICENSE](./LICENSE).
2 |
--------------------------------------------------------------------------------
/src/css/colors.sass:
--------------------------------------------------------------------------------
1 | $color-text-main: #70512a
2 | $color-text-light: rgba(166, 134, 89, 0.84)
3 | $color-text-special: #ff8373
4 | $color-text-special-dark: #ab4343
5 |
6 | // Lower means lighter
7 | $color-bg-6: #ffeedb
8 | $color-bg-5: #fff4eb
9 | $color-bg-card: #fdf9f1
10 | $color-bg-4: #fffcf9
11 |
--------------------------------------------------------------------------------
/src/env.d.ts:
--------------------------------------------------------------------------------
1 | ///