feat: initial commit
This commit is contained in:
54
index.html
Normal file
54
index.html
Normal file
@ -0,0 +1,54 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>C Struct Practice</title>
|
||||
<script src="https://cdn.tailwindcss.com?plugins=typography"></script>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&family=Roboto:wght@400;500;700&family=Roboto+Mono:wght@400;500&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-tomorrow.min.css" />
|
||||
<style>
|
||||
.code-editor-textarea::placeholder {
|
||||
color: #64748b; /* slate-500 */
|
||||
opacity: 1; /* Firefox */
|
||||
-webkit-text-fill-color: #64748b;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
sans: ['Roboto', 'sans-serif'],
|
||||
serif: ['Roboto Slab', 'serif'],
|
||||
mono: ['Roboto Mono', 'monospace'],
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<script type="importmap">
|
||||
{
|
||||
"imports": {
|
||||
"react": "https://esm.sh/react@^19.1.0",
|
||||
"react/": "https://esm.sh/react@^19.1.0/",
|
||||
"react-dom/": "https://esm.sh/react-dom@^19.1.0/",
|
||||
"@google/genai": "https://esm.sh/@google/genai",
|
||||
"react-markdown": "https://esm.sh/react-markdown@9?bundle",
|
||||
"remark-gfm": "https://esm.sh/remark-gfm@4?bundle",
|
||||
"diff": "https://esm.sh/diff@5?bundle",
|
||||
"react-simple-code-editor": "https://esm.sh/react-simple-code-editor@0.13.1",
|
||||
"prismjs/": "https://esm.sh/prismjs@1.29.0/"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<link rel="stylesheet" href="/index.css">
|
||||
</head>
|
||||
<body class="bg-slate-100">
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/index.tsx"></script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user