Idea by Benjamin Parry.
I’m in the market for a browser extension that launches the log out modal after 3 scrolls of my Twitter feed.
Paging @trysmudford
/** | |
* Copyright (c) Meta Platforms, Inc. and affiliates. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
* | |
* | |
*/ | |
import stylex from '@stylexjs/stylex'; |
Idea by Benjamin Parry.
I’m in the market for a browser extension that launches the log out modal after 3 scrolls of my Twitter feed.
Paging @trysmudford
<article> | |
<h2><sergey-slot name="title" /></h2> | |
<hr /> | |
<p>Written by <sergey-slot name="author" /></p> | |
</article> |
<sergey-import src="card"> | |
<sergey-template name="title">Blog post #1</sergey-template> | |
<sergey-template name="author"> | |
<a href="/trys">Trys</a> | |
</sergey-template> | |
</sergey-import> |
<sergey-import src="template"> | |
<p>Our page-specific content gets surrounded by the template automatically!</p> | |
</sergey-import> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<sergey-import src="head"> | |
<title>Title</title> | |
</sergey-import> | |
</head> | |
<body> |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<link rel="stylesheet" href="/assets/css/style.css" /> | |
<sergey-slot> | |
<title>My default title</title> | |
</sergey-slot> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<sergey-import src="head"> | |
<title>Our custom page title</title> | |
</sergey-import> | |
</head> |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<link rel="stylesheet" href="/assets/css/style.css" /> | |
<sergey-slot /> |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<link rel="stylesheet" href="/assets/css/style.css" /> | |
<title>Our website title</title> |