diff --git a/src/web/src/components/Banner.tsx b/src/web/src/components/Banner.tsx index 507f7f046d..3acddc9cd2 100644 --- a/src/web/src/components/Banner.tsx +++ b/src/web/src/components/Banner.tsx @@ -12,6 +12,7 @@ import KeyboardArrowDownIcon from '@material-ui/icons/KeyboardArrowDown'; import { telescopeUrl } from '../config'; import BannerDynamicItems from './BannerDynamicItems'; import LandingButtons from './BannerButtons'; +import ScrollAction from './ScrollAction'; const useStyles = makeStyles((theme: Theme) => createStyles({ @@ -194,9 +195,11 @@ export default function Banner({ onVisibilityChange }: BannerProps) { > v {gitInfo.version} - - - + + + + +
diff --git a/src/web/src/components/BannerButtons.tsx b/src/web/src/components/BannerButtons.tsx index 696e703ec2..2c98114b01 100644 --- a/src/web/src/components/BannerButtons.tsx +++ b/src/web/src/components/BannerButtons.tsx @@ -58,7 +58,7 @@ const LandingButtons = () => { > Sign out - + ) : ( <> diff --git a/src/web/src/components/Posts/index.tsx b/src/web/src/components/Posts/index.tsx index 8419e87d4a..57e220f0e7 100644 --- a/src/web/src/components/Posts/index.tsx +++ b/src/web/src/components/Posts/index.tsx @@ -19,10 +19,6 @@ const useStyles = makeStyles((theme: Theme) => }, postsWrapper: { width: '100%', - paddingTop: '5rem', - [theme.breakpoints.down('xs')]: { - paddingTop: '2rem', - }, }, error: { color: '#B5B5B5', diff --git a/src/web/src/components/TelescopeAvatar.tsx b/src/web/src/components/TelescopeAvatar.tsx index bb1247479b..a829cdcf6b 100644 --- a/src/web/src/components/TelescopeAvatar.tsx +++ b/src/web/src/components/TelescopeAvatar.tsx @@ -2,8 +2,9 @@ import { Avatar } from '@material-ui/core'; type TelescopeAvatarProps = { name: string; - img?: string; size: string; + img?: string; + blog?: string; }; const getInitials = (name: string) => { @@ -20,23 +21,30 @@ const getInitials = (name: string) => { return initials; }; -const TelescopeAvatar = ({ name, img, size }: TelescopeAvatarProps) => { +const TelescopeAvatar = ({ name, img, size, blog }: TelescopeAvatarProps) => { const initials = getInitials(name); return ( - - {initials} - + + {initials} + + ); };