Skip to content

Commit

Permalink
fix: update to ribbon-studios
Browse files Browse the repository at this point in the history
  • Loading branch information
cecilia-sanare committed Apr 10, 2024
1 parent 72a89cb commit c46e0bd
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<br>
<div>
<a href="https://charcoal.gg">
<img src="https://github.com/raw/rain-cafe/logos/main/charcoal/logo.png?sanitize=true">
<img src="https://github.com/raw/ribbon-studios/logos/main/charcoal/logo.png?sanitize=true">
</a>
</div>
</h2>
Expand Down
4 changes: 2 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { EnvironmentService } from '@/backend/services/environment.service';
import { Footer } from '@/components/Footer';
import { Header } from '@/components/Header';
import { cn } from '@/lib/utils';
import { Ribbon } from '@rain-cafe/ribbon';
import { Ribbon } from '@ribbon-studios/ribbon';
import type { Metadata } from 'next';
import { SessionProvider } from 'next-auth/react';
import { Roboto } from 'next/font/google';
Expand All @@ -27,7 +27,7 @@ export const metadata: Metadata = {
type: 'website',
url: '/',
description: 'The next generation of TTRPG',
images: 'https://github.com/raw/rain-cafe/logos/main/charcoal/social-media.png',
images: 'https://github.com/raw/ribbon-studios/logos/main/charcoal/social-media.png',
},
twitter: {
card: 'summary_large_image',
Expand Down
Binary file modified bun.lockb
Binary file not shown.
6 changes: 3 additions & 3 deletions components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ export function Footer() {
return (
<div className={'rounded-lg flex bg-background/70 border border-secondary items-center p-4 py-2 gap-4'} ref={ref}>
<div className="flex-1 sm:hidden">Made with ❤️</div>
<div className="flex-1 hidden sm:flex">Made with ❤️ by the Rainbow Cafe Team~</div>
<div className="flex-1 hidden sm:flex">Made with ❤️ by the Ribbon Studios Team~</div>
<Button variant="secondary" asChild>
<Link href="https://github.com/rain-cafe/charcoal.gg/discussions" target="_blank">
<Link href="https://github.com/ribbon-studios/charcoal.gg/discussions" target="_blank">
<LifeBuoy className="md:mr-2 size-6 md:size-5" />
<span className="hidden md:flex">Support</span>
</Link>
</Button>
<Button variant="secondary" asChild>
<Link href="https://github.com/rain-cafe/charcoal.gg" target="_blank">
<Link href="https://github.com/ribbon-studios/charcoal.gg" target="_blank">
<Code2 className="md:mr-2 size-6 md:size-5" />
<span className="hidden md:flex">Source Code</span>
</Link>
Expand Down
2 changes: 1 addition & 1 deletion components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';
import { FeatureFlag } from '@/backend/services/environment.service';
import { cn } from '@/lib/utils';
import { classNames } from '@rain-cafe/react-utils';
import { classNames } from '@ribbon-studios/react-utils';
import { LucideIcon, Menu, NotebookPen, Swords, X } from 'lucide-react';
import { Alice } from 'next/font/google';
import Link from 'next/link';
Expand Down
6 changes: 3 additions & 3 deletions components/__tests__/Footer.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('test', () => {
it('should have the "made with love" message', () => {
const component = render(<Footer />);

expect(component.getByText('Made with ❤️ by the Rainbow Cafe Team~')).toBeTruthy();
expect(component.getByText('Made with ❤️ by the Ribbon Studios Team~')).toBeTruthy();
});

it('should have a link to the support page', () => {
Expand All @@ -15,7 +15,7 @@ describe('test', () => {
expect(component.getByText('Support')).toBeTruthy();

const link = component.getByText('Support').parentElement as HTMLAnchorElement;
expect(link.href).toEqual('https://github.com/rain-cafe/charcoal.gg/discussions');
expect(link.href).toEqual('https://github.com/ribbon-studios/charcoal.gg/discussions');
});

it('should have a link to the source code', () => {
Expand All @@ -24,6 +24,6 @@ describe('test', () => {
expect(component.getByText('Source Code')).toBeTruthy();

const link = component.getByText('Source Code').parentElement as HTMLAnchorElement;
expect(link.href).toEqual('https://github.com/rain-cafe/charcoal.gg');
expect(link.href).toEqual('https://github.com/ribbon-studios/charcoal.gg');
});
});
4 changes: 2 additions & 2 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tooltip": "^1.0.7",
"@rain-cafe/react-utils": "^1.2.0",
"@rain-cafe/ribbon": "^1.0.3",
"@ribbon-studios/react-utils": "^2.3.3",
"@ribbon-studios/ribbon": "^1.0.4",
"bcrypt": "^5.1.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
Expand Down

0 comments on commit c46e0bd

Please sign in to comment.