Skip to content

Commit bcb7311

Browse files
committed
we made some interesting changes here i think
1 parent 179e0cb commit bcb7311

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+623
-706
lines changed

Diff for: io/spa/resources/.babelrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"presets": [
3+
["@babel/preset-react", {
4+
"runtime": "automatic"
5+
}]
6+
]
7+
}

Diff for: io/spa/resources/.env

-2
This file was deleted.

Diff for: io/spa/resources/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
node_modules
22
.parcel-cache
33
dist
4-
oldguard
4+
package-lock.json

Diff for: io/spa/resources/.parcelrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "@parcel/config-default",
3+
"transformers": {
4+
"*.svg": ["@parcel/transformer-svgo", "@parcel/transformer-svg-react"]
5+
}
6+
}

Diff for: io/spa/resources/.supporting/exampleHEad.html

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<head>
2+
<meta charset="utf-8" />
3+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
4+
<meta name="keywords" content="HTML, CSS, JavaScript" />
5+
6+
<title>The old new thing</title>
7+
<meta name="description" content="The old new thing" />
8+
<meta name="author" content="Rawk" />
9+
10+
<meta property="og:type" content="website" />
11+
<meta property="og:title" content="The Old New Thing" />
12+
<meta property="og:description" content="The businesss card of today" />
13+
<meta
14+
property="og:image"
15+
content="https://devuniversity.github.io/dot/card.jpg"
16+
/>
17+
<meta property="og:url" content="https://devuniversity.github.io/dot/" />
18+
19+
<!-- twitter -->
20+
21+
<meta name="twitter:title" content="The Old New Thing" />
22+
<meta name="twitter:description" content="The businesss card of today" />
23+
<meta
24+
name="twitter:image"
25+
content="https://devuniversity.github.io/dot/card.jpg"
26+
/>
27+
<meta name="twitter:card" content="summary_large_image" />
28+
29+
<!-- fb analytics -->
30+
<meta property="fb:app_id" content="your_app_id" />
31+
32+
<!-- twitter analytics -->
33+
<meta name="twitter:site" content="@rawkthethinker" />
34+
35+
<!-- fb site name -->
36+
<meta property="og:site_name" content="The old new thing" />
37+
38+
<!-- twitter alt name -->
39+
40+
<meta name="twitter:image:alt" content="The business card of today" />
41+
42+
<meta name="og:image:alt" content="The business card of today" />
43+
44+
<!-- Redirect page after 3 seconds -->
45+
<meta http-equiv="refresh" content="url=https://rawk.sauveur.xyz" />
46+
47+
<link rel="stylesheet" href="../src/index.css" />
48+
</head

Diff for: io/spa/resources/.supporting/index.css

+77
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
2+
/* purgecss start ignore */
3+
@import url('/font/Noway/Noway Icons Webfont/Noway-Icons-webfont/stylesheet.css');
4+
@import url('/font/Stawford/Strawford Roman Webfont/stylesheet.css');
5+
@import url('/font/Stawford/Strawford Italic Webfont/stylesheet.css');
6+
7+
8+
a{
9+
font-family: 'Noway', sans-serif;
10+
}
11+
12+
@font-face {
13+
font-family: Noway;
14+
src: url('/font/Noway/Noway Roman Webfont/Noway-Bold-webfont/noway-bold-webfont.ttf');
15+
}
16+
17+
18+
.font-default-title{
19+
font-family: 'strawfordblack', sans-serif
20+
}
21+
.font-secondary-title{
22+
font-family: 'strawfordblack_italic',sans-serif;
23+
}
24+
25+
26+
.font-default-sub-title{
27+
font-family: 'strawfordbold', sans-serif
28+
}
29+
30+
.font-secondary-sub-title{
31+
font-family: 'strawfordbold_italic', sans-serif
32+
}
33+
34+
35+
.font-default-paragraph-bold{
36+
font-family: 'strawfordmedium', sans-serif
37+
}
38+
39+
40+
.font-default-regular{
41+
font-family: 'strawfordregular', sans-serif
42+
}
43+
44+
.font-default-italic{
45+
font-family: 'strawfordregular_italic', sans-serif
46+
47+
}
48+
49+
.font-default-paragraph{
50+
font-family: 'strawfordregular', sans-serif
51+
}
52+
53+
54+
.font-default-accent{
55+
font-family: 'Noway', sans-serif
56+
}
57+
58+
59+
/* Small (sm) */
60+
@media (min-width: 640px) { /* ... */ }
61+
62+
/* Medium (md) */
63+
@media (min-width: 768px) {
64+
65+
}
66+
67+
/* Large (lg) */
68+
@media (min-width: 1024px) {
69+
70+
71+
}
72+
73+
/* Extra Large (xl) */
74+
@media (min-width: 1280px) {
75+
76+
77+
}

Diff for: io/spa/resources/package.json

