Commit Graph

35 Commits

Author SHA1 Message Date
ca905d46aa
fix(web): remove deprecated options
Signed-off-by: SphericalKat <amolele@gmail.com>
2024-05-09 18:41:47 +05:30
5ea437b9f1
fix(phoenix): remove deprecated items
Signed-off-by: SphericalKat <amolele@gmail.com>
2024-05-09 18:39:59 +05:30
renovate[bot]
22982cf296
chore(deps): update dependency tailwindcss to v3 2023-06-27 16:14:38 +00:00
c87ce27844
Merge pull request #27 from SphericalKat/renovate/postcss-import-15.x 2023-06-27 21:43:54 +05:30
dependabot[bot]
73070a081e
chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 in /assets
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-27 16:11:34 +00:00
renovate[bot]
2bbbec248c
chore(deps): update dependency postcss-import to v15 2023-02-27 11:39:35 +00:00
Amogh Lele
dbe75a5065
feat(shorten): improve ux by showing users what the shortened url is
Signed-off-by: Amogh Lele <amogh@dyte.io>
2022-05-21 16:21:02 +05:30
Amogh Lele
dd609b5d84
chore(deps): update dependencies
Signed-off-by: Amogh Lele <amogh@dyte.io>
2022-05-06 16:55:57 +05:30
9b2da2dbf1
feat(ui): use custom scrollbars
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-10-07 09:10:54 +05:30
ae8cee8ccf
fix(build): don't purge used styles
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-10-07 09:06:08 +05:30
bca77b0ff6
refactor(markdown): improve styling
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-10-07 06:39:22 +05:30
dd089f13f9
feat(pastes): add support for markdown
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-10-07 06:18:10 +05:30
8b7073145d
chore(deps): bump phoenix and other package versions
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-10-07 05:29:22 +05:30
1d3a492814
chore: bump npm dependencies
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-25 13:33:45 +05:30
Akshit Garg
a3734cc6ab
refactor(styles): move the imports to the top
- Esbuild needs css imports to be on the top of the file for
  them to resolve properly

Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
2021-08-21 18:10:24 +05:30
Akshit Garg
8c99eb04a4
refactor(styles): use JetBrains Mono variable
- Remove Google fonts' "JetBrains Mono" as it didn't support variable
  and add the variable ttf for it

Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
2021-08-21 18:01:27 +05:30
Akshit Garg
0ed4427322
refactor(assets): remove webpack.config.js
Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
2021-08-21 17:50:45 +05:30
Akshit Garg
3f5b1d10ac
refactor(assets): swap webpack for esbuild
- Remove all webpack and babel related npm dependencies
- Add esbuild and esbuild-plugin-postcss2 as a dependency
- Add a custom `build.js` script to build css and js with esbuild
  and copy static files to the priv/static directory
- Modify `config/dev.exs` to use that build script as a watcher instead
  of webpack
- Modify `package.json` to use that build script in instead of webpack
- Modify `KetbinWeb.Endpoint` to serve the assets directory instead of
  css and js directories from static
- Modify the `app.html.eex` layout to use `assets` directory instead of
  separate css and js directories

Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
2021-08-21 17:41:46 +05:30
74ed02c4da chore(build): remove node-sass and sass-loader
fixes freebsd builds

Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-20 07:00:07 +05:30
8b7c362611
fix(pastes): sanitize paste content while rendering
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-17 03:00:24 +05:30
425fb2b571
feat(pastes): use rustler for highlight NIF
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-17 02:05:58 +05:30
7374d7189e
refactor(styles): unify look and feel across pages
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-15 04:53:50 +05:30
0618654ad5
feat(pastes): handle edit permissions using plugs
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-15 04:47:44 +05:30
58498d47d4
refactor(ui): make alerts look nicer
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-15 04:12:26 +05:30
c99df5e8bd
feat(user): style register page
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-15 02:18:34 +05:30
16a0c7ec98
fix(ui): fix misc ui bugs
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-15 01:25:18 +05:30
40b55e47de
fix(build): prevent all styles from being purged
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-14 15:18:55 +05:30
5d05a87263
chore: prepare for prod
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-14 01:19:00 +05:30
d369c75fa8
chore(assets): migrate to yarn
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-13 14:17:33 +05:30
aa86d9a4b9
chore(styles): clean up unused styles
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-13 12:13:59 +05:30
750d62cc73
feat(pastes): add support for url pastes
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-13 07:46:10 +05:30
c6c54347a7
feat(pastes): add page to view pastes
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-13 05:47:13 +05:30
5a7bece725
feat(ui): implement header ui
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-12 02:47:23 +05:30
92ee2be4cc
chore(web): add tailwindcss
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-11 13:46:02 +05:30
supercmmetry
6f81702291
chore(git): Initial commit
Signed-off-by: supercmmetry <vishaals2000@gmail.com>
2021-08-09 14:18:23 +05:30