Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
6a981fb
Merge pull request #1 from prodkt/v3-deployment
prodkt Sep 17, 2024
5c91e1a
Merge pull request #2 from prodkt/v3-deployment
prodkt Sep 17, 2024
ce973d7
Merge pull request #3 from prodkt/v3-deployment
prodkt Sep 17, 2024
d421724
Merge pull request #4 from prodkt/v3-deployment
prodkt Sep 17, 2024
8a764b9
fix(marketing): updated file fileType imgs - adjustment of card types
prodkt Sep 20, 2024
b029137
fix(marketing): data-fetch on currently unused endpoint cause build e…
prodkt Sep 20, 2024
042b75e
Merge pull request #5 from prodkt/v3-deployment
prodkt Sep 20, 2024
9230600
fix(marketing): max-h work images to max-dvh as intnitially intended
prodkt Sep 20, 2024
260353c
docs(storybook): added a few old blocks for use in codeblocks
prodkt Sep 20, 2024
975ee6b
Merge pull request #6 from prodkt/v3-deployment
prodkt Sep 20, 2024
296c3bc
fix(vite): typings and config issues
prodkt Sep 21, 2024
65521af
Merge pull request #7 from prodkt/v3-deployment
prodkt Sep 21, 2024
57eb0e9
feat(marketing): add devMode to blogs for testing - see drafts while …
prodkt Sep 21, 2024
d699225
fix(marketing): undefined auto-import from vs-code seeped into blog e…
prodkt Sep 21, 2024
797f629
fix(marketing): supabase query bugs - types external from endpoint fo…
prodkt Sep 21, 2024
4b8b3dd
fix(storybook): balance card text and better styling of file card
prodkt Sep 21, 2024
d302161
Merge pull request #8 from prodkt/v3-deployment
prodkt Sep 21, 2024
bdcc48d
feat(marketing): new aside menu component + renovated codeblocks api …
prodkt Sep 22, 2024
d322d68
fix(marketing): removed isDevMode conditional on relational themes/co…
prodkt Sep 22, 2024
53979b1
fix(marketing): minor fixes looking for vercel issue
prodkt Sep 22, 2024
f8331e9
Merge pull request #9 from prodkt/v3-deployment
prodkt Sep 22, 2024
9c9fcb1
fix(storybook): remove externalize deps from storybook vite config
prodkt Sep 22, 2024
8ab044e
Merge pull request #10 from prodkt/v3-deployment
prodkt Sep 22, 2024
e751963
fix(marketing): work api update for use on frontend
prodkt Sep 23, 2024
9b087fc
fix(marketing): work api fix for brand projects
prodkt Sep 23, 2024
169175e
fix(storybook): externaldeps giving continuous issues
prodkt Sep 23, 2024
ffc8583
Merge pull request #11 from prodkt/v3-deployment
prodkt Sep 23, 2024
582d7cf
fix(storybook): fix flows darkmode
prodkt Sep 23, 2024
6d1e022
Merge pull request #12 from prodkt/v3-deployment
prodkt Sep 23, 2024
0dedfb5
feat(storybook): many new components
prodkt Sep 24, 2024
03bb228
fix(tsconfig): isolated nodejs esm modules windows path bug
prodkt Sep 24, 2024
b2bc319
Merge pull request #13 from prodkt/v3-deployment
prodkt Sep 24, 2024
f5cc8ca
fix(vite): refactor build config to work on mac configurations
Sep 25, 2024
ac07b92
feat(storybook): projects icon components
prodkt Sep 25, 2024
0bd0281
feat(projects): incorporate workspace repo into monorepo
prodkt Sep 26, 2024
26e16a8
style(storybook): styling fixes
prodkt Sep 26, 2024
f3f6722
Merge branch 'master' into v3-deployment
prodkt Sep 26, 2024
58905d9
Merge pull request #14 from prodkt/v3-deployment
prodkt Sep 26, 2024
97841db
style(marketing): style changes to footer
prodkt Sep 26, 2024
b0c8cc7
Merge pull request #15 from prodkt/v3-deployment
prodkt Sep 26, 2024
365fa4d
refactor(marketing): refactor of API endpoints prep for auth accounts
Sep 28, 2024
7fe36cb
fix(marketing): remove test file
Sep 28, 2024
5c723ea
style(storybook): adjustments to light/dark mode
Sep 29, 2024
9294df4
style(storybook): minor ui updates
Sep 29, 2024
29da133
style(storybook): mobile fixes
Sep 30, 2024
6ce5002
fix(storybook): unfinished codeblock styling fix
Sep 30, 2024
3fe770c
fix(storybook): soft launch menu revisions
Sep 30, 2024
4efc9c4
fix(marketing): styling issue on work
Sep 30, 2024
63d7c94
fix(tailwind): remove unusable masking css
Oct 1, 2024
25831f8
fix(storybook): misc. styling fixes
Oct 2, 2024
375ddac
fix(marketing): typography themes to astro layout
Oct 2, 2024
286b595
feat(storybook): new section + updated styling of existing sections
Oct 2, 2024
1fe254b
docs(storybook): storybook update
Oct 2, 2024
57f1e77
docs(storybook): storybook update
prodkt Oct 2, 2024
006129f
docs(storybook): storybook update
prodkt Oct 2, 2024
0c62d32
docs(storybook): storybook update
prodkt Oct 2, 2024
da0f9e7
docs(storybook): storybook update
prodkt Oct 2, 2024
7256689
docs(storybook): storybook update
prodkt Oct 2, 2024
9451ab2
fix(storybook): updated task list query filter by column order
prodkt Oct 3, 2024
abc5da8
fix(marketing): add postgres filter by date_published ascending to ch…
prodkt Oct 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ drizzle/
packages/ui/src/primitives/form/form.mdx
packages/ui/src/primitives/toast/toast.mdx
packages/ui/src/primitives/carousel/carousel.mdx
packages/constants/src/auth.ts
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"tamasfe.even-better-toml",
"github.vscode-github-actions",
"GitHub.copilot",
"GitHub.copilot-chat",
"GitHub.vscode-pull-request-github",
"DavidAnson.vscode-markdownlint",
"unifiedjs.vscode-mdx",
Expand Down
10 changes: 10 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"configurations": [
{
"type": "chrome",
"name": "http://localhost:4321",
"request": "launch",
"url": "http://localhost:4321"
}
]
}
40 changes: 30 additions & 10 deletions apps/marketing/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import react from '@astrojs/react'
import sitemap from '@astrojs/sitemap'
import tailwind from '@astrojs/tailwind'
import vercel from '@astrojs/vercel/serverless'
import sentry from '@sentry/astro'
import { defineConfig } from 'astro/config'
// import sentry from '@sentry/astro'
import { defineConfig, envField } from 'astro/config'
import dotenv from 'dotenv'

