Skip to content

Commit

Permalink
Merge pull request #3 from Racks-Labs/develop
Browse files Browse the repository at this point in the history
new branding
  • Loading branch information
yond1994 authored Jun 3, 2024
2 parents ff8f5ea + ac0fdb1 commit 120c2bb
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { NavigationLink } from "@/app/(app)/environments/[environmentId]/components/NavigationLink";
import { formbricksLogout } from "@/app/lib/formbricks";
import FBLogo from "@/images/formbricks-wordmark.svg";
// import FBLogo from "@/images/formbricks-wordmark.svg";
import {
ArrowUpRightIcon,
BlocksIcon,
Expand Down Expand Up @@ -227,7 +227,13 @@ export const MainNavigation = ({
"flex items-center justify-center transition-opacity duration-100",
isTextVisible ? "opacity-0" : "opacity-100"
)}>
<Image src={FBLogo} width={160} height={30} alt="Formbricks Logo" />
{/* <Image src={FBLogo} width={160} height={30} alt="Formbricks Logo" /> */}
<Image
src={"https://mrcrypto-sources.s3.eu-central-1.amazonaws.com/custom/noguesabogados.png"}
width={160}
height={30}
alt="Nogues Abogados Logo"
/>
</Link>
)}
<Button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const FileUploadSummary = ({
<a
href={fileUrl as string}
key={index}
download={fileName}
// download={fileName}
target="_blank"
rel="noopener noreferrer">
<div className="absolute right-0 top-0 m-2">
Expand Down
Binary file modified apps/web/app/favicon.ico
Binary file not shown.
6 changes: 3 additions & 3 deletions apps/web/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import "./globals.css";

export const metadata: Metadata = {
title: {
template: "%s | Formbricks",
default: "Formbricks",
template: "%s | Nogues Abogados",
default: "Formulario",
},
description: "Open-Source Survey Suite",
description: "Formulario de registro de NOGUÉS ABOGADOS expertos en derecho bancario",
};

const RootLayout = ({ children }: { children: React.ReactNode }) => {
Expand Down
31 changes: 17 additions & 14 deletions packages/email/components/general/EmailTemplate.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Body, Column, Container, Html, Img, Link, Row, Section, Tailwind } from "@react-email/components";
import { Body, Container, Html, Img, Link, Section, Tailwind } from "@react-email/components";
// import { Body, Column, Container, Html, Img, Link, Row, Section, Tailwind } from "@react-email/components";
import React, { Fragment } from "react";

interface EmailTemplateProps {
Expand All @@ -15,9 +16,11 @@ export const EmailTemplate = ({ content }: EmailTemplateProps) => (
fontFamily: "'Jost', 'Helvetica Neue', 'Segoe UI', 'Helvetica', 'sans-serif'",
}}>
<Section>
<Link href="https://formbricks.com?utm_source=email_header&utm_medium=email" target="_blank">
<Link
href="https://www.noguesabogados.com/?utm_source=email_header&utm_medium=email"
target="_blank">
<Img
src="https://s3.eu-central-1.amazonaws.com/listmonk-formbricks/Formbricks-Light-transparent.png"
src="https://mrcrypto-sources.s3.eu-central-1.amazonaws.com/custom/noguesabogados.png"
alt="Formbricks Logo"
className="mx-auto w-80"
/>
Expand All @@ -26,8 +29,8 @@ export const EmailTemplate = ({ content }: EmailTemplateProps) => (
<Container className="mx-auto my-8 max-w-xl bg-white p-4 text-left">{content}</Container>

<Section>
<Row>
<Column align="right" key="twitter">
{/* <Row> */}
{/* <Column align="right" key="twitter">
<Link target="_blank" href="https://twitter.com/formbricks">
<Img
title="Twitter"
Expand All @@ -36,8 +39,8 @@ export const EmailTemplate = ({ content }: EmailTemplateProps) => (
width="32"
/>
</Link>
</Column>
<Column align="center" className="w-20" key="github">
</Column> */}
{/* <Column align="center" className="w-20" key="github">
<Link target="_blank" href="https://formbricks.com/github">
<Img
title="GitHub"
Expand All @@ -46,8 +49,8 @@ export const EmailTemplate = ({ content }: EmailTemplateProps) => (
width="32"
/>
</Link>
</Column>
<Column align="left" key="discord">
</Column> */}
{/* <Column align="left" key="discord">
<Link target="_blank" href="https://formbricks.com/discord">
<Img
title="Discord"
Expand All @@ -56,13 +59,13 @@ export const EmailTemplate = ({ content }: EmailTemplateProps) => (
width="32"
/>
</Link>
</Column>
</Row>
</Column> */}
{/* </Row> */}
</Section>
<Section className="mt-4 text-center">
Formbricks {new Date().getFullYear()}. All rights reserved.
NOGUÉS ABOGADOS {new Date().getFullYear()}. All rights reserved.
<br />
<Link
{/* <Link
href="https://formbricks.com/imprint?utm_source=email_footer&utm_medium=email"
target="_blank">
Imprint
Expand All @@ -72,7 +75,7 @@ export const EmailTemplate = ({ content }: EmailTemplateProps) => (
href="https://formbricks.com/privacy-policy?utm_source=email_footer&utm_medium=email"
target="_blank">
Privacy Policy
</Link>
</Link> */}
</Section>
</Body>
</Fragment>
Expand Down
7 changes: 6 additions & 1 deletion packages/ui/FileUploadResponse/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ export const FileUploadResponse = ({ selected }: FileUploadResponseProps) => {

return (
<div className="relative m-2 ml-0 rounded-lg bg-slate-100">
<a href={fileUrl as string} key={index} download={fileName}>
<a
href={fileUrl as string}
key={index}
target="_blank"
// download={fileName}
>
<div className="absolute right-0 top-0 m-2">
<div className="flex h-8 w-8 items-center justify-center rounded-lg bg-slate-50 hover:bg-white">
<svg
Expand Down

0 comments on commit 120c2bb

Please sign in to comment.