Skip to content

Commit

Permalink
Merge pull request #107 from BigWhaleLabs/whitepaper
Browse files Browse the repository at this point in the history
Whitepaper
  • Loading branch information
T-Damer authored Nov 14, 2023
2 parents ab70462 + 024cb61 commit 4c125fe
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 52 deletions.
2 changes: 0 additions & 2 deletions src/classnames/tailwind.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7483,8 +7483,6 @@ export type TRotate =
| 'rotate-45'
| 'rotate-90'
| 'rotate-180'
| '-rotate-20'
| '-rotate-90'

export type TTranslate =
| 'translate-x-0'
Expand Down
8 changes: 7 additions & 1 deletion src/components/BwlLinks.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import { LinkText } from 'components/Text'
import { bwlBlog, bwlGitHub, contactUs } from 'helpers/constants'
import {
bwlBlog,
bwlGitHub,
contactUs,
whitepaperLink,
} from 'helpers/constants'

export default function () {
return (
<>
<LinkText url={whitepaperLink}>Whitepaper</LinkText>
<LinkText url={bwlBlog}>Blog</LinkText>
<LinkText url={bwlGitHub}>GitHub</LinkText>
<LinkText url={contactUs}>Contact</LinkText>
Expand Down
4 changes: 2 additions & 2 deletions src/components/MainPage/BigWhaleLabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const wrapper = classnames(
display('flex'),
alignItems('items-center'),
justifyContent('justify-center'),
padding('px-6', 'md:px-0')
padding('px-6', 'sm:px-0')
)
const imageStyles = classNamesToString(
position('relative'),
Expand All @@ -34,7 +34,7 @@ const imageStyles = classNamesToString(
)
const videoStyles = classnames(
position('absolute'),
inset('-right-2', 'top-4', 'md:right-2', 'md:top-8'),
inset('-right-2', 'top-4', 'sm:right-2', 'sm:top-8'),
width('w-40', 'sm:w-48', 'md:w-60'),
aspectRatio('aspect-square'),
borderRadius('rounded-full'),
Expand Down
2 changes: 1 addition & 1 deletion src/components/MainPage/InfoBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const wrapper = classnames(
width('w-full'),
gap('gap-y-8', 'md:gap-x-20'),
padding('md:px-8'),
margin('md:mb-8', 'md:mb-16', 'mt-16', 'md:mt-8')
margin('sm:mb-8', 'sm:mb-16', 'mt-16', 'md:mt-8')
)

export default function () {
Expand Down
4 changes: 2 additions & 2 deletions src/components/MainPage/MobileInfoBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import classnames, {
width,
} from 'classnames/tailwind'

const hideOnBig = display('md:hidden')
const wrapper = classnames(hideOnBig, margin('mb-8'))
const hideOnBig = display('sm:hidden')
const wrapper = classnames(hideOnBig, margin('mb-8', 'md:mx-8'))
const crystal = classnames(
width('w-full'),
display('flex'),
Expand Down
2 changes: 1 addition & 1 deletion src/components/NavbarLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import classnames, {
} from 'classnames/tailwind'

const navLinkContainer = classnames(
display('hidden', 'md:flex'),
display('hidden', 'sm:flex'),
flexDirection('flex-row'),
alignItems('items-center'),
justifyContent('justify-center'),
Expand Down
1 change: 1 addition & 0 deletions src/helpers/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export const contactUs =
"mailto:[email protected]?subject=Hello%20BigWhaleLabs%2C%20it's%20..."
export const bwlGitHub = 'https://github.com/BigWhaleLabs'
export const bwlBlog = 'https://blog.bigwhalelabs.com'
export const whitepaperLink = 'https://docsend.com/view/238tkidbu8ju82dt'
export const ketlUrl = 'https://ketl.xyz'
38 changes: 0 additions & 38 deletions src/hooks/useBreakpoints.ts

This file was deleted.

6 changes: 1 addition & 5 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ module.exports = {
primary: ['"Space Grotesk"', 'sans-serif'],
},
extend: {
rotate: {
'-20': '-20deg',
'-90': '-90deg',
},
animation: {
float: 'float 18s ease-in-out infinite',
},
Expand Down Expand Up @@ -71,7 +67,7 @@ module.exports = {
se: '23.5rem',
tablet: '31.25rem',
md: '37.5rem',
sm: '40rem',
sm: '42.1875rem',
lg: '64rem',
xl: '80rem',
},
Expand Down

0 comments on commit 4c125fe

Please sign in to comment.