Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Landing #6

Merged
merged 121 commits into from
Nov 26, 2024
Merged
Changes from 2 commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
8c71b01
initial install
mckelvey Nov 6, 2024
b17bb80
Base Build
mckelvey Nov 11, 2024
b51a48e
Merge pull request #7 from plastic-labs/dm/lib-updates-and-additions
mckelvey Nov 11, 2024
f86954c
add lint action
mckelvey Nov 11, 2024
5c343f6
remove unused libs
mckelvey Nov 11, 2024
9dd8741
remove one additional lib
mckelvey Nov 11, 2024
46c97b1
add new env var for site origin
mckelvey Nov 13, 2024
a6b967b
update storybook; remove default stories
mckelvey Nov 13, 2024
85c328a
add starter components
mckelvey Nov 13, 2024
d836cdf
move logo
mckelvey Nov 13, 2024
11274df
logo updates; storybook asset; utils
mckelvey Nov 13, 2024
dcd50a9
additional updates
mckelvey Nov 13, 2024
1f96e59
fix logo story dimensions
mckelvey Nov 13, 2024
96a5f6b
add new fonts; fix storybook font usage
mckelvey Nov 14, 2024
0ae3722
update colors; add neutrals; handle in storybook swatches
mckelvey Nov 14, 2024
ab3bc45
add theming and plastic theme l/d switching
mckelvey Nov 14, 2024
c54244f
update start script for exported
mckelvey Nov 14, 2024
be49a7d
add themes to storybook
mckelvey Nov 14, 2024
1b61c85
apply theme backgrounds; remove backgrounds from storybook toolbar
mckelvey Nov 14, 2024
710854f
add viewports
mckelvey Nov 14, 2024
c257242
Merge pull request #8 from plastic-labs/dm/initial-build-follows
mckelvey Nov 14, 2024
b1d5a87
add character cell with stories
mckelvey Nov 15, 2024
47e7d07
add statement, stories, utils
mckelvey Nov 15, 2024
91596e4
allow for flexible cycles
mckelvey Nov 16, 2024
ed9639a
keyframes collapsed further
mckelvey Nov 16, 2024
5998d46
external duration; better cycle randomization
mckelvey Nov 16, 2024
b1270ed
fix duration; reset
mckelvey Nov 16, 2024
4a4a50d
improve cycle experience
mckelvey Nov 16, 2024
8900e41
prep for background characters
mckelvey Nov 16, 2024
5620e65
elevate cell-size; switch to css var
mckelvey Nov 16, 2024
d83a855
character gets background numbers
mckelvey Nov 16, 2024
3ba27f4
more consistent wrap
mckelvey Nov 16, 2024
20d442e
switch to character count; add line-break
mckelvey Nov 16, 2024
fe047cb
rename and export
mckelvey Nov 17, 2024
d4debec
style buttons; update theming
mckelvey Nov 17, 2024
5e49f89
rename theme var
mckelvey Nov 17, 2024
6a565d8
fix default theme; update inline link styles
mckelvey Nov 17, 2024
42aca3b
add inverse to buttons
mckelvey Nov 17, 2024
c7ffd00
add button logo
mckelvey Nov 17, 2024
8393d31
add button theme; unify button styles a bit
mckelvey Nov 17, 2024
58bacc9
add button social
mckelvey Nov 17, 2024
4b6df33
update typography to final
mckelvey Nov 18, 2024
f259a5a
better font-families and weights
mckelvey Nov 18, 2024
2341db6
add inverse to simple button styles; create footer
mckelvey Nov 18, 2024
1845040
add wordmark; update header; stories
mckelvey Nov 18, 2024
7ca0b46
fix stories grouping
mckelvey Nov 18, 2024
b8ddbd3
product button ui
mckelvey Nov 19, 2024
635ef30
nest buttons
mckelvey Nov 19, 2024
ebec8c2
update button story nesting
mckelvey Nov 19, 2024
24a171c
nest links
mckelvey Nov 19, 2024
8d85891
storybook regrouping
mckelvey Nov 19, 2024
d96e9e9
add link team member and images
mckelvey Nov 19, 2024
cd194e2
lint fixes
mckelvey Nov 19, 2024
5cc3567
add link partners; small tweaks to link team member
mckelvey Nov 20, 2024
76ff6d7
add border
mckelvey Nov 20, 2024
68cd004
Merge pull request #9 from plastic-labs/dm/shared-components
mckelvey Nov 20, 2024
601a1f4
add composed partners with scroll; update link-partner
mckelvey Nov 20, 2024
543a896
partners section
mckelvey Nov 21, 2024
689c443
fix theme toggling
mckelvey Nov 21, 2024
fa55d65
fix header transparency
mckelvey Nov 21, 2024
2b4e601
titles stacked need some difference
mckelvey Nov 21, 2024
56a7e90
add team; update link team member
mckelvey Nov 21, 2024
72c128a
update team, add team section
mckelvey Nov 21, 2024
157c370
dummy section no longer needed
mckelvey Nov 21, 2024
1cb19d4
add lilis team url
mckelvey Nov 21, 2024
c0b759a
add link-giant
mckelvey Nov 21, 2024
8cba3c1
add marquee; tweak partners
mckelvey Nov 21, 2024
99cbf5a
get in touch section
mckelvey Nov 21, 2024
b3efea7
add composed contact; use in get in touch
mckelvey Nov 21, 2024
5427c65
products section base
mckelvey Nov 21, 2024
d656bed
composed products; add section
mckelvey Nov 21, 2024
1f50a69
lint fixes; ref composed products
mckelvey Nov 21, 2024
d8b1f1e
add react-draggable
mckelvey Nov 21, 2024
aaf99c7
products draggability and positioning
mckelvey Nov 22, 2024
9ef2f9e
add ascii field and stories
mckelvey Nov 22, 2024
3a3739e
add text content composed and stories
mckelvey Nov 22, 2024
43aa5e9
add about-us composed with stories
mckelvey Nov 22, 2024
05c561e
add hero-statement; tweak related
mckelvey Nov 22, 2024
13c5b77
add divider and stories
mckelvey Nov 22, 2024
0460a59
initial hero
mckelvey Nov 23, 2024
ed60814
lint fixes
mckelvey Nov 23, 2024
914a035
add ids
mckelvey Nov 23, 2024
5a15505
nice nav scroll
mckelvey Nov 23, 2024
61e82e8
header and style adjustments
mckelvey Nov 23, 2024
465e764
handle navigation width consistently
mckelvey Nov 23, 2024
8a16a37
tweak ascii field character size
mckelvey Nov 23, 2024
514f31d
statement needs to respond to resize
mckelvey Nov 23, 2024
74d4d10
other tweaks to hero elements
mckelvey Nov 23, 2024
e119652
lib updates
mckelvey Nov 23, 2024
fd14b44
various small tweaks and storybook fixes
mckelvey Nov 23, 2024
1f7d998
lint fix
mckelvey Nov 23, 2024
d399c09
Merge pull request #10 from plastic-labs/dm/into-actual-landing-page
mckelvey Nov 23, 2024
c95c18a
add missing plugin to eslint
mckelvey Nov 24, 2024
09408c8
update palette; theme; buttons
mckelvey Nov 24, 2024
f2db195
remove exo 2
mckelvey Nov 24, 2024
e56c7c6
remove unused return statement
mckelvey Nov 24, 2024
5a0bdf4
Merge pull request #11 from plastic-labs/dm/tweaks
mckelvey Nov 24, 2024
111a5f7
add pricing card
mckelvey Nov 25, 2024
daa6f86
add button link xl
mckelvey Nov 25, 2024
1d3c4f3
update typography
mckelvey Nov 25, 2024
de7d3eb
add link-navigation
mckelvey Nov 25, 2024
7118f67
Merge pull request #12 from plastic-labs/dm/button-link-xl-and-pricin…
mckelvey Nov 25, 2024
a5ff72d
pricing card hover state
mckelvey Nov 25, 2024
0f5daea
Merge pull request #13 from plastic-labs/dm/pricing-card-hover
mckelvey Nov 25, 2024
8792f12
add og images
mckelvey Nov 25, 2024
0654330
Merge pull request #14 from plastic-labs/dm/og
mckelvey Nov 25, 2024
c8df850
metadata update
mckelvey Nov 25, 2024
294e4f3
og images updated
mckelvey Nov 25, 2024
ba96981
update wordmark and scale
mckelvey Nov 25, 2024
5f5af9e
Merge pull request #15 from plastic-labs/dm/update-wordmark-and-tagline
mckelvey Nov 25, 2024
22bfbf1
reorder team; add proper roles, other
mckelvey Nov 26, 2024
4c87a51
update about us text
mckelvey Nov 26, 2024
24a2691
replace og assets with reversed coloration
mckelvey Nov 26, 2024
e0db14f
update partners prompt
mckelvey Nov 26, 2024
32feffa
replace marquee with more ascii
mckelvey Nov 26, 2024
9b4674f
Merge pull request #16 from plastic-labs/dm/review-tweaks
mckelvey Nov 26, 2024
0e35e7f
rename section; mobile height adjustment
mckelvey Nov 26, 2024
97c22eb
update photo
mckelvey Nov 26, 2024
a775bca
Merge pull request #17 from plastic-labs/dm/review-tweaks-follow
mckelvey Nov 26, 2024
45a9f9b
team updates
mckelvey Nov 26, 2024
b7c01b3
Merge pull request #18 from plastic-labs/dm/team-tweaks
mckelvey Nov 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Posthog
NEXT_PUBLIC_POSTHOG_KEY=
NEXT_PUBLIC_POSTHOG_HOST=
141 changes: 139 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,140 @@
{
"extends": "next/core-web-vitals"
}
"root": true,
"plugins": [
"no-unsanitized",
"jsx-a11y",
"@typescript-eslint",
"import",
"prettier",
"react"
],
"extends": [
"airbnb",
"airbnb/hooks",
"airbnb-typescript",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/typescript",
"plugin:prettier/recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"prettier",
"next/core-web-vitals",
"next/typescript"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"project": "./tsconfig.json"
},
"rules": {
"no-console": "error",
"arrow-parens": [
"error",
"as-needed"
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**/*.spec.ts"
]
}
],
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"internal",
"unknown",
"parent",
"sibling",
"index",
"object",
"type"
],
"pathGroups": [],
"pathGroupsExcludedImportTypes": [
"internal"
],
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],
"react/function-component-definition": [
2,
{
"namedComponents": "arrow-function"
}
],
"react/jsx-props-no-spreading": "off",
"semi": "off",
"sort-imports": [
"error",
{
"ignoreCase": true,
"ignoreDeclarationSort": true,
"ignoreMemberSort": true,
"memberSyntaxSortOrder": [
"none",
"all",
"multiple",
"single"
],
"allowSeparatedGroups": true
}
],
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "interface",
"format": [
"PascalCase"
],
"modifiers": [
"exported"
]
},
{
"selector": "enum",
"format": [
"PascalCase",
"UPPER_CASE"
],
"modifiers": [
"exported"
]
},
{
"selector": "typeAlias",
"format": [
"PascalCase"
],
"modifiers": [
"exported"
]
}
],
"@typescript-eslint/semi": [
"error",
"never"
],
"import/prefer-default-export": "off",
"import/no-default-export": "error",
"no-unused-vars": "error",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/dot-notation": "off",
"no-underscore-dangle": "off",
"react/require-default-props": "off",
"react/prop-types": "off",
"import/no-cycle": "error"
}
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -36,3 +36,5 @@ yarn-error.log*
next-env.d.ts

.env

*storybook.log
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"arrowParens": "avoid",
"printWidth": 80,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all"
}
21 changes: 21 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import type { StorybookConfig } from "@storybook/nextjs";

const config: StorybookConfig = {
stories: [
"../stories/**/*.mdx",
"../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)",
'../components/**/*.stories.@(ts|tsx)',
],
addons: [
"@storybook/addon-onboarding",
"@storybook/addon-essentials",
"@chromatic-com/storybook",
"@storybook/addon-interactions",
],
framework: {
name: '@storybook/nextjs',
options: {},
},
staticDirs: ['../public'],
};
export default config;
22 changes: 22 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import type { Preview } from '@storybook/react'
import { withThemeFromJSXProvider } from '@storybook/addon-themes'
import { GlobalStyles } from '../styles/global-styles'

export const decorators = [
withThemeFromJSXProvider({
GlobalStyles,
}),
]

const preview: Preview = {
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
},
}

export default preview
40 changes: 0 additions & 40 deletions app/globals.css

This file was deleted.

49 changes: 19 additions & 30 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,49 +1,38 @@
import './globals.css'
import type { Metadata } from 'next'
import { Inter, Exo_2 } from 'next/font/google'
import { CSPostHogProvider } from './providers'

const inter = Inter({ subsets: ['latin'] })

const exo2 = Exo_2({
subsets: ['latin'],
display: 'swap',
variable: '--font-exo2',
})
/* eslint-disable import/no-default-export */
import { Metadata } from 'next'
import { Providers } from './providers'

export const metadata: Metadata = {
title: 'Plastic Labs 🥽',
authors: [{ name: "Plastic Labs", url: "https://plasticlabs.ai" }],
authors: [{ name: 'Plastic Labs', url: 'https://plasticlabs.ai' }],
metadataBase: new URL('https://plasticlabs.ai'),
openGraph: {
title: "Plastic Labs",
description: "Building at the intersection of Human and Machine Learning",
siteName: "Plastic Labs",
type: "website",
url: "https://plasticlabs.ai",
title: 'Plastic Labs',
description: 'Building at the intersection of Human and Machine Learning',
siteName: 'Plastic Labs',
type: 'website',
url: 'https://plasticlabs.ai',
images: [
{
url: "/opengraph-image.png",
url: '/opengraph-image.png',
width: 1200,
height: 630,
alt: "Plastic Labs"
}
alt: 'Plastic Labs',
},
],
locale: "en_US",
locale: 'en_US',
},
description: 'Building at the intersection of Human and Machine Learning',
}

export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
const RootLayout = ({ children }: { children: React.ReactNode }) => {
return (
<html lang="en">
<CSPostHogProvider>
<body className={exo2.variable}>{children}</body>
</CSPostHogProvider>
<Providers>
<body>{children}</body>
</Providers>
</html>
)
}

export default RootLayout
Loading