Skip to content

Commit

Permalink
update copy
Browse files Browse the repository at this point in the history
  • Loading branch information
clementroche committed Feb 27, 2024
1 parent e0aa4d1 commit cfa87d7
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 1,802 deletions.
8 changes: 5 additions & 3 deletions website/components/custom-head/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function CustomHead({ title = '', description, image, keywords }) {
name="keywords"
content={keywords && keywords.length ? keywords.join(',') : keywords}
/>
<meta name="author" content="Studio Freight" />
<meta name="author" content="darkroom.engineering" />
<meta name="referrer" content="no-referrer" />
<meta name="format-detection" content="telephone=no" />
<meta name="geo.region" content="US" />
Expand Down Expand Up @@ -71,7 +71,9 @@ export function CustomHead({ title = '', description, image, keywords }) {
locale: 'en_US',
images: [
{
url: image ? image.url : 'https://lenis.studiofreight.com/og.png',
url: image
? image.url
: 'https://lenis.darkroom.engineering/og.png',
width: image ? image.width : 1200,
height: image ? image.height : 630,
alt: title,
Expand All @@ -82,7 +84,7 @@ export function CustomHead({ title = '', description, image, keywords }) {
site_name: '',
}}
twitter={{
handle: '@studiofreight',
handle: '@darkroomdevs',
cardType: 'summary_large_image',
}}
/>
Expand Down
4 changes: 2 additions & 2 deletions website/components/feature-cards/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ const cards = [
{
text: (
<>
Lightweight <br /> (under 3kb)
Lightweight <br /> (under 4kb)
</>
),
},
{ text: 'Made for 2022+' },
{ text: `Made for ${new Date().getFullYear()}+` },
{ text: 'Bring your own animation library' },
{
text: <>CONTROL THE SCROLL EASING DURATION</>,
Expand Down
26 changes: 10 additions & 16 deletions website/components/footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ export const Footer = () => {
Lenis is <br />
<span className="contrast">Open source</span>
</p>
<div className={s['shameless-plug']}>
{/* <div className={s['shameless-plug']}>
<p className="h4">Studio Freight</p>
<p className="p-s">
An independent creative <br /> studio built on principle
</p>
</div>
</div> */}
<p className={cn(s['last-line'], 'h1')}>
& open to <span className="hide-on-desktop">&nbsp;</span> features,{' '}
<br /> forks or prs &nbsp;
Expand All @@ -34,12 +34,12 @@ export const Footer = () => {
</Button>
</div>
<div className={cn(s.top, 'layout-block hide-on-desktop')}>
<div className={s['shameless-plug']}>
{/* <div className={s['shameless-plug']}>
<p className="h4">Studio Freight</p>
<p className="p-s">
An independent creative <br /> studio built on principle
</p>
</div>
</div> */}
<p className={cn(s['first-line'], 'h1')}>
Lenis is <br />
<span className="contrast">Open source</span>
Expand All @@ -50,34 +50,28 @@ export const Footer = () => {
<div className={s.links}>
<Link
className={cn(s.link, 'p-xs')}
href="https://twitter.com/studiofreight"
href="https://twitter.com/darkroomdevs"
>
Twitter
</Link>
<Link
className={cn(s.link, 'p-xs')}
href="https://github.com/studio-freight"
href="https://github.com/darkroomengineering"
>
GitHub
</Link>
<Link
className={cn(s.link, 'p-xs')}
href="https://awwwards.com/studiofreight"
href="https://darkroom.engineering/"
>
Awwwards
</Link>
<Link className={cn(s.link, 'p-xs')} href="https://studiofreight.com">
Website
</Link>
<Link
className={cn(s.link, 'p-xs')}
href="https://darkroom.studiofreight.com"
>
Darkroom
<Link className={cn(s.link, 'p-xs')} href="https://studiofreight.com">
Designed by Studio Freight
</Link>
</div>
<p className={cn('p-xs', s.tm)}>
<span>©</span> {new Date().getFullYear()} Studio Freight
<span>©</span> {new Date().getFullYear()} darkroom.engineering
</p>
<Button
className={cn(s.cta, 'hide-on-desktop')}
Expand Down
4 changes: 2 additions & 2 deletions website/content/projects.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export const projects = [
{
title: 'Wyre',
title: 'Deso',
source: 'Studio Freight',
href: 'https://sendwyre.com',
href: 'https://deso.com',
},
{
title: 'Lunchbox',
Expand Down
2 changes: 1 addition & 1 deletion website/next-sitemap.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
siteUrl: process.env.WEBSITE_URL || 'https://lenis.studiofreight.com',
siteUrl: process.env.WEBSITE_URL || 'https://lenis.darkroom.engineering/',
generateRobotsTxt: true, // (optional)
}
14 changes: 7 additions & 7 deletions website/pages/home/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { useEffect, useRef, useState } from 'react'
import { useIntersection, useWindowSize } from 'react-use'
import s from './home.module.scss'

const SFDR = dynamic(() => import('icons/sfdr.svg'), { ssr: false })
// const SFDR = dynamic(() => import('icons/sfdr.svg'), { ssr: false })
const GitHub = dynamic(() => import('icons/github.svg'), { ssr: false })

const Parallax = dynamic(
Expand Down Expand Up @@ -210,7 +210,7 @@ export default function Home() {
seo={{
title: 'Lenis – Get smooth or die trying',
description:
'A new smooth scroll library fresh out of the Studio Freight Darkroom',
'A smooth scroll library fresh out of the Studio Freight Darkroom',
}}
className={s.home}
>
Expand All @@ -221,14 +221,14 @@ export default function Home() {
<section className={s.hero}>
<div className="layout-grid-inner">
<Title className={s.title} />
<SFDR className={cn(s.icon, introOut && s.show)} />
{/* <SFDR className={cn(s.icon, introOut && s.show)} /> */}
<span className={cn(s.sub)}>
<HeroTextIn introOut={introOut}>
<h2 className={cn('h3', s.subtitle)}>Smooth Scroll</h2>
</HeroTextIn>
<HeroTextIn introOut={introOut}>
<h2 className={cn('p-xs', s.tm)}>
<span>©</span> {new Date().getFullYear()} Studio Freight
<span>©</span> {new Date().getFullYear()} darkroom.engineering
</h2>
</HeroTextIn>
</span>
Expand All @@ -254,13 +254,13 @@ export default function Home() {
</div>
<h1 className={cn(s.description, 'p-s')}>
<HeroTextIn introOut={introOut}>
<p className="p-s"> A new smooth scroll library</p>
<p className="p-s">A smooth scroll library</p>
</HeroTextIn>
<HeroTextIn introOut={introOut}>
<p className="p-s">fresh out of the</p>
<p className="p-s">fresh out of the darkroom</p>
</HeroTextIn>
<HeroTextIn introOut={introOut}>
<p className="p-s">Studio Freight Darkroom</p>
<p className="p-s">designed by Studio Freight</p>
</HeroTextIn>
</h1>
<Button
Expand Down
4 changes: 2 additions & 2 deletions website/public/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ User-agent: *
Allow: /

# Host
Host: https://lenis.studiofreight.com
Host: https://lenis.darkroom.engineering/

# Sitemaps
Sitemap: https://lenis.studiofreight.com/sitemap.xml
Sitemap: https://lenis.darkroom.engineering/sitemap.xml
5 changes: 3 additions & 2 deletions website/public/sitemap-0.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://lenis.studiofreight.com</loc><lastmod>2023-03-21T15:39:31.818Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://lenis.studiofreight.com/home</loc><lastmod>2023-03-21T15:39:31.818Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://lenis.darkroom.engineering</loc><lastmod>2024-02-27T15:39:15.623Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://lenis.darkroom.engineering/docs</loc><lastmod>2024-02-27T15:39:15.623Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://lenis.darkroom.engineering/home</loc><lastmod>2024-02-27T15:39:15.623Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
</urlset>
2 changes: 1 addition & 1 deletion website/public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap><loc>https://lenis.studiofreight.com/sitemap-0.xml</loc></sitemap>
<sitemap><loc>https://lenis.darkroom.engineering/sitemap-0.xml</loc></sitemap>
</sitemapindex>
Loading

1 comment on commit cfa87d7

@github-actions
Copy link

Choose a reason for hiding this comment

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

"⚡️ Lighthouse report for the changes in this commit:

🟠 Performance: 58
🟢 Accessibility: 96
🟢 Best practices: 100
🟠 SEO: 67
🔴 PWA: 33

Lighthouse ran on https://lenis-nltznuw27-studio-freight.vercel.app/"

Please sign in to comment.