Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update hero and navbar styles #423

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function TrafficLightsIcon(props) {

export function Hero({ className }) {
return (
<div className={clsx('overflow-hidden', className)}>
<div className={clsx('overflow-hidden border-b-2 border-slate-100 dark:border-slate-900', className)}>
<div className="py-16 sm:px-2 lg:relative lg:px-0 lg:py-20">
<div className="mx-auto grid max-w-2xl grid-cols-1 items-center gap-x-8 gap-y-16 px-4 lg:max-w-8xl lg:grid-cols-2 lg:px-8 xl:gap-x-16 xl:px-12">
<div className="relative z-10 md:text-center lg:text-left">
Expand Down
4 changes: 2 additions & 2 deletions src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function Navbar() {
return (
<header
className={clsx(
'sticky top-0 z-50 bg-white px-4 pb-5 pt-5 shadow-md shadow-slate-900/5 transition duration-500 dark:shadow-none sm:px-6 lg:divide-y lg:divide-gray-200 lg:px-8 lg:pb-0',
'sticky top-0 z-50 bg-white px-4 pb-5 pt-5 shadow-md shadow-slate-900/5 dark:shadow-0 dark:border-b-2 dark:border-slate-900 transition duration-500 sm:px-6 lg:divide-y lg:divide-gray-200 lg:px-8 lg:pb-0',
isScrolled
? 'dark:bg-storj-black/95 dark:backdrop-blur dark:[@supports(backdrop-filter:blur(0))]:bg-storj-black/75'
: 'dark:bg-transparent'
Expand Down Expand Up @@ -68,7 +68,7 @@ export default function Navbar() {
</div>
</div>
<nav
className="mt-5 hidden py-4 lg:flex lg:space-x-8"
className="hidden py-4 lg:flex lg:space-x-8 border-none"
aria-label="Global"
>
<Spaces />
Expand Down
Loading