small fix

This commit is contained in:
zyqunix 2025-05-11 11:52:37 +02:00
parent b909c7129d
commit e3d1554eed
No known key found for this signature in database
GPG key ID: 134A8DEEA83B80E6
5 changed files with 6 additions and 6 deletions

View file

@ -154,12 +154,12 @@ function generateSkillCards(skillData) {
}); });
} }
fetch('lang.json') fetch('assets/js/lang.json')
.then(response => response.json()) .then(response => response.json())
.then(generateLanguageCards) .then(generateLanguageCards)
.catch(error => console.error('Error fetching lang.json:', error)); .catch(error => console.error('Error fetching lang.json:', error));
fetch('skills.json') fetch('assets/js/skills.json')
.then(response => response.json()) .then(response => response.json())
.then(generateSkillCards) .then(generateSkillCards)
.catch(error => console.error('Error fetching skills.json', error)); .catch(error => console.error('Error fetching skills.json', error));
@ -200,4 +200,4 @@ const frEl = document.getElementById('fr');
let rn = Math.floor(Math.random() * 2) + 1; let rn = Math.floor(Math.random() * 2) + 1;
if (rn == 1) { if (rn == 1) {
frEl.innerHTML = "Fr*nch"; frEl.innerHTML = "Fr*nch";
} }

View file

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<script src="https://cdn.jsdelivr.net/gh/0x5841524f4e/js-lanyard/lanyard.js"></script> <script src="https://cdn.jsdelivr.net/gh/0x5841524f4e/js-lanyard/lanyard.js"></script>
<title>zyq's Portfolio</title> <title>zyq's Portfolio</title>
<link href="style.css" rel="stylesheet" /> <link href="assets/css/style.css" rel="stylesheet" />
<link rel="shortcut icon" href="https://rimgo.pussthecat.org/RFbdMMB.png" type="image/x-icon"> <link rel="shortcut icon" href="https://rimgo.pussthecat.org/RFbdMMB.png" type="image/x-icon">
</head> </head>
<body> <body>
@ -110,8 +110,6 @@
<h3>More can be found on the <a href="sitemap">sitemap/sites page</a></h3> <h3>More can be found on the <a href="sitemap">sitemap/sites page</a></h3>
<h4>Note: I do forget to add new sites there sometimes. So check the <a href="https://github.com/zyqunix/tools">GitHub</a> if you think there are some missing</h4> <h4>Note: I do forget to add new sites there sometimes. So check the <a href="https://github.com/zyqunix/tools">GitHub</a> if you think there are some missing</h4>
</div> </div>
<script src="index.js"></script>
<footer class="cards"> <footer class="cards">
<p>© 2025 zyqunix. All rights reserved.</p> <p>© 2025 zyqunix. All rights reserved.</p>
@ -119,5 +117,7 @@
<p>✨ Inspired by <a href="https://vmohammad.dev" target="_blank">vMohammad's Portfolio</a>.</p> <p>✨ Inspired by <a href="https://vmohammad.dev" target="_blank">vMohammad's Portfolio</a>.</p>
<p>❤️ Made with love by zyqunix in Germany.</p> <p>❤️ Made with love by zyqunix in Germany.</p>
</footer> </footer>
<script src="assets/js/index.js"></script>
</body> </body>
</html> </html>