BigLung
BigLung
Explore posts from servers
TTCTheo's Typesafe Cult
Created by BigLung on 4/26/2024 in #questions
NextAuth - Email Provider Breaking Google Provider!
5 replies
TTCTheo's Typesafe Cult
Created by BigLung on 4/26/2024 in #questions
NextAuth - Email Provider Breaking Google Provider!
FIX IDENTIFIED
5 replies
TTCTheo's Typesafe Cult
Created by Aerys on 9/24/2023 in #questions
Prisma and NextAuth: Additional fields in the `User` model
Waiting to see if someone did an extra config or something
49 replies
TTCTheo's Typesafe Cult
Created by Aerys on 9/24/2023 in #questions
Prisma and NextAuth: Additional fields in the `User` model
when I tried to reproduce it on a new t3 app it didn't work though
49 replies
TTCTheo's Typesafe Cult
Created by Aerys on 9/24/2023 in #questions
Prisma and NextAuth: Additional fields in the `User` model
I don't know how my team did it because I'm not the one who got it working
49 replies
TTCTheo's Typesafe Cult
Created by Aerys on 9/24/2023 in #questions
Prisma and NextAuth: Additional fields in the `User` model
As I said
49 replies
TTCTheo's Typesafe Cult
Created by DaMango on 9/26/2023 in #questions
What are the best CI/CD tools to use?
github actions
8 replies
TTCTheo's Typesafe Cult
Created by Aerys on 9/24/2023 in #questions
Prisma and NextAuth: Additional fields in the `User` model
ill ask about it and let yall know lol
49 replies
TTCTheo's Typesafe Cult
Created by Aerys on 9/24/2023 in #questions
Prisma and NextAuth: Additional fields in the `User` model
so idk if its a bug, or if our cto did some witchcraft
49 replies
TTCTheo's Typesafe Cult
Created by Aerys on 9/24/2023 in #questions
Prisma and NextAuth: Additional fields in the `User` model
and It wasn't working
49 replies
TTCTheo's Typesafe Cult
Created by Aerys on 9/24/2023 in #questions
Prisma and NextAuth: Additional fields in the `User` model
but I just tried to reproduce it from my works codebase on a personal project
49 replies
TTCTheo's Typesafe Cult
Created by Aerys on 9/24/2023 in #questions
Prisma and NextAuth: Additional fields in the `User` model
we have a working version of this in our code base with a custom role property
49 replies
TTCTheo's Typesafe Cult
Created by Aerys on 9/24/2023 in #questions
Prisma and NextAuth: Additional fields in the `User` model
I'm gonna be 100
49 replies
TTCTheo's Typesafe Cult
Created by BigLung on 9/27/2023 in #questions
updates to tailwind.config.ts not applying?
my tailwind.config.ts
import { type Config } from "tailwindcss";

const colors = require("tailwindcss/colors");

export const SECONDARY = "#E7FD32";
export const SUCCESS = "#47AA56";

export default {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
theme: {
colors: {
...colors,
primary: "#27465B",
secondary: "#3CB9EA",
tertiary: "#93C5D3",
accent: "#C3E2E2",
success: "#47AA56",
backgroundInvert: "#F5F5EB",
backgroundInvertAccent: "#d9ded7",
"light-gray": "#E4E4E4",
"dark-gray": "#B7BFCA",
destructive: "#710a0b",
},
extend: {
fontFamily: {
"noto-serif": ["var(--font-noto-serif)"],
"space-mono": ["var(--font-space-mono)"],
"ibm-plex-mono": ["var(--font-ibm-mono)"],
faktum: ["var(--font-faktum)"],
},
boxShadow: {
outline: "0 0 0 3px rgba(66, 153, 225, 0.5)",
},
colors: {
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))",
},
secondary: {
DEFAULT: "hsl(var(--secondary))",
foreground: "hsl(var(--secondary-foreground))",
},
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
},
accent: {
DEFAULT: "hsl(var(--accent))",
foreground: "hsl(var(--accent-foreground))",
},
},
},
},
variants: {
extend: {
boxShadow: ["focus"],
},
},
plugins: [],
} satisfies Config;
import { type Config } from "tailwindcss";

const colors = require("tailwindcss/colors");

export const SECONDARY = "#E7FD32";
export const SUCCESS = "#47AA56";