import postcss from './postcss.config.js'
Expand All @@ -29,14 +29,14 @@ export default defineConfig({
react({
experimentalReactChildren: true,
}),
sentry({
dsn: import.meta.env.PUBLIC_SENTRY_DSN,
sourceMapsUploadOptions: {
org: import.meta.env.SENTRY_ORG,
project: import.meta.env.SENTRY_PROJECT,
authToken: import.meta.env.SENTRY_AUTH_TOKEN,
},
}),
// sentry({
// dsn: import.meta.env.PUBLIC_SENTRY_DSN,
// sourceMapsUploadOptions: {
// org: import.meta.env.SENTRY_ORG,
// project: import.meta.env.SENTRY_PROJECT,
// authToken: import.meta.env.SENTRY_AUTH_TOKEN,
// },
// }),
],
vite: {
css: {
Expand All @@ -47,14 +47,34 @@ export default defineConfig({
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
'@/supabase': path.resolve(__dirname, './src/supabase'),
'@prodkt/assets': path.resolve(__dirname, '../../packages/assets'),
'@prodkt/config/tailwind': path.resolve(
__dirname,
'../../packages/config/tailwind',
),
'@prodkt/ui': path.resolve(__dirname, '../../packages/ui/dist'),
},
},
ssr: {
noExternal: ['@prodkt/ui'],
external: ['image-size', 'tiny-glob'],
},
},
output: 'server',
adapter: vercel({
imageService: true,
}),
experimental: {
env: {
schema: {
SUPABASE_DEV_MODE: envField.string({
context: 'server',
access: 'public',
default: 'false',
}),
},
},
// serverIslands: true,
},
})
1 change: 1 addition & 0 deletions apps/marketing/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default defineConfig(
tsconfigRootDir: import.meta.dirname,
},
},
ignores: ['public'],
rules: {
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
Expand Down
39 changes: 28 additions & 11 deletions apps/marketing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"type": "module",
"scripts": {
"build": "astro check && astro build",
"build:prodkt-css": "npx tailwindcss -c ./tailwind.config.ts -i ./src/styles/globals.css -o ./public/prodkt-styles.css --watch",
"clean": "bun run rm -rf .astro dist *.tsbuildinfo playwright-report test-results",
"dev": "astro dev",
"generate:types": "bunx supabase gen types --lang=typescript --project-id odzdpcvclydcqawdagdt > src/database.types.ts",
Expand All @@ -20,10 +21,13 @@
"dependencies": {
"@astrojs/rss": "^4.0.7",
"@astrojs/vercel": "^7.8.1",
"@codesandbox/sandpack-react": "^2.19.8",
"@astrolib/seo": "^1.0.0-beta.6",
"@codesandbox/sandpack-react": "^2.19.9",
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/modifiers": "^7.0.0",
"@dnd-kit/sortable": "^8.0.0",
"@dotlottie/react-player": "^1.6.19",
"@lottiefiles/dotlottie-react": "^0.9.0",
"@prodkt/assets": "workspace:*",
"@prodkt/blocks": "workspace:*",
"@prodkt/env": "workspace:*",
Expand All @@ -33,40 +37,53 @@
"@supabase/ssr": "^0.5.1",
"@supabase/supabase-js": "^2.45.4",
"@t3-oss/env-core": "^0.11.1",
"@tiptap/extension-character-count": "^2.1.12",
"@tiptap/extension-highlight": "^2.1.11",
"@tiptap/extension-link": "^2.2.4",
"@tiptap/extension-placeholder": "^2.1.11",
"@tiptap/extension-typography": "^2.1.11",
"@tiptap/pm": "^2.1.11",
"@tiptap/react": "^2.1.11",
"@tiptap/starter-kit": "^2.1.11",
"@total-typescript/ts-reset": "^0.5.1",
"@types/cheerio": "^0.22.35",
"@types/micromatch": "^4.0.9",
"@xyflow/react": "^12.3.0",
"astro": "^4.15.4",
"astro": "^4.15.9",
"base64-arraybuffer": "^1.0.2",
"chart.js": "^4.4.4",
"cheerio": "^1.0.0",
"lucide-react": "^0.441.0",
"class-variance-authority": "^0.7.0",
"lucide-react": "^0.445.0",
"micromatch": "^4.0.8",
"next-themes": "^0.3.0",
"posthog-js": "^1.161.5",
"posthog-js": "^1.164.2",
"react": "^18.3.1",
"react-chartjs-2": "^5.2.0",
"react-dom": "^18.3.1",
"reactflow": "^11.11.4",
"sass": "^1.78.0",
"supabase": "^1.192.5",
"sass": "^1.79.3",
"supabase": "^1.200.3",
"swiper": "^11.1.14",
"tailwind-merge": "^2.5.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@astrojs/check": "^0.9.3",
"@astrojs/mdx": "^3.1.6",
"@astrojs/mdx": "^3.1.7",
"@astrojs/react": "^3.6.2",
"@astrojs/sitemap": "^3.1.6",
"@astrojs/tailwind": "^5.1.0",
"@astrojs/tailwind": "^5.1.1",
"@playwright/test": "^1.45.2",
"@prodkt/eslint": "workspace:*",
"@prodkt/tailwind": "workspace:*",
"@prodkt/tsconfig": "workspace:*",
"@sentry/astro": "^8.30.0",
"@types/react": "^18.3.6",
"@types/react": "^18.3.9",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.20",
"dotenv": "^16.4.5",
"postcss": "^8.4.47",
"postcss-import": "^16.1.0",
"tailwindcss": "^3.4.11"
"tailwindcss": "^3.4.13"
}
}
47 changes: 47 additions & 0 deletions apps/marketing/public/posthog.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
!(function (t, e) {
var o, n, p, r
e.__SV ||
((window.posthog = e),
(e._i = []),
(e.init = function (i, s, a) {
function g(t, e) {
var o = e.split('.')
2 == o.length && ((t = t[o[0]]), (e = o[1])),
(t[e] = function () {
t.push([e].concat(Array.prototype.slice.call(arguments, 0)))
})
}
;((p = t.createElement('script')).type = 'text/javascript'),
(p.async = !0),
(p.src =
s.api_host.replace('.i.posthog.com', '-assets.i.posthog.com') +
'/static/array.js'),
(r = t.getElementsByTagName('script')[0]).parentNode.insertBefore(p, r)
var u = e
for (
void 0 !== a ? (u = e[a] = []) : (a = 'posthog'),
u.people = u.people || [],
u.toString = function (t) {
var e = 'posthog'
return 'posthog' !== a && (e += '.' + a), t || (e += ' (stub)'), e
},
u.people.toString = function () {
return u.toString(1) + '.people (stub)'
},
o =
'init capture register register_once register_for_session unregister unregister_for_session getFeatureFlag getFeatureFlagPayload isFeatureEnabled reloadFeatureFlags updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures on onFeatureFlags onSessionId getSurveys getActiveMatchingSurveys renderSurvey canRenderSurvey getNextSurveyStep identify setPersonProperties group resetGroups setPersonPropertiesForFlags resetPersonPropertiesForFlags setGroupPropertiesForFlags resetGroupPropertiesForFlags reset get_distinct_id getGroups get_session_id get_session_replay_url alias set_config startSessionRecording stopSessionRecording sessionRecordingStarted captureException loadToolbar get_property getSessionProperty createPersonProfile opt_in_capturing opt_out_capturing has_opted_in_capturing has_opted_out_capturing clear_opt_in_out_capturing debug'.split(
' ',
),
n = 0;
n < o.length;
n++
)
g(u, o[n])
e._i.push([i, s, a])
}),
(e.__SV = 1))
})(document, window.posthog || [])
posthog.init('phc_WeLwdCDRIfwgIuVhKoeU7kZUEP5seUxfWjREmPsnhwJ', {
api_host: 'https://us.i.posthog.com',
person_profiles: 'identified_only', // or 'always' to create profiles for anonymous users as well
})
Loading