Skip to content

Commit

Permalink
small stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
lassejaco committed Jan 1, 2024
1 parent ae9b2ff commit 4ef2a03
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
overflow-y: auto;
display: grid;
position: fixed;
padding-top: calc(16px + var(--headerHeight));
padding-top: calc(4px + var(--headerHeight));
padding-bottom: 16px;
background: $colors-monochrome-1;
color: $colors-main;
Expand Down
15 changes: 10 additions & 5 deletions devcon/src/components/common/newsletter/Newsletter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import { useFormField } from 'hooks/useFormField'
import { useTranslations } from 'next-intl'
import css from './newsletter.module.scss'
import { Alert } from '../alert'
import { Button } from 'components/common/button'
// import { Button } from 'components/common/button'
import { Button } from 'lib/components/button'
import { EMAIL_DEVCON } from 'utils/constants'

export interface Result {
Expand All @@ -17,7 +18,8 @@ interface Props {
id?: string
}

const MC_ENDPOINT = 'https://ethereum.us7.list-manage.com/subscribe/post-json?u=bfdb1ffb0f71e3a27b9d96aed&id=013a6fa362'
const MC_ENDPOINT =
'https://ethereum.us7.list-manage.com/subscribe/post-json?u=bfdb1ffb0f71e3a27b9d96aed&id=013a6fa362'

export const Newsletter = (props: Props) => {
const intl = useTranslations()
Expand All @@ -29,7 +31,10 @@ export const Newsletter = (props: Props) => {
}

return (
<form action="https://login.sendpulse.com/forms/simple/u/eyJ1c2VyX2lkIjo4MjUxNTM4LCJhZGRyZXNzX2Jvb2tfaWQiOjEwNDI3MSwibGFuZyI6ImVuIn0=" method="post">
<form
action="https://login.sendpulse.com/forms/simple/u/eyJ1c2VyX2lkIjo4MjUxNTM4LCJhZGRyZXNzX2Jvb2tfaWQiOjEwNDI3MSwibGFuZyI6ImVuIn0="
method="post"
>
<div>
<p className="semi-bold">{intl('newsletter_title')}</p>
<div>
Expand All @@ -44,13 +49,13 @@ export const Newsletter = (props: Props) => {
<input
className={css['input']}
type="email"
name='email'
name="email"
id={props.id ?? 'newsletter_email'}
placeholder={intl('newsletter_enter')}
{...emailField}
/>
<input type="hidden" name="sender" value={EMAIL_DEVCON} />
<Button className={`black ghost ${css['button']} thin-borders`} type="submit">
<Button color="default" type="submit">
{intl('newsletter_subscribe')}
</Button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion devcon/src/components/domain/blog-overview/BlogReel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function BlogReel(props: Props) {

return (
<div className="section no-overflow">
<div className="content margin-top">
<div className="content mt-4">
<div className={`${css['cards']}`}>
<Slider sliderProps={sliderProps} title="Devcon Blog">
{props.blogs.map((blog: BlogPost, i: number) => {
Expand Down
2 changes: 1 addition & 1 deletion devcon/src/components/domain/index/hero/hero.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ $logo-offset: 50px;

// background: linear-gradient(45deg, #0744c6, #160b14, #0094a1);
// background: linear-gradient(45deg, #91008f, #6c61a2, #76b1ff);
// background: linear-gradient(45deg, #91008f, #5c7093, #000280d6);
background: linear-gradient(45deg, #bf0bbc, #5c7093, #000280d6);

// background-size: 600% 100%;
// animation: gradient 16s linear infinite;
Expand Down

0 comments on commit 4ef2a03

Please sign in to comment.