Skip to content

Commit

Permalink
Merge pull request #1571 from lem-project/browser-ui
Browse files Browse the repository at this point in the history
Browser UI
  • Loading branch information
cxxxr authored Oct 21, 2024
2 parents cdb5531 + 02573f6 commit 01d6d75
Show file tree
Hide file tree
Showing 21 changed files with 3,262 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
DEBUG
*.fasl
node_modules
package-lock.json
roswell/lem-ncurses
*~

Expand All @@ -27,7 +26,7 @@ GIT_IGNORE.*

lem
lem-ncurses
lem-rpc
lem-server

*.abcl
build/*
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ sdl2-ncurses:
qlot install
$(LISP) --noinform --no-sysinit --no-userinit --load .qlot/setup.lisp --load scripts/build-sdl2-ncurses.lisp

server:
qlot install
$(LISP) --noinform --no-sysinit --no-userinit --load .qlot/setup.lisp --load scripts/build-server.lisp

install:
qlot install
$(LISP) --noinform --no-sysinit --no-userinit --load .qlot/setup.lisp --load scripts/build-sdl2-ncurses.lisp
Expand Down
3 changes: 3 additions & 0 deletions frontends/server/config.lisp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(in-package :cl-user)

(setf lem-markdown-mode/internal::*view-type* :html-buffer)
24 changes: 24 additions & 0 deletions frontends/server/frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
#dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
1 change: 1 addition & 0 deletions frontends/server/frontend/dist/assets/index-DkE9_tVc.js

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions frontends/server/frontend/dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Lem</title>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/destyle.css" />
<style rel="stylesheet">
html, body {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}

</style>
<script type="module" crossorigin src="/assets/index-DkE9_tVc.js"></script>
</head>
<body>
<div id='lem-editor'></div>
</body>
</html>
Loading

0 comments on commit 01d6d75

Please sign in to comment.