diff --git a/main.js b/main.js index 81929ff..2e7d3f1 100644 --- a/main.js +++ b/main.js @@ -36,6 +36,7 @@ document.addEventListener('DOMContentLoaded', async () => { ${material.name}

${material.name}

+

${material.author}

${material.description}

${material.categories.map(cat => `${cat}`).join(' ')} diff --git a/materials.json b/materials.json index dbba613..cce0f13 100644 --- a/materials.json +++ b/materials.json @@ -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." diff --git a/style.css b/style.css index 035c290..b9019d1 100644 --- a/style.css +++ b/style.css @@ -174,6 +174,14 @@ h1 { font-size: 14px; } +.material-info .author { + color: var(--text-primary); + font-size: 12px; + margin-top: 5px; + margin-bottom: 10px; + font-weight: bold; +} + .material-tags { margin-top: 10px; display: flex;