Commit c0e66d5f authored by Yassine Doghri's avatar Yassine Doghri
Browse files

feat: enhance ui using javascript in admin area

- bundle js using parcel
- add markdown editor, html editor, dropdown and tooltip features using third-party packages
- integrate optimized inline svg icons from RemixIcon using svgo and a php helper
- add scripts in package.json to bundle icons, images, css and js
- update tailwind config to add purgecss lookups and typography plugin
- refactor views to add missing pages in user journey
- update admin's holy grail layout using css grid
parent d58e5187
Loading
Loading
Loading
Loading
+11 −9
Original line number Diff line number Diff line
@@ -22,6 +22,8 @@
	"heybourn.headwind",
	"wayou.vscode-todo-highlight",
	"esbenp.prettier-vscode",
    "bradlc.vscode-tailwindcss"
	"bradlc.vscode-tailwindcss",
	"jamesbirtles.svelte-vscode",
	"dbaeumer.vscode-eslint"
]
}

.eslintrc.json

0 → 100644
+12 −0
Original line number Diff line number Diff line
{
  "env": {
    "browser": true,
    "es2020": true
  },
  "extends": ["eslint:recommended", "plugin:prettier/recommended"],
  "parserOptions": {
    "ecmaVersion": 11,
    "sourceType": "module"
  },
  "rules": {}
}
+3 −0
Original line number Diff line number Diff line
@@ -129,6 +129,9 @@ nb-configuration.xml
yarn.lock
node_modules

# JS
.cache

# public folder
public/*
!public/.htaccess

.svgo.icons.yml

0 → 100644
+9 −0
Original line number Diff line number Diff line
plugins:
  - removeXMLNS: true
  - removeDimensions: true
  - addAttributesToSVGElement:
      attributes:
        - fill: currentColor
        - width: "1em"
        - height: "1em"
  - sortAttrs: true

.svgo.yml

0 → 100644
+8 −0
Original line number Diff line number Diff line
plugins:
  - removeXMLNS: true
  - removeDimensions: true
  - addAttributesToSVGElement:
      attributes:
        - width: "1em"
        - height: "1em"
  - sortAttrs: true
Loading