Skip to content

Commit

Permalink
feat: add tailwind to registry
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdavis committed Jul 11, 2024
1 parent 0b8d826 commit 5fb9be5
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 4 deletions.
4 changes: 4 additions & 0 deletions apps/registry/app/global.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

html, body {
padding: 0;
margin: 0;
Expand Down
1 change: 0 additions & 1 deletion apps/registry/app/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Analytics } from '@vercel/analytics/react';
import Menu from './components/Menu';
import { auth } from '../auth';
import './global.css';

export const metadata = {
title: 'JSON Resume Registry',
};
Expand Down
3 changes: 3 additions & 0 deletions apps/registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@vercel/analytics": "^1.3.1",
"ai": "^3.1.14",
"async": "^3.2.4",
"autoprefixer": "^10.4.19",
"axios": "^1.3.6",
"chatgpt": "^5.2.4",
"dotenv-cli": "^7.2.1",
Expand Down Expand Up @@ -88,6 +89,7 @@
"openai": "^4.0.0",
"pg": "^8.11.0",
"pinecone-client": "^1.1.0",
"postcss": "^8.4.39",
"prisma": "^4.15.0",
"prismjs": "^1.29.0",
"qr-image": "^3.2.0",
Expand All @@ -98,6 +100,7 @@
"react-speech-recognition": "^3.10.0",
"resume-schema": "^1.0.0",
"styled-components": "6.1.11",
"tailwindcss": "^3.4.3",
"uuid": "^9.0.0"
},
"devDependencies": {
Expand Down
6 changes: 6 additions & 0 deletions apps/registry/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};
15 changes: 15 additions & 0 deletions apps/registry/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}', // Note the addition of the `app` directory.
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',

// Or if using `src` directory:
'./src/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {},
},
plugins: [],
};
15 changes: 12 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5fb9be5

Please sign in to comment.