Skip to content

Commit a5077b3

Browse files
committed
feat: webpack->vite, contentful-client, package updates, dynamic page layout
1 parent 09b206c commit a5077b3

26 files changed

+2778
-33405
lines changed

babel.config.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

index.html

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
1-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>RoboCon</title><meta name="description" content="Automation testing community event - Online and IRL!"><meta name="theme-color" content="#000000"><meta property="og:type" content="website"><meta name="image" property="og:image" content="https://robocon.io/dist/img/social_image.png"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content="@robotframework"><meta name="twitter:title" content="RoboCon"><meta name="twitter:description" content="Automation testing community event - Online and IRL!"><meta name="twitter:image" content="https://robocon.io/dist/img/social_image.png"><link href="dist/fonts/RBCN23.woff2" rel="preload" as="font" crossorigin=""><link href="dist/fonts/CourierCode-Roman.woff2" rel="preload" as="font" crossorigin=""><!--[if IE]><link rel="icon" href="dist/favicon.ico"><![endif]--><script defer data-domain="robocon.io" src="https://plausible.io/js/plausible.outbound-links.js"></script><script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script><title>robot-framework</title><script>// Single Page Apps for GitHub Pages
2-
// MIT License
3-
// https://github.com/rafgraph/spa-github-pages
4-
// This script checks to see if a redirect is present in the query string,
5-
// converts it back into the correct url and adds it to the
6-
// browser's history using window.history.replaceState(...),
7-
// which won't cause the browser to attempt to load the new url.
8-
// When the single page app is loaded further down in this file,
9-
// the correct url will be waiting in the browser's history for
10-
// the single page app to route accordingly.
11-
(function(l) {
12-
if (l.search[1] === '/' ) {
13-
var decoded = l.search.slice(1).split('&').map(function(s) {
14-
return s.replace(/~and~/g, '&')
15-
}).join('?');
16-
window.history.replaceState(null, null,
17-
l.pathname.slice(0, -1) + decoded + l.hash
18-
);
19-
}
20-
}(window.location))</script><link href="dist/css/app.385273e2.css" rel="preload" as="style"><link href="dist/js/app.f23d48f9.js" rel="preload" as="script"><link href="dist/js/chunk-vendors.626679d7.js" rel="preload" as="script"><link href="dist/css/app.385273e2.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="dist/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="dist/img/icons/favicon-16x16.png"><link rel="manifest" href="dist/manifest.json"><meta name="theme-color" content="#4DBA87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="robot-framework"><link rel="apple-touch-icon" href="dist/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="dist/img/icons/safari-pinned-tab.svg" color="#4DBA87"><meta name="msapplication-TileImage" content="dist/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but robot-framework doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="dist/js/chunk-vendors.626679d7.js"></script><script src="dist/js/app.f23d48f9.js"></script></body></html>
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" href="/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Vite App</title>
8+
</head>
9+
<body>
10+
<div id="app"></div>
11+
<script type="module" src="/src/main.js"></script>
12+
</body>
13+
</html>

index_old.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>RoboCon</title><meta name="description" content="Automation testing community event - Online and IRL!"><meta name="theme-color" content="#000000"><meta property="og:type" content="website"><meta name="image" property="og:image" content="https://robocon.io/dist/img/social_image.png"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content="@robotframework"><meta name="twitter:title" content="RoboCon"><meta name="twitter:description" content="Automation testing community event - Online and IRL!"><meta name="twitter:image" content="https://robocon.io/dist/img/social_image.png"><link href="dist/fonts/RBCN23.woff2" rel="preload" as="font" crossorigin=""><link href="dist/fonts/CourierCode-Roman.woff2" rel="preload" as="font" crossorigin=""><!--[if IE]><link rel="icon" href="dist/favicon.ico"><![endif]--><script defer data-domain="robocon.io" src="https://plausible.io/js/plausible.outbound-links.js"></script><script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script><title>robot-framework</title><script>// Single Page Apps for GitHub Pages
2+
// MIT License
3+
// https://github.com/rafgraph/spa-github-pages
4+
// This script checks to see if a redirect is present in the query string,
5+
// converts it back into the correct url and adds it to the
6+
// browser's history using window.history.replaceState(...),
7+
// which won't cause the browser to attempt to load the new url.
8+
// When the single page app is loaded further down in this file,
9+
// the correct url will be waiting in the browser's history for
10+
// the single page app to route accordingly.
11+
(function(l) {
12+
if (l.search[1] === '/' ) {
13+
var decoded = l.search.slice(1).split('&').map(function(s) {
14+
return s.replace(/~and~/g, '&')
15+
}).join('?');
16+
window.history.replaceState(null, null,
17+
l.pathname.slice(0, -1) + decoded + l.hash
18+
);
19+
}
20+
}(window.location))</script><link href="dist/css/app.b8366765.css" rel="preload" as="style"><link href="dist/js/app.740b37d2.js" rel="preload" as="script"><link href="dist/js/chunk-vendors.626679d7.js" rel="preload" as="script"><link href="dist/css/app.b8366765.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="dist/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="dist/img/icons/favicon-16x16.png"><link rel="manifest" href="dist/manifest.json"><meta name="theme-color" content="#4DBA87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="robot-framework"><link rel="apple-touch-icon" href="dist/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="dist/img/icons/safari-pinned-tab.svg" color="#4DBA87"><meta name="msapplication-TileImage" content="dist/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but robot-framework doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="dist/js/chunk-vendors.626679d7.js"></script><script src="dist/js/app.740b37d2.js"></script></body></html>

0 commit comments

Comments
 (0)