Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
coko-website
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
coko-material
coko-website
Commits
082d0300
Commit
082d0300
authored
3 years ago
by
julientaq
Browse files
Options
Downloads
Patches
Plain Diff
remove icon.json
add super to script for products
parent
b9e35a1f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/data/icons.json
+0
-9
0 additions, 9 deletions
src/data/icons.json
src/layouts/products.njk
+5
-2
5 additions, 2 deletions
src/layouts/products.njk
static/css/theme-coko/main.css
+1
-1
1 addition, 1 deletion
static/css/theme-coko/main.css
with
6 additions
and
12 deletions
src/data/icons.json
deleted
100644 → 0
+
0
−
9
View file @
b9e35a1f
[{
}]
twitter
linkedin
mattermost
gitlab
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/layouts/products.njk
+
5
−
2
View file @
082d0300
...
...
@@ -42,6 +42,8 @@
{% endblock %}
{% block customScripts %}
{# super will keep all the other custom scripts needed to make one single script #}
{{ super() }}
<script>
let list = document.querySelectorAll('.grid-item');
console.log(list);
...
...
@@ -58,11 +60,12 @@
function filterClass(list, filter) {
for (item of list) {
console.log(item);
if (item.classList.contains(filter)) {
item
.classList
.toggle('
show
Tag');
}
.toggle('
hide
Tag');
}
}
}
...
...
This diff is collapsed.
Click to expand it.
static/css/theme-coko/main.css
+
1
−
1
View file @
082d0300
@import
url(../layout/one-column.css)
;
@import
url('https://fonts.googleapis.com/css2?family=Inria+Sans:wght@300;700&family=Inria+Serif:ital,wght@0,300;0,700;1,300;1,700&display=swap')
;
.
show
Tag
{
.
hide
Tag
{
display
:
none
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment