Skip to content

Commit

Permalink
Merge pull request #274 from jaredh159/og-image
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredh159 authored Dec 14, 2023
2 parents 68724f8 + f4e1a7d commit 32c9ea4
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions site/app/pages/docs/ios-17-cant-delete-messages-images.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: In iOS 17 Parents Can't Delete `#images` GIF search iMessage App
image: /gif-images-og-image.jpg
description:
'Sadly, iOS 17 removes a vital parental control: the ability for parents to disable
animated GIF searching through the #images iMessage app. This exposes children to
Expand Down
Binary file added site/app/public/gif-images-og-image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions storybook/src/site/GifAppInMessagesOgImage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import React from 'react';
import { Logo } from '@shared/components';
import BgImage from '../static/messages-screenshot.png';

const GifAppMessagesOgImage: React.FC = () => (
<section
style={{
backgroundImage: `url(${BgImage})`,
backgroundPosition: `-50px center`,
backgroundSize: `100%`,
/* textShadow: `0 15px 30px rgba(0,0,0,0.61), 0 5px 15px rgba(0,0,0,0.68)`, */
}}
className="w-[1200px] h-[627px] relative flex flex-col justify-between items-end p-12"
>
<div className="w-full h-full absolute left-0 top-0 bg-gradient-to-b from-white via-transparent to-white" />
<div className="relative text-6xl text-right flex flex-col">
<span className="font-medium">Can't delete</span>
<span className="text-[80px] font-black mt-4">#images app</span>
<span className="mt-8 font-medium">from Messages in</span>
<span className="mt-8 font-bold text-8xl">iOS 17</span>
</div>
<Logo className="relative" iconOnly size={100} />
</section>
);

export default GifAppMessagesOgImage;
2 changes: 2 additions & 0 deletions storybook/src/site/OgImage.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { Meta } from '@storybook/react';
import SiteOgImage from './SiteOgImage';
import LockdownGuideOgImage from './LockdownGuideOgImage';
import FiveThingsYouForgotOgImage from './FiveThingsYouForgotOgImage';
import GifAppMessagesOgImage from './GifAppInMessagesOgImage';

export default {
title: 'Site/OgImages', // eslint-disable-line
Expand All @@ -26,3 +27,4 @@ export default {
export const Site = () => <SiteOgImage />;
export const LockdownGuide = () => <LockdownGuideOgImage />;
export const FiveThingsYouForgot = () => <FiveThingsYouForgotOgImage />;
export const GifAppMessages = () => <GifAppMessagesOgImage />;
Binary file added storybook/src/static/messages-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 32c9ea4

Please sign in to comment.