Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ module.exports = {
'vue/max-attributes-per-line': 'off',
'vue/multi-word-component-names': 'off'
}
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ yarn install
yarn dev
```

It can now be reached at http://localhost:3000/.
It can now be reached at http://localhost:3000/.
6 changes: 5 additions & 1 deletion app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,13 @@ export default defineAppConfig({
href: '/docs'
},
{
text: 'Code Editor',
text: 'Code Generator',
href: '/editor'
},
{
text: 'Translation Tool',
href: '/translate'
},
{
text: 'Demo',
href: 'https://demo.emulatorjs.org',
Expand Down
2 changes: 1 addition & 1 deletion components/AppHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ css({
}
}
})
</style>
</style>
2 changes: 1 addition & 1 deletion components/AppHeaderDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,4 @@ css({
height: '{space.4}'
}
})
</style>
</style>
2 changes: 1 addition & 1 deletion components/AppLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ css({
}
}
})
</style>
</style>
2 changes: 1 addition & 1 deletion components/DocsPageLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -295,4 +295,4 @@ css({
}
}
})
</style>
</style>
2 changes: 1 addition & 1 deletion components/NavigationLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ css({
}

})
</style>
</style>
2 changes: 1 addition & 1 deletion content/1.docs/1.index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Introduction

You can use the [Code Editor](/editor) to generate the embed code for your website.
You can use the [Code Generator](/editor) to generate the embed code for your website.

[EmulatorJS](https://github.com/EmulatorJS/EmulatorJS) runs RetroArch compiled to webassembly, optimized for running in the web browser.

Expand Down
2 changes: 1 addition & 1 deletion content/1.docs/8.systems/_dir.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
title: Systems
aside.collapsed: true
aside.collapsed: true
2 changes: 1 addition & 1 deletion content/1.docs/_dir.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
title: Docs
icon: mdi:books
aside.collapsed: false
aside.collapsed: false
2 changes: 1 addition & 1 deletion content/2.docs4devs/_dir.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
title: Docs for Devs
icon: wpf:books
aside.collapsed: false
aside.collapsed: false
4 changes: 0 additions & 4 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,3 @@ export default defineNuxtConfig({

compatibilityDate: '2024-12-21',
})

function resolve(arg0: string): string | undefined {
throw new Error("Function not implemented.");
}
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "emulatorjs.org",
"version": "1.1.2",
"version": "1.1.3",
"description": "The EmulatorJS Website",
"main": "index.js",
"license": "MIT",
Expand All @@ -19,17 +19,17 @@
},
"devDependencies": {
"@nuxt-themes/docus": "^1.15.1",
"@nuxt/eslint-config": "^1.2.0",
"@types/node": "^22.13.10",
"@nuxt/eslint-config": "^1.3.0",
"@types/node": "^22.15.0",
"@vue/compiler-sfc": "^3.5.13",
"eslint": "^9.17.0",
"nuxt": "^3.16.0",
"eslint": "^9.25.1",
"nuxt": "^3.16.2",
"nuxt-anchorscroll": "^1.0.5",
"nuxt-custom-elements": "^2.0.0-beta.31",
"nuxt-custom-elements": "^2.0.0-beta.32",
"nuxt-gtag": "^3.0.2",
"postcss": "^8.5.3",
"typescript": "^5.8.2",
"vite": "^6.2.3",
"vite": "^6.3.3",
"vue": "^3.5.13"
}
}
9 changes: 5 additions & 4 deletions pages/editor.vue
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<script setup lang="ts">
useSeoMeta({
title: 'Code Editor',
title: 'Code Generator',
description: 'Simple code generator for EmulatorJS',
});
useHead({
title: 'Code Editor',
title: 'Code Generator',
meta: [{ name: 'description', content: 'Simple code generator for EmulatorJS' }],
link: [{ rel: 'stylesheet', href: '/css/editor.css' }],
script: [{ src: '/js/editor.js' }, { src: '/js/jszip.js' }, { src: '/js/systems.js', onload: 'loadsystems()'}],
script: [{ src: '/js/jszip.js' }, { src: '/js/systems.js', onload: 'loadsystems()'}],
});
definePageMeta({
title: 'Code Editor'
title: 'Code Generator'
});
</script>
<template>
Expand Down Expand Up @@ -114,6 +114,7 @@ definePageMeta({
<a class="blockB" onclick="window.location.reload();" style="margin:20px;">Reset</a>
</ul>
</div>
<br>
</div>
</template>
<style lang="ts" scoped>
Expand Down
78 changes: 78 additions & 0 deletions pages/translate.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<script setup lang="ts">
useSeoMeta({
title: 'Translation Tool',
description: 'Translation Helper Tool for EmulatorJS',
});
useHead({
title: 'Translation Tool',
meta: [{ name: 'description', content: 'Translation Helper Tool for EmulatorJS' }],
link: [{ rel: 'stylesheet', href: '/css/translate.css' }]
});
definePageMeta({
title: 'Translation Tool'
});
</script>
<template>
<div class="translate">
<br>
<div class="header">
<h1>Translation Helper Tool</h1>
</div>
<br>
<div class="boxes">
<div class="box">
<button class="copyBtn" id="copyBtn1">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" width="18px"
height="18px">
<path
d="M6 4V8H18V4H20.0066C20.5552 4 21 4.44495 21 4.9934V21.0066C21 21.5552 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5551 3 21.0066V4.9934C3 4.44476 3.44495 4 3.9934 4H6ZM8 2H16V6H8V2Z">
</path>
</svg>
</button>
<textarea id="box1" rows="39.5" cols="30" spellcheck="false"></textarea>
</div>
<div class="box">
<textarea id="box2"
placeholder="Copy what is on the left into google translate or any other translation service, then translate it into the language you whant and paste the translation here."
rows="39.5" cols="50" spellcheck="false"></textarea>
<button class="nextBtn" id="nextBtn">Next</button>
</div>
<div class="box">
<button class="copyBtn" id="copyBtn3">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" width="18px"
height="18px">
<path
d="M6 4V8H18V4H20.0066C20.5552 4 21 4.44495 21 4.9934V21.0066C21 21.5552 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5551 3 21.0066V4.9934C3 4.44476 3.44495 4 3.9934 4H6ZM8 2H16V6H8V2Z">
</path>
</svg>
</button>
<textarea id="box3" placeholder="Then click next and you are done copy this box in to a .json file"
rows="39.5" cols="50" spellcheck="false"></textarea>
</div>
</div>
<br>
</div>
</template>
<style lang="ts" scoped>
css({
'*': {
fontSize: 'revert',
fontWeight: 'revert',
},
'.center': {
textAlign: 'center',
},
'.main': {
margin: 'auto',
width: '80%',
maxWidth: '1000px',
textAlign: 'left',
},
'.next': {
textAlign: 'right',
},
'.back': {
textAlign: 'left',
},
})
</style>
2 changes: 1 addition & 1 deletion public/ads.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google.com, pub-8832864985153925, DIRECT, f08c47fec0942fa0
google.com, pub-8832864985153925, DIRECT, f08c47fec0942fa0
2 changes: 1 addition & 1 deletion public/backToTop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading