mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-15 07:34:44 -04:00
😎 HTML Template
This commit is contained in:
parent
5e3349df30
commit
4e44cb47e0
1 changed files with 19 additions and 0 deletions
19
src/htmlTemplate.ts
Normal file
19
src/htmlTemplate.ts
Normal file
|
@ -0,0 +1,19 @@
|
|||
export const template = `
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Eggy Render Template</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="container">
|
||||
<svginjection>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
`;
|
||||
|
||||
export const generateRenderTemplate = (svg: string) =>
|
||||
template.replace("<svginjection>", svg);
|
Loading…
Add table
Add a link
Reference in a new issue