+12-6
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,35 @@
44
"description": "",
55
"scripts": {
66
"test": "echo \"Error: no test specified\" && exit 1",
7-
"start": "parcel serve ./pages/**/*.html",
8-
"build": "parcel build ./pages/index.html ./pages/**/*.html",
9-
"dev": "parcel watch ./pages/**/*.html"
7+
"start": "parcel serve ./pages/*.html ./pages/**/*.html ./pages/**/**/*.html",
8+
"build": "parcel build ./pages/*.html ./pages/**/*.html ./pages/**/**/*.html"
109
},
1110
"keywords": [],
1211
"author": "",
1312
"license": "ISC",
1413
"devDependencies": {
1514
"@babel/core": "^7.14.6",
15+
"@babel/preset-env": "^7.14.5",
16+
"@babel/preset-react": "^7.14.5",
17+
"@parcel/transformer-svgo": "latest",
18+
"@parcel/transformer-svg-react": "latest",
1619
"autoprefixer": "^10.2.6",
17-
"parcel": "^2.0.0-beta.3.1",
20+
"parcel": "^2.0.0-beta.2",
1821
"postcss": "^8.3.0",
1922
"postcss-custom-properties": "^11.0.0",
2023
"postcss-import": "^14.0.2",
2124
"postcss-url": "^10.1.3",
2225
"tailwindcss": "^2.1.4"
2326
},
2427
"dependencies": {
25-
"hello": "file:./src/pkg"
28+
"jsonwebtoken": "^8.5.1",
29+
"react": "^17.0.2",
30+
"react-dom": "^17.0.2"
2631
},
2732
"alias": {
2833
"api": "./api",
29-
"components": "./src/components"
34+
"components": "./src/components",
35+
"assets": "./src/assets"
3036
},
3137
"targets": {
3238
"app": {

Diff for: io/spa/resources/pages/404.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Error</title>
7+
<link rel="stylesheet" href="./index.css" type="text/css" />
8+
</head>
9+
<body>
10+
<div id="root"></div>
11+
<script src="../src/error/index.js"></script>
12+
</body>
13+
</html>

Diff for: io/spa/resources/pages/home/index.html

-18
This file was deleted.

Diff for: io/spa/resources/pages/index.css

+61-4
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,82 @@
1+
@import url('./font/Stawford/Strawford Roman Webfont/stylesheet.css');
2+
@import url('./font/Stawford/Strawford Italic Webfont/stylesheet.css');
3+
4+
15
@tailwind base;
26
@tailwind components;
37

48

5-
.hello {
69

7-
background-color: black;
10+
a{
11+
font-family: 'Noway', sans-serif;
12+
}
13+
14+
.font-default-title{
15+
font-family: 'strawfordblack', sans-serif
16+
}
17+
18+
.font-secondary-title{
19+
font-family: 'strawfordblack_italic',sans-serif;
20+
}
21+
22+
23+
.font-default-sub-title{
24+
font-family: 'strawfordbold', sans-serif
25+
}
26+
27+
.font-secondary-sub-title{
28+
font-family: 'strawfordbold_italic', sans-serif
29+
}
30+
31+
32+
.font-default-paragraph-bold{
33+
font-family: 'strawfordmedium', sans-serif
34+
}
35+
36+
37+
.font-default-regular{
38+
font-family: 'strawfordregular', sans-serif
39+
}
40+
41+
.font-default-italic{
42+
font-family: 'strawfordregular_italic', sans-serif
43+
44+
}
45+
46+
.font-default-paragraph{
47+
font-family: 'strawfordregular', sans-serif
848
}
949

1050

51+
.font-default-accent{
52+
font-family: 'Noway', sans-serif
53+
}
54+
55+
56+
1157

1258
@tailwind utilities;
1359

1460

1561
@layer components {
1662

63+
.hide-scrollbar{
64+
65+
scrollbar-width: none;
66+
}
67+
68+
.hide-scrollbar::-webkit-scrollbar {
69+
display: none;
70+
}
1771

72+
.btn{
73+
@apply w-full rounded bg-accent p-4 text-black
74+
}
75+
1876

1977

2078
.canvas_home {
2179
@apply w-screen h-full flex flex-col p-0;
2280
}
23-
24-
@import "./second/index.module.css";
81+
2582
}

Diff for: io/spa/resources/pages/index.html

+2-15
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,13 @@
22
<html>
33
<head>
44
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
56
<title>Index</title>
67

78
<link rel="stylesheet" href="./index.css" type="text/css" />
89
</head>
910
<body>
10-
<!-- <template id="nav">
11-
<div class="nav">
12-
<div class="w-1/2 flex text-black text-white">
13-
<slot name="title"> title</slot>
14-
</div>
15-
<div class="w-1/2 flex text-black text-white">
16-
<slot name="second"> title</slot>
17-
</div>
18-
</div>
19-
</template> -->
20-
21-
<nav-header data-title="Index">
22-
<span slot="title">hello world</span>
23-
<span id="click-here" slot="menu">click change</span>
24-
</nav-header>
11+
<div id="root"></div>
2512
<script src="../src/index.js"></script>
2613
</body>
2714
</html>

Diff for: io/spa/resources/pages/second/about.html

-14
This file was deleted.

Diff for: io/spa/resources/pages/second/index.html

-14
This file was deleted.

Diff for: io/spa/resources/pages/second/index.js

-17
This file was deleted.

0 commit comments

Comments
 (0)