diff --git a/apps/www/app/global.css b/apps/www/app/global.css index 7c72a94..8599398 100644 --- a/apps/www/app/global.css +++ b/apps/www/app/global.css @@ -49,227 +49,31 @@ --card: 230 40% 26.3% !important; } -.border-box { - position: relative; -} - -.border-box::before, -.border-box::after { - content: ""; - position: absolute; - width: 8px; - height: 8px; - background-color: #2e2e2e; -} - -.border-box::before { - top: -4px; - left: -4px; -} - -.border-box::after { - bottom: -4px; - right: -4px; -} - -.border-box::before::before, -.border-box::before::after, -.border-box::after::before, -.border-box::after::after { - content: ""; - position: absolute; - width: 8px; - height: 8px; - background-color: #2e2e2e; -} - -.border-box::before::before { - top: 0; - left: 0; -} - -.border-box::before::before::after { - content: ""; - position: absolute; - width: 8px; - height: 8px; - background-color: red; - top: 1; - left: 3; -} - -.border-box::before::after { - top: 0; - right: 0; -} - -.border-box::after::before { - bottom: 0; - left: 0; -} - -.border-box::after::after { - bottom: 0; - right: 0; -} - -.home_main { - display: flex; - align-items: center; - justify-content: center; - background-image: url("/rings-bg.svg"); - width: 100%; - height: 100vh; - max-height: 1000px; - background-size: cover; - position: relative; - flex-wrap: wrap; - background-repeat: no-repeat; - background-position: 50%; -} - -.home_spotlight { - background: radial-gradient( - 50% 50% at 50% 50%, - #fff 0, - hsla(0, 0%, 100%, 0) 100% - ); - opacity: 0.06; - transform: rotate(45deg); - width: 100%; - top: -80px; - max-width: 1800px; -} - -.home_intro { - display: flex; - flex-direction: column; - align-items: center; - max-width: 800px; - padding: 0 16px; -} - -.words_selectionDot__A9lBk { - background: #fff; - width: 4px; - height: 4px; - box-shadow: 0 0 0 1px var(--accent-color); - position: absolute; -} - -.words_designers__jgVLV { - --accent-color: #666; - box-shadow: 0 0 0 2px var(--accent-color); - padding: 0 2px; - position: relative; - display: inline-flex; -} - -.words_width__LcrJC { - display: inline-block; - width: -moz-fit-content; - width: fit-content; - letter-spacing: -1px; - line-height: 16px; - border-radius: 3px; - padding: 1px 4px; - font-size: 12px; - background: var(--accent-color); - position: absolute; - top: -28px; - left: 50%; - transform: translateX(-50%); - animation: words_width_animation 2s normal; -} - -.words_stunning { - fill: none; - stroke: #f1f1f1; - stroke-width: 0.2px; - stroke-linejoin: round; - stroke-dasharray: 3; - stroke-dashoffset: 0; -} - -.words_customizable { - padding: 0 2px; - position: relative; - display: inline-flex; +.words_width_animat { + animation: words_width_animation 4s normal; + animation-delay: 1s; } .words_width_lens_body { - display: inline-block; - justify-content: center; - align-items: center; - letter-spacing: -1px; - line-height: 16px; - border-radius: 50%; - border: solid 1px #2e2e2e; - font-size: 12px; - position: absolute; - top: -15px; - left: 28%; - transform: translateX(-50%); - animation: lense 2s normal; + animation: lense 3s normal; + animation-delay: 1s; } .word_large_text { - font-size: 3rem; - line-height: 1; - animation: word_large_text_animation 2s normal; -} - -.words_width_lens { - margin: 3px; - width: 63px; - height: 63px; - border-radius: 50%; - background: rgba(255, 255, 255, 0.2); - box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); - backdrop-filter: blur(1.2px); - -webkit-backdrop-filter: blur(1.2px); + animation: word_large_text_animation 1s normal; + animation-delay: 1s; } .underline-clip:after { - content: ""; - position: absolute; - top: 95%; - width: 150%; - aspect-ratio: 5 / 1; - left: 50%; - transform: translate(-50%, 0); - border-radius: 50%; - border: 2px solid hsl(0, 0%, 90%); - clip-path: polygon(0 0, 50% 50%, 100% 0); - animation: underline_clip 3s none; -} - -.words_interfaces { - position: relative; + animation: underline_clip 4s none; } .words_interfaces::after { - content: ""; - position: absolute; - height: 60px; - width: 6px; - top: -17px; - left: -10px; - border-radius: 9999px; - background: #f0f0f0; - animation: words_interfaces_after_animation 2s normal; + animation: words_interfaces_after_animation 3.5s normal; } .words_interfaces::before { - content: ""; - position: absolute; - height: 6px; - width: 205px; - top: -5px; - left: -20px; - border-radius: 9999px; - background: #f0f0f0; - animation: words_interfaces_before_animation 2s normal; + animation: words_interfaces_before_animation 3.5s normal; } @keyframes words_width_animation { @@ -289,10 +93,13 @@ @keyframes lense { 0% { - left: 50%; + left: 28%; + } + 50% { + left: 60%; } 100% { - left: 17%; + left: 28%; } } @@ -319,7 +126,7 @@ width: 0; opacity: 0; } - 50% { + 65% { width: 205px; opacity: 0.5; } @@ -334,7 +141,7 @@ height: 0; opacity: 0; } - 50% { + 65% { height: 60px; opacity: 0.5; } diff --git a/apps/www/components/hero.tsx b/apps/www/components/hero.tsx index 0c2747f..d79bf27 100644 --- a/apps/www/components/hero.tsx +++ b/apps/www/components/hero.tsx @@ -4,46 +4,58 @@ import Link from "next/link"; const Hero = () => { return ( -
- -
+
+ +

-
330 x 56
Craft Seamless +
+ 330 x 56 +
+ Craft Seamless ,
- + {" "} - Stunn - ing,{" "} + + S + + tunn + + i + + ng,{" "}
- -
+ +
@@ -51,9 +63,13 @@ const Hero = () => { Customizable - Interfaces + + Interfaces + with - Ruru UI + + Ruru UI +

the ultimate design system and UI library for creating seamless,