-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
167 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
import {ImageResponse} from 'next/og' | ||
import colors from 'tailwindcss/colors' | ||
import tailwindConfig from '../tailwind.config' | ||
|
||
export const runtime = 'edge' | ||
export const contentType = 'image/png' | ||
export const size = {height: 32, width: 32} | ||
|
||
const orange = colors.orange[100] | ||
|
||
export default async function Icon() { | ||
return new ImageResponse( | ||
( | ||
<div | ||
style={{ | ||
alignItems: 'center', | ||
color: 'black', | ||
display: 'flex', | ||
height: '100%', | ||
justifyContent: 'center', | ||
position: 'relative', | ||
width: '100%' | ||
}}> | ||
<svg | ||
viewBox='0 0 500 500' | ||
fill='none' | ||
style={{ | ||
width: '100%', | ||
height: '100%' | ||
}} | ||
xmlns='http://www.w3.org/2000/svg'> | ||
<path | ||
d='M100 400H200V500H100V400Z' | ||
fill={orange} | ||
/> | ||
<path | ||
d='M300 400H400V500H300V400Z' | ||
fill={orange} | ||
/> | ||
<path | ||
d='M200 200H300V300H200V200Z' | ||
fill={orange} | ||
/> | ||
<path | ||
d='M100 200H200V300H100V200Z' | ||
fill={orange} | ||
/> | ||
<path | ||
d='M400 0H500V100H400V0Z' | ||
fill={orange} | ||
/> | ||
<path | ||
d='M0 0H100V100H0V0Z' | ||
fill={orange} | ||
/> | ||
<path | ||
d='M200 0H300V100H200V0Z' | ||
fill={orange} | ||
/> | ||
<path | ||
d='M300 100H400V200H300V100Z' | ||
fill={orange} | ||
/> | ||
<path | ||
d='M0 100H100V200H0V100Z' | ||
fill={orange} | ||
/> | ||
<path | ||
d='M400 300H500V400H400V300Z' | ||
fill={orange} | ||
/> | ||
<path | ||
d='M400 400H500V500H400V400Z' | ||
fill={orange} | ||
/> | ||
<path | ||
d='M0 400H100V500H0V400Z' | ||
fill={orange} | ||
/> | ||
<path | ||
d='M200 400H300V500H200V400Z' | ||
fill={orange} | ||
/> | ||
<path | ||
d='M200 300H300V400H200V300Z' | ||
fill={orange} | ||
/> | ||
<path | ||
d='M200 100H300V200H200V100Z' | ||
fill={orange} | ||
/> | ||
</svg> | ||
<div | ||
style={{ | ||
width: '30%', | ||
height: '30%', | ||
top: 0, | ||
left: `${~~(new Date().getHours() / 2.4)}0%`, // 😎 | ||
borderRadius: '100%', | ||
position: 'absolute', | ||
background: `linear-gradient(180deg, ${colors.orange[500]} 0%, ${tailwindConfig.theme.extend.colors.sunset} 100%)` | ||
}} | ||
/> | ||
</div> | ||
), | ||
{ | ||
...size | ||
} | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2874de9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
maige – ./
maige-rubriclabs.vercel.app
maige.rubric.sh
maige.app
maige-git-main-rubriclabs.vercel.app
triage.rubric.sh
www.maige.app