Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Binary file removed apps/app/public/android-chrome-192x192.png
Binary file not shown.
Binary file removed apps/app/public/android-chrome-512x512.png
Binary file not shown.
Binary file modified apps/app/public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/app/public/favicon-16x16.png
Binary file not shown.
Binary file removed apps/app/public/favicon-32x32.png
Binary file not shown.
Binary file added apps/app/public/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/app/public/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions apps/app/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 21 additions & 1 deletion apps/app/public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
{
"name": "Comp AI",
"short_name": "Comp AI",
"icons": [
{
"src": "/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Binary file added apps/app/public/web-app-manifest-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/app/public/web-app-manifest-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion apps/app/src/app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { env } from "@/env.mjs";
import { initializeServer } from "@bubba/analytics/src/server";
import { NextSSRPlugin } from "@uploadthing/react/next-ssr-plugin";
import { GeistMono } from "geist/font/mono";
import { GeistSans } from "geist/font/sans";
import type { Metadata } from "next";
import { SessionProvider } from "next-auth/react";
import localFont from "next/font/local";
Expand Down
2 changes: 1 addition & 1 deletion apps/app/src/components/risks/risk-comments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function RiskComments({
return (
<div
key={comment.id}
className="group relative flex flex-col gap-3 rounded-lg border bg-card p-4 shadow-sm transition-colors"
className="group relative flex flex-col gap-3 border bg-card p-4 shadow-sm transition-colors"
>
<div className="flex items-start justify-between gap-4">
<div className="flex-1">
Expand Down
2 changes: 1 addition & 1 deletion apps/app/src/components/risks/tasks/task-attachment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export async function TaskAttachments({
<Link
href={signedUrls[index].signedUrl}
target="_blank"
className="text-primary hover:underline"
className="hover:underline"
>
{attachment.name}
</Link>
Expand Down
1 change: 1 addition & 0 deletions apps/app/src/components/risks/tasks/task-comments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export function TaskComment({
<div className="flex items-center justify-between gap-2">
{t("common.comments.title")}
<Button variant="action" onClick={() => setOpen("true")}>
<MessageSquare className="h-4 w-4" />
{t("common.comments.add")}
</Button>
</div>
Expand Down
5 changes: 3 additions & 2 deletions apps/app/src/components/upload-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
DialogTitle,
DialogTrigger,
} from "@bubba/ui/dialog";
import { Cloud } from "lucide-react";
import { useAction } from "next-safe-action/hooks";
import { toast } from "sonner";

Expand Down Expand Up @@ -55,8 +56,8 @@ export function UploadDialog({ taskId, riskId }: UploadDialogProps) {
<Dialog open={open} onOpenChange={setOpen}>
<DialogTrigger asChild>
<Button variant="action">
{t("common.attachments.upload")}{" "}
{files.length > 0 && `(${files.length})`}
<Cloud className="h-4 w-4" />
{t("common.attachments.upload")}
</Button>
</DialogTrigger>
<DialogContent className="sm:max-w-xl">
Expand Down
Binary file removed apps/web/public/android-chrome-192x192.png
Binary file not shown.
Binary file removed apps/web/public/android-chrome-512x512.png
Binary file not shown.
Binary file modified apps/web/public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/web/public/comp-logo-black.png
Binary file not shown.
Binary file removed apps/web/public/comp-logo-white.png
Binary file not shown.
Binary file removed apps/web/public/favicon-16x16.png
Binary file not shown.
Binary file removed apps/web/public/favicon-32x32.png
Binary file not shown.
Binary file added apps/web/public/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/web/public/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions apps/web/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/web/public/fonts/GeneralSans-Variable.ttf
Binary file not shown.
Binary file not shown.
Binary file modified apps/web/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 21 additions & 1 deletion apps/web/public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
{
"name": "Comp AI",
"short_name": "Comp AI",
"icons": [
{
"src": "/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Binary file added apps/web/public/web-app-manifest-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/web/public/web-app-manifest-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 10 additions & 8 deletions apps/web/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
import { GeistMono } from "geist/font/mono";
import type { Metadata } from "next";
import { Geist } from "next/font/google";
import { Toaster } from "sonner";
import "@bubba/ui/globals.css";
import { Providers } from "@/app/providers";
import { env } from "@/env.mjs";
import { cn } from "@/lib/utils";
import { GoogleTagManager } from "@next/third-parties/google";

const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
import localFont from "next/font/local";

export const metadata: Metadata = {
title: "Comp AI",
description: "Automate SOC 2, ISO 27001 and GDPR compliance with AI.",
icons: {
icon: "/android-chrome-192x192.png",
icon: "/favicon-96x96.png",
},
};

const font = localFont({
src: "../../public/fonts/GeneralSans-Variable.ttf",
display: "swap",
variable: "--font-general-sans",
});

export const preferredRegion = ["auto"];

export default function RootLayout({
Expand All @@ -33,7 +35,7 @@ export default function RootLayout({
<body
className={cn(
"bg-background font-sans antialiased",
geistSans.variable,
`${GeistMono.variable} ${font.variable}`,
)}
>
<Providers attribute="class" defaultTheme="system" enableSystem>
Expand Down
Loading