2 Commits

Author SHA1 Message Date
57abfd6b80 0.0.6
All checks were successful
Deploy to Production / deploy (push) Successful in 9s
2026-02-16 03:24:59 +01:00
ae3d650011 fix: restore layout and add dynamic version to footer 2026-02-16 03:24:54 +01:00
7 changed files with 14 additions and 6 deletions

4
package-lock.json generated
View File

@@ -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",

View File

@@ -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",

View File

@@ -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>

View File

@@ -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);

View File

@@ -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>&copy; {{ currentYear }} Rubic Cube. Wersja 0.0.1</p> <p>&copy; {{ 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>

View File

@@ -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;

View File

@@ -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: {