init new fancy project for starting 2024

This commit is contained in:
2024-01-01 21:52:11 +01:00
commit 9d47c1fafe
11 changed files with 539 additions and 0 deletions

24
src/data.json Normal file
View File

@@ -0,0 +1,24 @@
{
"socialLinks": [
{
"name": "Twitter",
"url": "https://twitter.com/username"
},
{
"name": "Facebook",
"url": "https://facebook.com/username"
},
{
"name": "LinkedIn",
"url": "https://linkedin.com/in/username"
},
{
"name": "Instagram",
"url": "https://instagram.com/username"
},
{
"name": "YouTube",
"url": "https://youtube.com/user/username"
}
]
}

3
src/index.js Normal file
View File

@@ -0,0 +1,3 @@
import './templates/social-links.hbs';
import '../public/styles/main.css';
// Additional JavaScript code can be added here

View File

@@ -0,0 +1,6 @@
{{#each socialLinks}}
<div class="social-link">
<h2>{{name}}</h2>
<a href="{{url}}" target="_blank">Visit {{name}}</a>
</div>
{{/each}}