Skip to content

Commit

Permalink
logo spin animation (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
Piyush-linux authored Apr 28, 2024
1 parent 3691761 commit 3d1d7fc
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/layouts/PageLayout.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
<style scoped>
#logo {
animation: rotating 20s linear infinite;
}
@keyframes rotating {
from {
rotate: 0deg;
}
to {
rotate: 360deg;
}
}
</style>

<template>
<div class="fill-viewport pt-md-12">
<v-row>

<!-- Logo -->
<v-col cols="12">
<v-img
id="logo"
height="200"
src="@/assets/logo-512.png"
/>
Expand Down
16 changes: 16 additions & 0 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
<style scoped>
#logo {
animation: rotating 20s linear infinite;
}
@keyframes rotating {
from {
rotate: 0deg;
}
to {
rotate: 360deg;
}
}
</style>

<template>
<div class="fill-viewport d-flex align-center justify-center pa-4 pa-md-12">
<v-row style="max-width: 1800px">
Expand All @@ -7,6 +22,7 @@
<v-row>
<v-col cols="12" md="4" class="d-flex justify-center justify-md-end">
<img
id="logo"
:height="logoHeight"
alt="LocalSend Logo"
src="@/assets/logo-512.png"
Expand Down

0 comments on commit 3d1d7fc

Please sign in to comment.