From 41c046e5974e4a93fcf498900f8ba40558a39baf Mon Sep 17 00:00:00 2001 From: Igor Kowalczyk Date: Fri, 13 Dec 2024 18:38:01 +0100 Subject: [PATCH] Update paths --- src/components/BadgePreview.tsx | 4 +- src/pages/index.astro | 3 -- src/styles/main.css | 76 ++++++++++++++++----------------- 3 files changed, 39 insertions(+), 44 deletions(-) diff --git a/src/components/BadgePreview.tsx b/src/components/BadgePreview.tsx index 7e79835d..0ae62c5a 100644 --- a/src/components/BadgePreview.tsx +++ b/src/components/BadgePreview.tsx @@ -2,8 +2,8 @@ import { type CreateTypes } from "canvas-confetti"; import canvasConfetti from "canvas-confetti"; import type { TargetedEvent } from "preact/compat"; import { useRef, useState } from "preact/hooks"; -import { Button } from "./Button"; -import { Input } from "./Input"; +import { Button } from "@/components/Button"; +import { Input } from "@/components/Input"; import { useDebounce } from "@/utils/hooks"; export const CopyIcon = () => ( diff --git a/src/pages/index.astro b/src/pages/index.astro index 0ae9701f..cee00052 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,6 +1,4 @@ --- -// import { Image } from "astro:assets"; -// import logo from "public/logo.png"; import astroConfig from "astro.config"; import BadgePreview from "@/components/BadgePreview"; import { Button } from "@/components/Button"; @@ -24,7 +22,6 @@ import Layout from "@/layouts/Layout.astro";
- Profile views
diff --git a/src/styles/main.css b/src/styles/main.css index c3e7ccbd..6e148740 100644 --- a/src/styles/main.css +++ b/src/styles/main.css @@ -3,43 +3,41 @@ @tailwind components; @tailwind utilities; -@layer custom { - ::selection { - @apply bg-white/10 text-white; - } - - * { - @apply box-border; - scrollbar-color: #262626 transparent; - scrollbar-width: thin; - } - - ::-webkit-scrollbar { - @apply w-[10px]; - } - - ::-webkit-scrollbar-track { - @apply rounded-xl bg-neutral-800; - } - - ::-webkit-scrollbar-thumb { - @apply rounded-xl bg-neutral-700; - } - - ::-webkit-scrollbar-thumb:hover { - @apply bg-neutral-600; - } - - ::-webkit-scrollbar-thumb:active { - @apply bg-neutral-500; - } - - .amazing-rays { - @apply pointer-events-none absolute inset-0 bg-no-repeat opacity-30 animate-rays; - background-size: 1589px 383px; - background-position: calc(50% + 90px) top; - filter: hue-rotate(540deg) saturate(7.3); - animation: rotate-hue 20s ease-out infinite; - background-image: url("data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAYCAYAAACfpi8JAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYRSURBVHgBtVbJjiRXFT1viCGHyDmzs7q6qhtojNQthIRBwkJIlkDwBe01v8AXmP4FfoAVG7OCJSt6CRIbgwHJdquHqqzsynmIjHjxJt8ouzx2Vact+UqZKb2IvO/e88459zFQvH8XUS3A0Frccw4/BUefeZwHNfx/+AuM8UYzwHd7g1l00P2b/lXj3/yXjYm7hdGLeP6Pv6ps9s8P2kiXbTidw7l34YJ3keEZJu/tgIcOewQvv+5+ACNy5JxjxSUWAlBgqBiFxnaMAFMqsSjyGlZFP5iZKqY65gaVqg0bwwiotjIwocGYpJQNMN1E28R4/Uxgz+Cf/Lq1QKYtFp5h4oEtrUXWoLMeoY6z3GFh8kBl2W0+UgP/WMVYsWrkw8GRF5Vhq4CMqHguwFkHnPdRsDpGrweUh+1dCL1Je0NdIOJw7hiWtOLoYeJWaOQfGolppoTRu4F/rg7Yman5iYkCLTo3mGzfrlhU64QK/Zu5OiXsgPkGgnqEB+/wfQr5FLo/zOEnbYJGIAg5Ks6jRYVFxBnjHdLqEDl6IYKqjwpeCce6J3fBDZH7ii8K6PNn3vk0DWENnZU3lGiN0G4wFxkmf7avKuTTagmVklTKayzpiKa0sKAiqEEkxRpJ/jRnmO8KoXR+k53lAzbOE3duqnEhujeYaNysGoSVnFApj6IJbnpA2MAEIfD2K1H5AplKVNZNoh2t01eNlJNQqTEzMNJjE3VZgX7Eo9jKlLf41LVFJgYysxHSbaCWYwufbmN4WnBMUW8bxNTGjxY5njxyeyFyicqZIa4QR+hYzj1xplwnXBu7G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bCYsDrfCSBkREaSIfK5FRZvahIq4/qK21+3pynjz7+S1xwpjSTauVoeTx8u2P53TkxmvsKnndh1vMroO/PdKkl7GN0akDGqSkv9L+7fpuO5/LMtk9B26wC9VrV/jpW3fPkzd73/9wO11cf0WotyXee8Z9rw8fwSaTRDb+HSqhQAAAABJRU5ErkJggg=="); - } +::selection { + @apply bg-white/10 text-white; +} + +* { + @apply box-border; + scrollbar-color: #262626 transparent; + scrollbar-width: thin; +} + +::-webkit-scrollbar { + @apply w-[10px]; +} + +::-webkit-scrollbar-track { + @apply rounded-xl bg-neutral-800; +} + +::-webkit-scrollbar-thumb { + @apply rounded-xl bg-neutral-700; +} + +::-webkit-scrollbar-thumb:hover { + @apply bg-neutral-600; +} + +::-webkit-scrollbar-thumb:active { + @apply bg-neutral-500; +} + +.amazing-rays { + @apply pointer-events-none absolute inset-0 bg-no-repeat opacity-30 animate-rays; + background-size: 1589px 383px; + background-position: calc(50% + 90px) top; + filter: hue-rotate(540deg) saturate(7.3); + animation: rotate-hue 20s ease-out infinite; + background-image: url("data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAYCAYAAACfpi8JAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYRSURBVHgBtVbJjiRXFT1viCGHyDmzs7q6qhtojNQthIRBwkJIlkDwBe01v8AXmP4FfoAVG7OCJSt6CRIbgwHJdquHqqzsynmIjHjxJt8ouzx2Vact+UqZKb2IvO/e88459zFQvH8XUS3A0Frccw4/BUefeZwHNfx/+AuM8UYzwHd7g1l00P2b/lXj3/yXjYm7hdGLeP6Pv6ps9s8P2kiXbTidw7l34YJ3keEZJu/tgIcOewQvv+5+ACNy5JxjxSUWAlBgqBiFxnaMAFMqsSjyGlZFP5iZKqY65gaVqg0bwwiotjIwocGYpJQNMN1E28R4/Uxgz+Cf/Lq1QKYtFp5h4oEtrUXWoLMeoY6z3GFh8kBl2W0+UgP/WMVYsWr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