Skip to content

Commit

Permalink
change link preview image, spacing, navigation background
Browse files Browse the repository at this point in the history
  • Loading branch information
encryptedDegen committed May 16, 2024
1 parent 2b79267 commit 38462f3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
Binary file modified public/og.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export default function App() {
alt='Ethereum Follow Protocol logo'
className='w-64 sm:w-80 mx-auto'
/>
<p className='text-dark-gray text-2xl md:text-3xl font-bold mx-4 mt-4'>
<p className='text-dark-gray text-2xl md:text-3xl font-bold mx-4 mt-6'>
It&apos;s about{' '}
<span className=' bg-gradient-to-r from-[#ffcb44] to-[#ff9c90] bg-clip-text text-transparent'>
who
Expand Down
4 changes: 2 additions & 2 deletions src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Link } from '@radix-ui/themes'

export function Header() {
return (
<header className='flex w-full gap-4 z-50 px-4 sm:gap-8 fixed top-0 backdrop-blur-md left-0 justify-between sm:justify-end items-center bg-white/70 py-4'>
<header className='navigation flex w-full gap-4 z-50 px-4 sm:gap-8 fixed top-0 left-0 justify-between sm:justify-end items-center py-4'>
<Link
href='https://github.com/ethereumfollowprotocol/demo'
target='_blank'
Expand Down Expand Up @@ -74,7 +74,7 @@ export function Header() {
>
<button
type='button'
className='bg-[#FFE067] py-2 rounded-xl cursor-pointer justify-center gap-2 w-32 flex items-center'
className='bg-[#FFE067] hover:opacity-80 transition-opacity py-2 rounded-xl cursor-pointer justify-center gap-2 w-32 flex items-center'
>
<img src='/common/follow-icon.svg' alt='follow icon' />
<p>DEMO</p>
Expand Down
11 changes: 11 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,14 @@ textarea:not([rows]) {
backdrop-filter: blur(1.25rem);
}

.navigation {
background: #fffb;
backdrop-filter: blur(0.5rem);
}

@media screen and (min-width: 1770px) {
.navigation {
background: transparent;
backdrop-filter: unset;
}
}

0 comments on commit 38462f3

Please sign in to comment.