Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Product
GitHub Copilot
Write better code with AI
GitHub Models
New
Manage and compare prompts
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Provide feedback
We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
{{ message }}
wikinder
/
data
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
Pull requests
Actions
Security
Insights
Additional navigation options
Collapse file tree
Files
main
Search this repository
src
components
Base.tsx
Data.tsx
Home.tsx
routes
index.tsx
.gitignore
LICENSE
package-lock.json
package.json
tsconfig.json
wrangler.toml
Breadcrumbs
data
/
src
/
components
/
Base.tsx
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
yuuki15
success
Jul 11, 2025
b165801
·
Jul 11, 2025
History
History
25 lines (24 loc) · 665 Bytes
Breadcrumbs
data
/
src
/
components
/
Base.tsx
Top
File metadata and controls
Code
Blame
25 lines (24 loc) · 665 Bytes
Raw
Copy raw file
Download raw file
You must be signed in to make or propose changes
More edit options
Open symbols panel
Edit and raw actions
export const Base = ({ title, canonicalUrl, style, heading = title, children, }) => ( <html lang="en-US"> <head> <meta charset="utf-8" /> <meta name="color-scheme" content="light dark" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>{title}</title> <link rel="canonical" href={canonicalUrl} /> <link rel="license" href="https://creativecommons.org/publicdomain/zero/1.0/" />{ style && <style dangerouslySetInnerHTML={{ __html: style }} /> } </head> <body> <h1 dangerouslySetInnerHTML={{ __html: heading }} /> {children} </body> </html> );
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
export
const
Base
=
(
{
title
,
canonicalUrl
,
style
,
heading
=
title
,
children
,
}
)
=>
(
<
html
lang
=
"en-US"
>
<
head
>
<
meta
charset
=
"utf-8"
/>
<
meta
name
=
"color-scheme"
content
=
"light dark"
/>
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1"
/>
<
title
>
{
title
}
</
title
>
<
link
rel
=
"canonical"
href
=
{
canonicalUrl
}
/>
<
link
rel
=
"license"
href
=
"https://creativecommons.org/publicdomain/zero/1.0/"
/>
{
style
&&
<
style
dangerouslySetInnerHTML
=
{
{
__html
:
style
}
}
/>
}
</
head
>
<
body
>
<
h1
dangerouslySetInnerHTML
=
{
{
__html
:
heading
}
}
/>
{
children
}
</
body
>
</
html
>
)
;
While the code is focused, press Alt+F1 for a menu of operations.