Skip to content

Commit

Permalink
Added the Material 3 CDN.
Browse files Browse the repository at this point in the history
  • Loading branch information
StefiSzabo authored Sep 3, 2024
1 parent 9daf998 commit b8c8025
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,28 @@
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />

<meta
name="description"
content="Web site created using create-react-app"
/>

<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">

<script type="importmap">
{
"imports": {
"@material/web/": "https://esm.run/@material/web/"
}
}
</script>
<script type="module">
import '@material/web/all.js';
import {styles as typescaleStyles} from '@material/web/typography/md-typescale-style.js';

document.adoptedStyleSheets.push(typescaleStyles.styleSheet);
</script>
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
Expand All @@ -24,10 +41,10 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>The K-Pop Hub</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<noscript>You need to enable JavaScript to see this website.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
Expand Down

0 comments on commit b8c8025

Please sign in to comment.