Skip to content

Commit

Permalink
Staging to Main-'Network' word removal from 'Protocol Labs Network' (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
NivedhaSV authored Dec 7, 2023
2 parents 18102d0 + 3766dc9 commit c17862a
Show file tree
Hide file tree
Showing 12 changed files with 67 additions and 21 deletions.
2 changes: 1 addition & 1 deletion apps/back-office/components/navbar/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function Navbar() {
<Link href={ROUTE_CONSTANTS.PENDING_LIST}>
<a className="on-focus relative left-[15px] top-[20px]">
<ProtocolLabsLogo
title="Protocol Labs Network Directory Beta Black Logo"
title="Protocol Labs Directory Beta Black Logo"
width="45"
height="40"
/>
Expand Down
4 changes: 2 additions & 2 deletions apps/web-api/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export async function bootstrap() {

// Swagger Documentation
const config = new DocumentBuilder()
.setTitle('Protocol Labs Network Directory API')
.setDescription('The Protocol Labs Network Directory API documentation')
.setTitle('Protocol Labs Directory API')
.setDescription('The Protocol Labs Directory API documentation')
.setVersion('1.0')
.addTag('PL')
.build();
Expand Down
4 changes: 2 additions & 2 deletions apps/web-app/components/layout/navbar/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { toast } from 'react-toastify';
import { JoinNetworkMenu } from './join-network-menu/join-network-menu';
import { Login } from './login-menu/login-menu';
import { Menu as AppMenu } from './menu/menu';
import { ReactComponent as ProtocolLabsLogo } from '/public/assets/images/Logo_PLN_directory.svg';
import { ReactComponent as ProtocolLabsLogo } from '/public/assets/images/pln_logo.svg';
import { PAGE_ROUTES, FATHOM_EVENTS, APP_ANALYTICS_EVENTS, LOGOUT_MSG } from '../../../constants';
import { createLogoutChannel } from '../../../utils/services/auth';
import useAppAnalytics from '../../../hooks/shared/use-app-analytics';
Expand Down Expand Up @@ -77,7 +77,7 @@ export function Navbar({ isUserLoggedIn = false, userInfo }: INavbarProbs) {
<Link href="/directory">
<a className="on-focus">
<ProtocolLabsLogo
title="Protocol Labs Network Directory Beta Black Logo"
title="Protocol Labs Directory Beta Black Logo"
width="212"
height="60"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
ENROLLMENT_TYPE,
FATHOM_EVENTS,
} from '../../../constants';
import { ReactComponent as TextImage } from '/public/assets/images/create-member.svg';
import { ReactComponent as TextImage } from '/public/assets/images/create_member.svg';
import { LoadingIndicator } from '../../shared/loading-indicator/loading-indicator';
import { toast } from 'react-toastify';
import useAppAnalytics from '../../../hooks/shared/use-app-analytics';
Expand Down
12 changes: 6 additions & 6 deletions apps/web-app/components/shared/error-boundary/ErrorBoundary.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import Image from 'next/image';
import Link from 'next/link'
import { ReactComponent as ProtocolLabsLogo } from '/public/assets/images/Logo_PLN_directory.svg';
import { ReactComponent as ProtocolLabsLogo } from '/public/assets/images/pln_logo.svg';
import { ReactComponent as Thunder } from '/public/assets/images/icons/thunder.svg';
import { ReactComponent as Error } from '/public/assets/images/icons/error.svg';
class ErrorBoundary extends React.Component<{}, { hasError: boolean }> {
Expand All @@ -27,7 +27,7 @@ class ErrorBoundary extends React.Component<{}, { hasError: boolean }> {
<Link href="/directory">
<a className="on-focus w-[150] mx-auto mb-7">
<ProtocolLabsLogo
title="Protocol Labs Network Directory Beta Black Logo"
title="Protocol Labs Directory Beta Black Logo"
width="212"
height="60"
/>
Expand All @@ -46,7 +46,7 @@ class ErrorBoundary extends React.Component<{}, { hasError: boolean }> {
</Image>
<Thunder className="absolute w-7 h-7 left-18 top-5"/>
<Error className="absolute w-6 h-6 right-20 top-20"/>
</div>
</div>
<div className='text-2xl text-center w-[350px] font-bold mt-5'>Oh snap! Something went wrong!</div>
<button
onClick={() => {
Expand All @@ -56,13 +56,13 @@ class ErrorBoundary extends React.Component<{}, { hasError: boolean }> {
> Back to home
</button>
</div>
</div>
</div>
);
}

// Return children components in case of no error
return this.props.children;
}
}

export default ErrorBoundary;
2 changes: 1 addition & 1 deletion apps/web-app/components/teams/team-enrollment/addteam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
ENROLLMENT_TYPE,
FATHOM_EVENTS,
} from '../../../constants';
import { ReactComponent as TextImage } from '/public/assets/images/create-team.svg';
import { ReactComponent as TextImage } from '/public/assets/images/create_team.svg';
import { LoadingIndicator } from '../../shared/loading-indicator/loading-indicator';
import { toast } from 'react-toastify';
import useAppAnalytics from '../../../hooks/shared/use-app-analytics';
Expand Down
17 changes: 17 additions & 0 deletions apps/web-app/public/assets/images/create_member.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions apps/web-app/public/assets/images/create_team.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions apps/web-app/public/assets/images/pln_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions apps/web-app/public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Protocol Labs Network Directory",
"description": "The Protocol Labs Network Directory helps network members orient themselves within the network by making it easy to learn about other teams and members, including their roles, capabilities, and experiences.",
"name": "Protocol Labs Directory",
"description": "The Protocol Labs Directory helps network members orient themselves within the network by making it easy to learn about other teams and members, including their roles, capabilities, and experiences.",
"short_name": "PLN Directory",
"lang": "en-US",
"start_url": "https://www.plnetwork.io",
Expand Down
12 changes: 6 additions & 6 deletions apps/web-app/seo.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const DEFAULT_SEO = {
url: siteUrl,
images: [
{
url: `${siteUrl}/assets/images/protocol-labs-network-portal-open-graph.jpg`,
url: `${siteUrl}/assets/images/protocol-labs-open-graph.jpg`,
width: 1280,
height: 640,
alt: 'Protocol Labs Network',
Expand Down Expand Up @@ -74,17 +74,17 @@ export const DEFAULT_SEO = {
};

export const DIRECTORY_SEO = {
titleTemplate: '%s | Protocol Labs Network Directory',
defaultTitle: 'Protocol Labs Network Directory',
titleTemplate: '%s | Protocol Labs Directory',
defaultTitle: 'Protocol Labs Directory',
description:
'The Protocol Labs Network Directory helps network members orient themselves within the network by making it easy to learn about other teams and members, including their roles, capabilities, and experiences.',
'The Protocol Labs Directory helps network members orient themselves within the network by making it easy to learn about other teams and members, including their roles, capabilities, and experiences.',
openGraph: {
images: [
{
url: `${siteUrl}/assets/images/protocol-labs-network-open-graph.jpg?v1`,
url: `${siteUrl}/assets/images/protocol-labs-open-graph.jpg?v1`,
width: 1280,
height: 640,
alt: 'Protocol Labs Network Directory',
alt: 'Protocol Labs Directory',
type: 'image/jpeg',
},
],
Expand Down

2 comments on commit c17862a

@vercel
Copy link

@vercel vercel bot commented on c17862a Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on c17862a Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.