export default {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
theme: {
colors: {
...colors,
primary: "#27465B",
secondary: "#3CB9EA",
tertiary: "#93C5D3",
accent: "#C3E2E2",
success: "#47AA56",
backgroundInvert: "#F5F5EB",
backgroundInvertAccent: "#d9ded7",
"light-gray": "#E4E4E4",
"dark-gray": "#B7BFCA",
destructive: "#710a0b",
},
extend: {
fontFamily: {
"noto-serif": ["var(--font-noto-serif)"],
"space-mono": ["var(--font-space-mono)"],
"ibm-plex-mono": ["var(--font-ibm-mono)"],
faktum: ["var(--font-faktum)"],
},
boxShadow: {
outline: "0 0 0 3px rgba(66, 153, 225, 0.5)",
},
colors: {
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))",
},
secondary: {
DEFAULT: "hsl(var(--secondary))",
foreground: "hsl(var(--secondary-foreground))",
},
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
},
accent: {
DEFAULT: "hsl(var(--accent))",
foreground: "hsl(var(--accent-foreground))",
},
},
},
},
variants: {
extend: {
boxShadow: ["focus"],
},
},
plugins: [],
} satisfies Config;
3 replies
TTCTheo's Typesafe Cult
Created by vibbin on 1/23/2023 in #questions
Best provider for single sign on with Microsoft & Next Auth?
@vibbin did you ever figure this out? I am struggling with the same issue right now
2 replies
TTCTheo's Typesafe Cult
Created by BigLung on 8/25/2023 in #questions
Twitter link previews with t3?
import Head from "next/head";

type MetaTagsProps = {
title: string;
description: string;
route: string;
image?: string;
};

const MetaTags = (props: MetaTagsProps) => {
const host =
process.env.NODE_ENV === "production"
? "https://app.getriver.io"
: "http://localhost:3000";
const logo = `${host}/Icon_Neon%20Green.png`;
const image = props.image ?? logo;
const url = `${host}${props.route}`;

return (
<Head>
{/* Twitter */}
<meta name="twitter:card" content="summary_large_image" />{" "}
<meta name="twitter:site" content="https://twitter.com/getriver_io" />
<meta name="twitter:title" content={props.title} />
<meta name="twitter:description" content={props.description} />
<meta name="twitter:image" content={image} />

{/* Open Graph */}
<meta property="og:title" content={props.title} />
<meta property="og:description" content={props.description} />
<meta property="og:image" content={image} />
<meta property="og:url" content={url} />
<meta property="og:type" content="website" />
</Head>
);
};

export default MetaTags;
import Head from "next/head";

type MetaTagsProps = {
title: string;
description: string;
route: string;
image?: string;
};

const MetaTags = (props: MetaTagsProps) => {
const host =
process.env.NODE_ENV === "production"
? "https://app.getriver.io"
: "http://localhost:3000";
const logo = `${host}/Icon_Neon%20Green.png`;
const image = props.image ?? logo;
const url = `${host}${props.route}`;

return (
<Head>
{/* Twitter */}
<meta name="twitter:card" content="summary_large_image" />{" "}
<meta name="twitter:site" content="https://twitter.com/getriver_io" />
<meta name="twitter:title" content={props.title} />
<meta name="twitter:description" content={props.description} />
<meta name="twitter:image" content={image} />

{/* Open Graph */}
<meta property="og:title" content={props.title} />
<meta property="og:description" content={props.description} />
<meta property="og:image" content={image} />
<meta property="og:url" content={url} />
<meta property="og:type" content="website" />
</Head>
);
};

export default MetaTags;
9 replies
TTCTheo's Typesafe Cult
Created by BigLung on 8/25/2023 in #questions
Twitter link previews with t3?
Here is the working Meta tags component for future reference
9 replies
TTCTheo's Typesafe Cult
Created by BigLung on 8/25/2023 in #questions
Twitter link previews with t3?
I found the issue. I just forgot one of the meta tags for twitter it looks like???
9 replies
TTCTheo's Typesafe Cult
Created by BigLung on 8/25/2023 in #questions
Twitter link previews with t3?
notice how link preview works for discord, but not for twitter 🤔
9 replies
TTCTheo's Typesafe Cult
Created by BigLung on 8/25/2023 in #questions
Twitter link previews with t3?
9 replies