diff --git a/public/output.css b/public/output.css index 1fb1705..583850a 100644 --- a/public/output.css +++ b/public/output.css @@ -24,7 +24,7 @@ ::before, ::after { - --tw-content: ''; + --tw-content: ""; } /* @@ -43,10 +43,12 @@ html { /* 3 */ tab-size: 4; /* 3 */ - font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, + "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, + "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */ -webkit-font-feature-settings: normal; - font-feature-settings: normal; + font-feature-settings: normal; /* 5 */ } @@ -83,7 +85,7 @@ Add the correct text decoration in Chrome, Edge, and Safari. abbr:where([title]) { -webkit-text-decoration: underline dotted; - text-decoration: underline dotted; + text-decoration: underline dotted; } /* @@ -127,7 +129,8 @@ code, kbd, samp, pre { - font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, + "Liberation Mono", "Courier New", monospace; /* 1 */ font-size: 1em; /* 2 */ @@ -218,9 +221,9 @@ select { */ button, -[type='button'], -[type='reset'], -[type='submit'] { +[type="button"], +[type="reset"], +[type="submit"] { -webkit-appearance: button; /* 1 */ background-color: transparent; @@ -267,7 +270,7 @@ Correct the cursor style of increment and decrement buttons in Safari. 2. Correct the outline style in Safari. */ -[type='search'] { +[type="search"] { -webkit-appearance: textfield; /* 1 */ outline-offset: -2px; @@ -352,7 +355,8 @@ textarea { 2. Set the default placeholder color to the user's configured gray 400 color. */ -input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { +input::-webkit-input-placeholder, +textarea::-webkit-input-placeholder { opacity: 1; /* 1 */ color: #9ca3af; @@ -420,7 +424,9 @@ video { display: none; } -*, ::before, ::after{ +*, +::before, +::after { --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; @@ -430,16 +436,16 @@ video { --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgb(59 130 246 / 0.5); @@ -447,27 +453,27 @@ video { --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -::-webkit-backdrop{ + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; +} + +::-webkit-backdrop { --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; @@ -477,16 +483,16 @@ video { --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgb(59 130 246 / 0.5); @@ -494,27 +500,27 @@ video { --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -::backdrop{ + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; +} + +::backdrop { --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; @@ -524,16 +530,16 @@ video { --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgb(59 130 246 / 0.5); @@ -541,272 +547,278 @@ video { --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -.fixed{ + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; +} + +.fixed { position: fixed; } -.top-0{ +.top-0 { top: 0px; } -.right-0{ +.right-0 { right: 0px; } -.bottom-0{ +.bottom-0 { bottom: 0px; } -.z-40{ +.z-40 { z-index: 40; } -.mx-auto{ +.mx-auto { margin-left: auto; margin-right: auto; } -.ml-\[33\%\]{ +.ml-\[33\%\] { margin-left: 33%; } -.block{ +.block { display: block; } -.inline-block{ +.inline-block { display: inline-block; } -.inline{ +.inline { display: inline; } -.flex{ +.flex { display: flex; } -.h-full{ +.h-full { height: 100%; } -.w-full{ +.w-full { width: 100%; } -.w-5\/6{ +.w-5\/6 { width: 83.333333%; } -.w-\[300px\]{ +.w-\[300px\] { width: 300px; } -.w-1\/12{ +.w-1\/12 { width: 8.333333%; } -.w-5\/12{ +.w-5\/12 { width: 41.666667%; } -.w-auto{ +.w-auto { width: auto; } -.w-\[800px\]{ +.w-\[800px\] { width: 800px; } -.w-\[500px\]{ +.w-\[500px\] { width: 500px; } -.cursor-not-allowed{ +.cursor-not-allowed { cursor: not-allowed; } -.cursor-pointer{ +.cursor-pointer { cursor: pointer; } -.resize{ +.resize { resize: both; } -.flex-col{ +.flex-col { flex-direction: column; } -.flex-wrap{ +.flex-wrap { flex-wrap: wrap; } -.items-center{ +.items-center { align-items: center; } -.justify-end{ +.justify-end { justify-content: flex-end; } -.justify-between{ +.justify-between { justify-content: space-between; } -.gap-16{ +.gap-16 { gap: 4rem; } -.gap-10{ +.gap-10 { gap: 2.5rem; } -.gap-6{ +.gap-6 { gap: 1.5rem; } -.rounded-full{ +.rounded-full { border-radius: 9999px; } -.rounded-md{ +.rounded-md { border-radius: 0.375rem; } -.border{ +.border { border-width: 1px; } -.bg-deep-blue{ +.bg-deep-blue { --tw-bg-opacity: 1; background-color: rgb(1 0 38 / var(--tw-bg-opacity)); } -.bg-red{ +.bg-red { --tw-bg-opacity: 1; background-color: rgb(220 68 146 / var(--tw-bg-opacity)); } -.bg-blue{ +.bg-blue { --tw-bg-opacity: 1; background-color: rgb(44 188 233 / var(--tw-bg-opacity)); } -.bg-yellow{ +.bg-yellow { --tw-bg-opacity: 1; background-color: rgb(253 204 73 / var(--tw-bg-opacity)); } -.p-2{ +.p-2 { padding: 0.5rem; } -.p-12{ +.p-12 { padding: 3rem; } -.p-4{ +.p-4 { padding: 1rem; } -.p-6{ +.p-6 { padding: 1.5rem; } -.py-6{ +.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; } -.px-4{ +.px-4 { padding-left: 1rem; padding-right: 1rem; } -.text-right{ +.text-right { text-align: right; } -.font-playfair{ +.font-playfair { font-family: Playfair Display, serif; } -.font-opensans{ +.font-opensans { font-family: Open Sans, sans-serif; } -.text-4xl{ +.text-4xl { font-size: 2.25rem; line-height: 2.5rem; } -.text-sm{ +.text-sm { font-size: 0.875rem; line-height: 1.25rem; } -.text-2xl{ +.text-2xl { font-size: 1.5rem; line-height: 2rem; } -.font-bold{ +.font-bold { font-weight: 700; } -.font-semibold{ +.font-semibold { font-weight: 600; } -.text-yellow{ +.text-yellow { --tw-text-opacity: 1; color: rgb(253 204 73 / var(--tw-text-opacity)); } -.text-deep-blue{ +.text-deep-blue { --tw-text-opacity: 1; color: rgb(1 0 38 / var(--tw-text-opacity)); } -.text-black{ +.text-black { --tw-text-opacity: 1; color: rgb(0 0 0 / var(--tw-text-opacity)); } -.transition{ - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, -webkit-transform, -webkit-filter, -webkit-backdrop-filter; - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-transform, -webkit-filter, -webkit-backdrop-filter; +.transition { + transition-property: color, background-color, border-color, + text-decoration-color, fill, stroke, opacity, box-shadow, -webkit-transform, + -webkit-filter, -webkit-backdrop-filter; + transition-property: color, background-color, border-color, + text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, + backdrop-filter; + transition-property: color, background-color, border-color, + text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, + backdrop-filter, -webkit-transform, -webkit-filter, -webkit-backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } -.duration-500{ +.duration-500 { transition-duration: 500ms; } -.duration-200{ +.duration-200 { transition-duration: 200ms; } @@ -821,27 +833,27 @@ body, color: rgb(255 255 255 / var(--tw-text-opacity)); } -.hover\:bg-black:hover{ +.hover\:bg-black:hover { --tw-bg-opacity: 1; background-color: rgb(0 0 0 / var(--tw-bg-opacity)); } -.hover\:bg-yellow:hover{ +.hover\:bg-yellow:hover { --tw-bg-opacity: 1; background-color: rgb(253 204 73 / var(--tw-bg-opacity)); } -.hover\:text-yellow:hover{ +.hover\:text-yellow:hover { --tw-text-opacity: 1; color: rgb(253 204 73 / var(--tw-text-opacity)); } -.hover\:text-black:hover{ +.hover\:text-black:hover { --tw-text-opacity: 1; color: rgb(0 0 0 / var(--tw-text-opacity)); } -.focus\:bg-yellow:focus{ +.focus\:bg-yellow:focus { --tw-bg-opacity: 1; background-color: rgb(253 204 73 / var(--tw-bg-opacity)); -} \ No newline at end of file +} diff --git a/src/scenes/DotGroup.jsx b/src/scenes/DotGroup.jsx index 6a3c398..a94cb97 100644 --- a/src/scenes/DotGroup.jsx +++ b/src/scenes/DotGroup.jsx @@ -1,44 +1,52 @@ -import AnchorLink from "react-anchor-link-smooth-scroll" +import AnchorLink from "react-anchor-link-smooth-scroll"; -const DotGroup = ({selectedPage, setSelectedPage}) => { - - const selectedStyles = `relative bg-yellow before:absolute before:w-6 before:h-6 before:rounded-full before:border-2 before:border-yellow before:left-[-50%] before:top-[-50%]`; +const DotGroup = ({ selectedPage, setSelectedPage }) => { + const selectedStyles = `relative bg-yellow before:absolute before:w-6 before:h-6 before:rounded-full + before:border-2 before:border-yellow before:left-[-50%] before:top-[-50%]`; return (