Skip to content

Commit

Permalink
chore: merge admin with frontend server (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
younes200 authored Oct 12, 2024
1 parent 0c5e776 commit 715eb7d
Show file tree
Hide file tree
Showing 25 changed files with 136 additions and 391 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ node_modules/

.cache
sandbox
.adminjs
Binary file modified .yarn/install-state.gz
Binary file not shown.
15 changes: 0 additions & 15 deletions Caddyfile

This file was deleted.

56 changes: 0 additions & 56 deletions Dockerfile.compact

This file was deleted.

8 changes: 0 additions & 8 deletions apps/admin/.gitignore

This file was deleted.

43 changes: 0 additions & 43 deletions apps/admin/package.json

This file was deleted.

Binary file not shown.
Binary file not shown.
56 changes: 0 additions & 56 deletions apps/admin/src/index.ts

This file was deleted.

70 changes: 0 additions & 70 deletions apps/admin/src/passport.ts

This file was deleted.

33 changes: 0 additions & 33 deletions apps/admin/src/session.ts

This file was deleted.

25 changes: 0 additions & 25 deletions apps/admin/tsconfig.json

This file was deleted.

13 changes: 0 additions & 13 deletions apps/admin/tsup.config.ts

This file was deleted.

4 changes: 4 additions & 0 deletions apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
"with-env": "dotenv -e ../../.env --"
},
"dependencies": {
"@adminjs/express": "^6.1.0",
"@adminjs/prisma": "^5.0.3",
"@adminjs/themes": "^1.0.1",
"@celluloid/prisma": "workspace:*",
"@celluloid/queue": "workspace:*",
"@celluloid/react-player": "2.14.0",
Expand All @@ -40,6 +43,7 @@
"@trpc/react-query": "^10.45.2",
"@trpc/server": "^10.45.2",
"@types/linkify-urls": "^3.1.1",
"adminjs": "^7.8.13",
"change-case": "^4.1.2",
"cookie-parser": "^1.4.7",
"copy-to-clipboard": "^3.3.3",
Expand Down
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,38 @@
--sidebar-color: white;
--sidebar-link-color: orange;
}

section[data-css="sidebar"] {
background-color: var(--sidebar-bg-color) !important;
color: var(--sidebar-color);
border: none;
}

section[data-css="sidebar"] svg {
fill: var(--sidebar-color) !important;
}

a[data-css="sidebar-logo"] {
background-color: var(--sidebar-bg-color) !important;
}

section[data-css="sidebar-resources"] {
background: var(--sidebar-bg-color) !important;
}

[data-css="sidebar"] section a {
background: var(--sidebar-bg-color) !important;
color: var(--sidebar-color);
}

[data-css="sidebar"] a:hover {
color: var(--sidebar-link-color);
}

@font-face {
font-family: 'lexendregular';
src: url('../fonts/lexend-variablefont_wght-webfont.woff2') format('woff2'),
url('../fonts/lexend-variablefont_wght-webfont.woff') format('woff');
src: url('fonts/lexend-variablefont_wght-webfont.woff2') format('woff2'),
url('fonts/lexend-variablefont_wght-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
}
Loading

0 comments on commit 715eb7d

Please sign in to comment.