Skip to content

Commit 4c125fe

Browse files
authored
Merge pull request #107 from BigWhaleLabs/whitepaper
Whitepaper
2 parents ab70462 + 024cb61 commit 4c125fe

File tree

9 files changed

+15
-52
lines changed

9 files changed

+15
-52
lines changed

src/classnames/tailwind.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7483,8 +7483,6 @@ export type TRotate =
74837483
| 'rotate-45'
74847484
| 'rotate-90'
74857485
| 'rotate-180'
7486-
| '-rotate-20'
7487-
| '-rotate-90'
74887486

74897487
export type TTranslate =
74907488
| 'translate-x-0'

src/components/BwlLinks.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
import { LinkText } from 'components/Text'
2-
import { bwlBlog, bwlGitHub, contactUs } from 'helpers/constants'
2+
import {
3+
bwlBlog,
4+
bwlGitHub,
5+
contactUs,
6+
whitepaperLink,
7+
} from 'helpers/constants'
38

49
export default function () {
510
return (
611
<>
12+
<LinkText url={whitepaperLink}>Whitepaper</LinkText>
713
<LinkText url={bwlBlog}>Blog</LinkText>
814
<LinkText url={bwlGitHub}>GitHub</LinkText>
915
<LinkText url={contactUs}>Contact</LinkText>

src/components/MainPage/BigWhaleLabs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const wrapper = classnames(
2222
display('flex'),
2323
alignItems('items-center'),
2424
justifyContent('justify-center'),
25-
padding('px-6', 'md:px-0')
25+
padding('px-6', 'sm:px-0')
2626
)
2727
const imageStyles = classNamesToString(
2828
position('relative'),
@@ -34,7 +34,7 @@ const imageStyles = classNamesToString(
3434
)
3535
const videoStyles = classnames(
3636
position('absolute'),
37-
inset('-right-2', 'top-4', 'md:right-2', 'md:top-8'),
37+
inset('-right-2', 'top-4', 'sm:right-2', 'sm:top-8'),
3838
width('w-40', 'sm:w-48', 'md:w-60'),
3939
aspectRatio('aspect-square'),
4040
borderRadius('rounded-full'),

src/components/MainPage/InfoBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const wrapper = classnames(
2020
width('w-full'),
2121
gap('gap-y-8', 'md:gap-x-20'),
2222
padding('md:px-8'),
23-
margin('md:mb-8', 'md:mb-16', 'mt-16', 'md:mt-8')
23+
margin('sm:mb-8', 'sm:mb-16', 'mt-16', 'md:mt-8')
2424
)
2525

2626
export default function () {

src/components/MainPage/MobileInfoBlock.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import classnames, {
1111
width,
1212
} from 'classnames/tailwind'
1313

14-
const hideOnBig = display('md:hidden')
15-
const wrapper = classnames(hideOnBig, margin('mb-8'))
14+
const hideOnBig = display('sm:hidden')
15+
const wrapper = classnames(hideOnBig, margin('mb-8', 'md:mx-8'))
1616
const crystal = classnames(
1717
width('w-full'),
1818
display('flex'),

src/components/NavbarLinks.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import classnames, {
99
} from 'classnames/tailwind'
1010

1111
const navLinkContainer = classnames(
12-
display('hidden', 'md:flex'),
12+
display('hidden', 'sm:flex'),
1313
flexDirection('flex-row'),
1414
alignItems('items-center'),
1515
justifyContent('justify-center'),

src/helpers/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ export const contactUs =
33
"mailto:hello@bwl.gg?subject=Hello%20BigWhaleLabs%2C%20it's%20..."
44
export const bwlGitHub = 'https://github.com/BigWhaleLabs'
55
export const bwlBlog = 'https://blog.bigwhalelabs.com'
6+
export const whitepaperLink = 'https://docsend.com/view/238tkidbu8ju82dt'
67
export const ketlUrl = 'https://ketl.xyz'

src/hooks/useBreakpoints.ts

Lines changed: 0 additions & 38 deletions
This file was deleted.

tailwind.config.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ module.exports = {
66
primary: ['"Space Grotesk"', 'sans-serif'],
77
},
88
extend: {
9-
rotate: {
10-
'-20': '-20deg',
11-
'-90': '-90deg',
12-
},
139
animation: {
1410
float: 'float 18s ease-in-out infinite',
1511
},
@@ -71,7 +67,7 @@ module.exports = {
7167
se: '23.5rem',
7268
tablet: '31.25rem',
7369
md: '37.5rem',
74-
sm: '40rem',
70+
sm: '42.1875rem',
7571
lg: '64rem',
7672
xl: '80rem',
7773
},

0 commit comments

Comments
 (0)