Skip to content

Commit

Permalink
chore(branding): update logos on all application
Browse files Browse the repository at this point in the history
  • Loading branch information
CruuzAzul committed Oct 3, 2023
1 parent 91debe0 commit cdb2155
Show file tree
Hide file tree
Showing 15 changed files with 351 additions and 92 deletions.
4 changes: 3 additions & 1 deletion __test__/app/sidebarNav.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ describe('<SidebarNav />', () => {
const sidebar = screen.getByRole('region', {
name: 'sidebar',
});
const logo = screen.getByTitle('Shortvid.io Logo').parentNode;
const logo = screen.getByRole('img', {
name: 'Shortvid.io logo',
});
const contributingLink = screen.getByRole('link', {
name: 'Contributing',
});
Expand Down
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const metadata = {
description:
'This application is developed and maintained by the volunteer organizers of the Lyon JS Meetup. It aims to facilitate the generation of video for the social networks of the association.',
icons: {
icon: '/branding/monogram-white.svg',
icon: '/branding/monogram.svg',
},
openGraph: {
type: 'website',
Expand Down
93 changes: 93 additions & 0 deletions public/branding/full-logo-with-mono-vertical.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
93 changes: 93 additions & 0 deletions public/branding/full-logo-with-mono.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 78 additions & 0 deletions public/branding/full-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 0 additions & 16 deletions public/branding/monogram-white.svg

This file was deleted.

39 changes: 39 additions & 0 deletions public/branding/monogram.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 modified public/branding/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 0 additions & 51 deletions src/app/Logo.tsx

This file was deleted.

10 changes: 8 additions & 2 deletions src/app/components/landingPage/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import Image from 'next/image';

import {Logo} from '../../Logo';
import {PoweredByVercel} from '../../PoweredByVercel';
import {SwitchThemeButtons} from '../../SwitchThemeButtons';

Expand All @@ -9,7 +9,13 @@ import styles from '../../../../styles/app/layout/footer.module.css';
export const Footer = () => {
return (
<footer className={styles.footer}>
<Logo className={styles.footerLogo} />
<Image
src="/branding/monogram.svg"
alt="Logo"
width={70}
height={70}
className={styles.footerLogo}
/>
<div className={styles.bottomBar}>
<a
href="https://vercel.com?utm_source=lyonjs&utm_campaign=oss"
Expand Down
7 changes: 7 additions & 0 deletions src/app/components/landingPage/Hero.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Image from 'next/image';
import Link from 'next/link';

import buttonStyles from '../../../../styles/app/common/buttons.module.css';
Expand All @@ -6,6 +7,12 @@ import styles from '../../../../styles/app/layout/landing/hero.module.css';
export const Hero = () => {
return (
<section className={styles.hero}>
<Image
src="/branding/full-logo-with-mono-vertical.svg"
alt="Shortvid.io"
width={200}
height={150}
/>
<h1>Simplify your social media communications</h1>
<h2>
Choose among various templates to customise with your assets and
Expand Down
26 changes: 16 additions & 10 deletions src/app/components/sidebar/navigation/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
import {ReactNode} from 'react';
import {MuseoModerno} from 'next/font/google';
import Image from 'next/image';
import Link from 'next/link';

import {Logo} from '../../../Logo';

import styles from '../../../../../styles/app/components/sidebar/sidebar.module.css';

const wordmarkFont = MuseoModerno({
weight: '900',
subsets: ['latin'],
});

export const Header: React.FC<{
expanded: boolean;
className?: string;
Expand All @@ -20,8 +13,21 @@ export const Header: React.FC<{
<header className={className}>
<nav>
<Link href="/" className={styles.logoLink}>
<Logo />
{expanded && <h2 className={wordmarkFont.className}>Shortvid.io</h2>}
{expanded ? (
<Image
src="/branding/full-logo.svg"
alt="Shortvid.io logo"
width={170}
height={150}
/>
) : (
<Image
src="/branding/monogram.svg"
alt="Shortvid.io monogram"
width={70}
height={70}
/>
)}
</Link>
{children}
</nav>
Expand Down
2 changes: 1 addition & 1 deletion styles/app/layout/footer.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
top: -20px;
background: var(--color-background);
padding-inline: 20px;
width: 60px;
width: 80px;
}

.vercelLight {
Expand Down
17 changes: 12 additions & 5 deletions styles/app/layout/landing/hero.module.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
.hero {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 80px 10px;

h1 {
& img {
padding-bottom: 5rem;
}

& h1 {
max-width: 700px;
font-size: 3.5rem;
font-weight: 700;
font-weight: 900;
line-height: 1.2;
margin: 0 auto 40px;
}

h2 {
& h2 {
font-size: 1.3rem;
font-weight: 300;
margin-bottom: 80px;
Expand All @@ -32,11 +39,11 @@

@media screen and (max-width: 570px) {
.hero {
h1 {
& h1 {
font-size: 2.5rem;
}

h2 {
& h2 {
font-size: 1rem;
}
}
Expand Down
5 changes: 0 additions & 5 deletions styles/app/layout/logo.module.css

This file was deleted.

0 comments on commit cdb2155

Please sign in to comment.