Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
57abfd6b80
|
|||
|
ae3d650011
|
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "rubic-cube",
|
"name": "rubic-cube",
|
||||||
"version": "0.0.5",
|
"version": "0.0.6",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "rubic-cube",
|
"name": "rubic-cube",
|
||||||
"version": "0.0.5",
|
"version": "0.0.6",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@gkucmierz/utils": "^1.28.3",
|
"@gkucmierz/utils": "^1.28.3",
|
||||||
"lucide-vue-next": "^0.564.0",
|
"lucide-vue-next": "^0.564.0",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "rubic-cube",
|
"name": "rubic-cube",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.5",
|
"version": "0.0.6",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -2,14 +2,18 @@
|
|||||||
import CubeCSS from './components/renderers/CubeCSS.vue'
|
import CubeCSS from './components/renderers/CubeCSS.vue'
|
||||||
import DebugPanel from './components/DebugPanel.vue'
|
import DebugPanel from './components/DebugPanel.vue'
|
||||||
import InteractionReplay from './components/InteractionReplay.vue'
|
import InteractionReplay from './components/InteractionReplay.vue'
|
||||||
|
import NavBar from './components/NavBar.vue'
|
||||||
|
import Footer from './components/Footer.vue'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<NavBar />
|
||||||
<div class="app-content">
|
<div class="app-content">
|
||||||
<DebugPanel />
|
<DebugPanel />
|
||||||
<InteractionReplay />
|
<InteractionReplay />
|
||||||
<CubeCSS />
|
<CubeCSS />
|
||||||
</div>
|
</div>
|
||||||
|
<Footer />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ const toggle = () => isOpen.value = !isOpen.value
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.debug-panel {
|
.debug-panel {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 10px;
|
top: 70px;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
width: 250px;
|
width: 250px;
|
||||||
background: rgba(0, 0, 0, 0.85);
|
background: rgba(0, 0, 0, 0.85);
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
const currentYear = new Date().getFullYear();
|
const currentYear = new Date().getFullYear();
|
||||||
|
const version = __APP_VERSION__;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<footer class="app-footer glass-panel">
|
<footer class="app-footer glass-panel">
|
||||||
<div class="footer-content">
|
<div class="footer-content">
|
||||||
<p>© {{ currentYear }} Rubic Cube. Wersja 0.0.1</p>
|
<p>© {{ currentYear }} Rubic Cube. Wersja {{ version }}</p>
|
||||||
<div class="social-links">
|
<div class="social-links">
|
||||||
<!-- Placeholder for social links if needed -->
|
<!-- Placeholder for social links if needed -->
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ ${report}
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.interaction-replay {
|
.interaction-replay {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 10px;
|
bottom: 50px;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
|
|||||||
@@ -4,6 +4,9 @@ import vue from '@vitejs/plugin-vue'
|
|||||||
// https://vite.dev/config/
|
// https://vite.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [vue()],
|
plugins: [vue()],
|
||||||
|
define: {
|
||||||
|
'__APP_VERSION__': JSON.stringify(process.env.npm_package_version),
|
||||||
|
},
|
||||||
server: {
|
server: {
|
||||||
port: 5174,
|
port: 5174,
|
||||||
hmr: {
|
hmr: {
|
||||||
|
|||||||
Reference in New Issue
Block a user