-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c9d86f2
commit 245c2e1
Showing
6 changed files
with
157 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { | ||
HeroSection, | ||
} from '@bluedot/ui'; | ||
|
||
const AboutPage = () => { | ||
return ( | ||
<div> | ||
<HeroSection | ||
title="Our mission is to ensure humanity safely navigates the transition to transformative AI." | ||
/> | ||
</div> | ||
); | ||
}; | ||
|
||
export default AboutPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { | ||
HeroSection, | ||
} from '@bluedot/ui'; | ||
|
||
const CareersPage = () => { | ||
return ( | ||
<div> | ||
<HeroSection | ||
title="Join us in our mission to ensure humanity safely navigates the transition to transformative AI." | ||
/> | ||
</div> | ||
); | ||
}; | ||
|
||
export default CareersPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { describe, expect, test } from 'vitest'; | ||
import { render } from '@testing-library/react'; | ||
import { Nav } from './Nav'; | ||
|
||
describe('Footer', () => { | ||
test('renders default as expected', () => { | ||
const { container } = render(<Nav />); | ||
expect(container).toMatchSnapshot(); | ||
}); | ||
|
||
test('renders with optional args', () => { | ||
const { container } = render( | ||
<Nav | ||
logo="logo.png" | ||
/>, | ||
); | ||
expect(container).toMatchSnapshot(); | ||
}); | ||
|
||
test('renders with optional yield', () => { | ||
const { container } = render( | ||
<Nav> | ||
<p>This is the yield</p> | ||
</Nav>, | ||
); | ||
expect(container).toMatchSnapshot(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`Footer > renders default as expected 1`] = ` | ||
<div> | ||
<nav | ||
class="border rounded-full px-8 py-4 flex items-center gap-4 my-4 mx-8 shadow-md fixed top-0 left-0 right-0 z-50 bg-white" | ||
> | ||
<a | ||
href="/" | ||
> | ||
<p | ||
class="h-8 mr-auto text-xl" | ||
> | ||
BlueDot Impact | ||
</p> | ||
</a> | ||
<div | ||
class="flex flex-grow justify-center items-center gap-4" | ||
/> | ||
<a | ||
class="bg-bluedot-lighter text-bluedot-normal font-medium border border-bluedot-lighter rounded-full px-6 py-2 transition-all duration-200 hover:bg-bluedot-normal hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-bluedot-normal" | ||
data-rac="" | ||
href="/signup" | ||
> | ||
Get started for Free | ||
</a> | ||
</nav> | ||
</div> | ||
`; | ||
|
||
exports[`Footer > renders with optional args 1`] = ` | ||
<div> | ||
<nav | ||
class="border rounded-full px-8 py-4 flex items-center gap-4 my-4 mx-8 shadow-md fixed top-0 left-0 right-0 z-50 bg-white" | ||
> | ||
<a | ||
href="/" | ||
> | ||
<img | ||
alt="BlueDot Impact Logo" | ||
class="h-6 mr-auto" | ||
src="logo.png" | ||
/> | ||
</a> | ||
<div | ||
class="flex flex-grow justify-center items-center gap-4" | ||
/> | ||
<a | ||
class="bg-bluedot-lighter text-bluedot-normal font-medium border border-bluedot-lighter rounded-full px-6 py-2 transition-all duration-200 hover:bg-bluedot-normal hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-bluedot-normal" | ||
data-rac="" | ||
href="/signup" | ||
> | ||
Get started for Free | ||
</a> | ||
</nav> | ||
</div> | ||
`; | ||
|
||
exports[`Footer > renders with optional yield 1`] = ` | ||
<div> | ||
<nav | ||
class="border rounded-full px-8 py-4 flex items-center gap-4 my-4 mx-8 shadow-md fixed top-0 left-0 right-0 z-50 bg-white" | ||
> | ||
<a | ||
href="/" | ||
> | ||
<p | ||
class="h-8 mr-auto text-xl" | ||
> | ||
BlueDot Impact | ||
</p> | ||
</a> | ||
<div | ||
class="flex flex-grow justify-center items-center gap-4" | ||
> | ||
<p> | ||
This is the yield | ||
</p> | ||
</div> | ||
<a | ||
class="bg-bluedot-lighter text-bluedot-normal font-medium border border-bluedot-lighter rounded-full px-6 py-2 transition-all duration-200 hover:bg-bluedot-normal hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-bluedot-normal" | ||
data-rac="" | ||
href="/signup" | ||
> | ||
Get started for Free | ||
</a> | ||
</nav> | ||
</div> | ||
`; |