File tree Expand file tree Collapse file tree 10 files changed +25
-19
lines changed
Expand file tree Collapse file tree 10 files changed +25
-19
lines changed Original file line number Diff line number Diff line change 11<template >
22 <div
33 ref =" circle"
4- class =" bg-accent w-3 h-3 rounded-full absolute pointer-events-none"
4+ class =" backdrop-invert w-3 h-3 rounded-full absolute pointer-events-none z-50 "
55 ></div >
66</template >
77
88<script >
9+ import { ref , onMounted } from " vue" ;
10+
911export default {
1012 setup () {
1113 const circle = ref (null );
1214
1315 onMounted (() => {
14- document .addEventListener (" mousemove" , (event ) => {
15- if (circle .value ) {
16- circle .value .style .left = event .clientX - 6 + " px" ;
16+ if (process .client ) {
17+ document .addEventListener (" mousemove" , (event ) => {
18+ if (circle .value ) {
19+ const scrollX = window .scrollX || 0 ;
20+ const scrollY = window .scrollY || 0 ;
1721
18- circle .value .style .top = event .clientY - 7 + " px" ;
19- }
20- });
22+ circle .value .style .left = event .clientX + scrollX - 6 + " px" ;
23+ circle .value .style .top = event .clientY + scrollY - 7 + " px" ;
24+ }
25+ });
26+ }
2127 });
2228
2329 return { circle };
Original file line number Diff line number Diff line change 1+ <template >
2+ <div >
3+ <AppHeader />
4+ <MouseDot />
5+ <slot />
6+ </div >
7+ </template >
8+
9+ <script lang="ts" setup>
10+ import AppHeader from " ~/components/AppHeader.vue" ;
11+ </script >
Original file line number Diff line number Diff line change 11<template >
2- <AppHeader />
32 <h1 class =" text-center font-bold pb-10 text-4xl" >
43 Clothes Conundrum Version v0.0.1
54 </h1 >
Original file line number Diff line number Diff line change 11<template >
2- <AppHeader />
32 <h1 class =" text-center text-5xl font-bold pb-5" >Game Development</h1 >
43 <p class =" text-center text-xl px-10" >
54 I have begun to learn game development as it is something that has
Original file line number Diff line number Diff line change 11<template >
22 <div >
3- <AppHeader />
4-
53 <!-- Hero for name picture and description-->
64 <div class =" hero min-h-screen" >
75 <div class =" hero-content flex-col lg:flex-row" >
Original file line number Diff line number Diff line change 11<template >
2- <AppHeader />
3-
42 <h1 class =" text-5xl font-bold text-center mb-10" >Projects</h1 >
53 <div class =" divider px-10" ></div >
64 <div
Original file line number Diff line number Diff line change 11<template >
2- <AppHeader />
32 <h1 class =" text-5xl font-bold text-center mb-10" >Hitbox v1</h1 >
43 <div class =" divider px-10" ></div >
54 <div >
3736 </div >
3837 <div class =" px-10" >
3938 <p class =" sm:px-5 md:px-10 mb-10" >
40- I decided to before makeing any other harware decisions that I should
39+ I decided to before making any other harware decisions that I should
4140 test GP2040-CE on the PS5 what I would be using for playing Tekken at
4241 the tournaments, and I goti it working however there was a catch. That
4342 being that the controller was actaully unable too play any games on the
4443 PS5
4544 </p >
4645 </div >
4746 </div >
48- <mouseDot />
4947</template >
5048<script setup lang="ts">
5149useHead ({
Original file line number Diff line number Diff line change 11<template >
2- <AppHeader />
32 <div >
43 <h1 class =" text-5xl font-bold text-center mb-10" >Week Two</h1 >
54 <div class =" sm:px-10 lg:px-44 mb-10" >
Original file line number Diff line number Diff line change 11<template >
2- <AppHeader />
32 <div >
43 <h1 class =" text-5xl font-bold text-center mb-10" >
54 First Documented Build Log For the Into the Deep Season
Original file line number Diff line number Diff line change 11<template >
22 <div >
3- <AppHeader />
43 <h1 class =" text-5xl font-bold text-center mb-10" >Robotics page</h1 >
54 <div class =" sm:flex-none md:flex mx-10" >
65 <div >
You can’t perform that action at this time.
0 commit comments