Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table of content #199

Merged
merged 53 commits into from
Jul 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
f5d1a73
Create nodemon.json
talyguryn Jun 9, 2022
2074740
Add table of content
talyguryn Jun 9, 2022
443edb4
update view
talyguryn Jun 9, 2022
a106046
remove logs
talyguryn Jun 9, 2022
f055395
update tags var
talyguryn Jun 10, 2022
18aad62
update layout
talyguryn Jun 10, 2022
48ee9b0
Revert "update layout"
talyguryn Jun 16, 2022
0d70f70
Merge branch 'main' into feature/table-of-content
talyguryn Jun 21, 2022
88c8314
update layout
talyguryn Jun 21, 2022
6830472
Update layout.pcss
talyguryn Jun 28, 2022
a23c243
Merge branch 'main' into feature/table-of-content
talyguryn Jun 28, 2022
83182de
update from master
talyguryn Jun 29, 2022
b24fdb0
Update sidebar.twig
talyguryn Jun 29, 2022
cfba1b7
remove non valued changes
talyguryn Jun 29, 2022
ce8fdde
Update table-of-content.js
talyguryn Jun 29, 2022
c4c9a1b
Update table-of-content.pcss
talyguryn Jun 29, 2022
9fcbe26
Update table-of-content.pcss
talyguryn Jun 29, 2022
78a30d2
Update layout.pcss
talyguryn Jun 29, 2022
88b9cf3
Update table-of-content.js
talyguryn Jun 29, 2022
5177227
remove unused styles
talyguryn Jul 1, 2022
bcfef10
not module
talyguryn Jul 5, 2022
7e71079
rename var
talyguryn Jul 5, 2022
fa9e482
remove log
talyguryn Jul 5, 2022
8cf75b4
update structure
talyguryn Jul 6, 2022
e1d80fa
Update table-of-content.js
talyguryn Jul 7, 2022
67634a3
Update table-of-content.js
talyguryn Jul 7, 2022
fc014a0
Update layout.pcss
talyguryn Jul 12, 2022
8aa22bc
Update table-of-content.js
talyguryn Jul 12, 2022
62ae6e5
try not to use intersection observer
talyguryn Jul 12, 2022
1dfc5f0
Merge branch 'main' into feature/table-of-content
talyguryn Jul 12, 2022
8b100ee
Update table-of-content.js
talyguryn Jul 13, 2022
fd96043
fix scroll padding
talyguryn Jul 13, 2022
d1c64c2
fix header component layout
talyguryn Jul 13, 2022
4088fff
update logic
talyguryn Jul 13, 2022
9b4a53d
fix click area
talyguryn Jul 13, 2022
fe04c5b
Update table-of-content.js
talyguryn Jul 13, 2022
37fbf19
Update table-of-content.js
talyguryn Jul 13, 2022
d658954
small fixes
talyguryn Jul 20, 2022
3f413ad
remove unused
talyguryn Jul 20, 2022
eb5bdec
Update table-of-content.js
talyguryn Jul 20, 2022
416db18
Merge branch 'main' into feature/table-of-content
talyguryn Jul 20, 2022
03822f7
Update decorators.js
talyguryn Jul 20, 2022
d0a9771
Update table-of-content.js
talyguryn Jul 20, 2022
4ff756e
Update table-of-content.js
talyguryn Jul 20, 2022
c740b97
Update table-of-content.js
talyguryn Jul 20, 2022
6f6117d
Update table-of-content.js
talyguryn Jul 20, 2022
23be283
Update table-of-content.js
talyguryn Jul 20, 2022
1a10093
fix scroll issues, resolve eslit ts/js conflicts
neSpecc Jul 20, 2022
a402624
add some todos
neSpecc Jul 20, 2022
7b73720
handle up-direction scroll as well
neSpecc Jul 20, 2022
8bc5ae0
optimization
neSpecc Jul 20, 2022
65020ce
update offsets
talyguryn Jul 25, 2022
40b999d
Update header.pcss
talyguryn Jul 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions nodemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
nikmel2803 marked this conversation as resolved.
Show resolved Hide resolved
"verbose": true,
"ignore": [
".git",
"node_modules",
"public",
"src/frontend"
],
"watch": [
"**/*"
],
"ext": "js,twig"
}
File renamed without changes.
4 changes: 1 addition & 3 deletions src/backend/views/layout.twig
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
{% block body %}{% endblock %}
</div>

<aside class="docs__aside-right">
<div style="width: 100%; height: 100px; background: grey"/>
</aside>
<aside class="docs__aside-right" id="layout-sidebar-right"></aside>
talyguryn marked this conversation as resolved.
Show resolved Hide resolved
</div>
</div>
<script src="/dist/main.bundle.js"></script>
Expand Down
3 changes: 1 addition & 2 deletions src/backend/views/pages/blocks/header.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<a name="{{ text | urlify }}" style="display: inline-block; position: absolute; margin-top: -20px;"></a>
<h{{ level }} class="block-header block-header--{{ level }} block-header--anchor">
<h{{ level }} id="{{ text | urlify }}" class="block-header block-header--{{ level }} block-header--anchor">
<a href="#{{ text | urlify }}">
{{ text }}
</a>
Expand Down
13 changes: 13 additions & 0 deletions src/frontend/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": [
"codex"
],
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": true
},
"globals": {
"HTMLElement": true
}
}
Loading