-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
436 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,6 +98,7 @@ export default defineConfig({ | |
} | ||
}, | ||
redirects: { | ||
'/oss': '/oss/0' | ||
'/oss': '/oss/0', | ||
'/opensource': '/oss/0' | ||
} | ||
}) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
.badge { | ||
--timing: linear(0, 0.3, 0.75, 1); | ||
|
||
padding: 0.5rem 1rem; | ||
font-size: 0.9rem; | ||
|
||
border-image-source: conic-gradient(from var(--a), | ||
#8decb4, | ||
#41b06e, | ||
#141e46); | ||
|
||
border-radius: 5px; | ||
|
||
border-image-slice: 0.9 1 1 1; | ||
border-image-width: 0.15rem; | ||
|
||
animation: move 6.28s infinite var(--timing); | ||
} | ||
|
||
.badge .fill { | ||
border-image-slice: 1 1 1 1 fill; | ||
} | ||
|
||
.badge:active { | ||
transform: translate(5px, 5px); | ||
box-shadow: none; | ||
} | ||
|
||
@keyframes move { | ||
from { | ||
--a: 0deg; | ||
} | ||
|
||
to { | ||
--a: 360deg; | ||
} | ||
} | ||
|
||
@property --a { | ||
syntax: '<angle>'; | ||
inherits: true; | ||
initial-value: 0deg; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
interface Props { | ||
class: string | ||
} | ||
const { props } = Astro | ||
--- | ||
|
||
<div class=`animate-slide-in-top rounded ${props.class}`> | ||
<span | ||
class='relative flex overflow-hidden rounded shadow shadow-black border-2' | ||
> | ||
<div | ||
class='flex items-center h-full w-full cursor-pointer justify-center rounded px-3 py-1 text-sm font-bold text-slate-900 dark:text-emerald-300 shadow shadow-black dark:shadow-gray-300' | ||
> | ||
<slot /> | ||
</div> | ||
</span> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.