Skip to content

Commit

Permalink
Clean up something (#12)
Browse files Browse the repository at this point in the history
* fix: class name

* chore: remove unnecessary build task

* docs: update demo gif

* docs: update description
  • Loading branch information
kaakaa authored Sep 24, 2024
1 parent fa3153a commit 40f21ea
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 14 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@ on:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- run: npm ci
- run: npm test

publish-npm:
needs: build
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ https://kaakaa.github.io/slidev-addon-rabbit/1?time=1

## Description

As the presentation begins, the rabbit and the turtle aim for the goal. **The rabbit** represents **the current page**, and **the turtle** represents **the elapsed time** since the start. Let's guide the rabbit to the goal before the turtle arrives, ensuring everyone has enough leisure time.

![](./assets/description.png)

## Usage
Expand Down
Binary file modified assets/description.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screen.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion components/Flag.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="rabtle-container" :style="{left: left + 'px'}">
<div class="rabbit-container" :style="{left: left + 'px'}">
<emojione-monotone-flag-for-chequered-flag />
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion components/Rabbit.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="rabtle-container" :style="{left: pos + 'px'}">
<div class="rabbit-container" :style="{left: pos + 'px'}">
<emojione-monotone-rabbit class="icon" />
<div
class="py-1 px-1 text-xs bg-white bg-opacity-20 rounded-md text-center"
Expand Down
2 changes: 1 addition & 1 deletion components/Turtle.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="rabtle-container" :style="{left: left + 'px'}">
<div class="rabbit-container" :style="{left: left + 'px'}">
<emojione-monotone-turtle class="icon" />
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion styles/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.rabtle-container {
.rabbit-container {
position: absolute;
top: 96%;
z-index: 99;
Expand Down

0 comments on commit 40f21ea

Please sign in to comment.