mirror of
https://github.com/litruv/UE-MaterialSnippets.git
synced 2026-07-24 01:06:02 +10:00
added author tags
This commit is contained in:
1
main.js
1
main.js
@@ -36,6 +36,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
||||
<img class="material-preview" src="${material.preview}" alt="${material.name}">
|
||||
<div class="material-info">
|
||||
<h3>${material.name}</h3>
|
||||
<p class="author">${material.author}</p>
|
||||
<p>${material.description}</p>
|
||||
<div class="material-tags">
|
||||
${material.categories.map(cat => `<span class="tag" data-tag="${cat}">${cat}</span>`).join(' ')}
|
||||
|
||||
@@ -1,8 +1,13 @@
|
||||
{
|
||||
"materials": [
|
||||
{
|
||||
"author": "Litruv",
|
||||
"name": "Vinette",
|
||||
"categories": ["photo", "fx", "vintage"],
|
||||
"categories": [
|
||||
"photo",
|
||||
"fx",
|
||||
"vintage"
|
||||
],
|
||||
"preview": "./thumbnails/vinette.png",
|
||||
"snippet": "snippets/vinette.txt",
|
||||
"description": "Adds a subtle darkened border around the edges of the image for a vintage effect."
|
||||
|
||||
Reference in New Issue
Block a user