Skip to content

Commit

Permalink
chore: Adopt spa-components
Browse files Browse the repository at this point in the history
  • Loading branch information
evancharlton committed Jan 3, 2025
1 parent 65a4bcd commit 9f41594
Show file tree
Hide file tree
Showing 61 changed files with 29,039 additions and 869 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ lerna-debug.log*

node_modules
dist
dev-dist
dist-ssr
*.local

Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "wordlist"]
path = wordlist
url = https://github.com/evancharlton/ordlist
[submodule "src/spa-components"]
path = src/spa-components
url = https://github.com/evancharlton/spa-components
3 changes: 3 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ find wordlist/ordle \
-exec cp -Rv {} public/ \; \
|| exit $?

rm -rf public/nb && cp -Rv public/nb-no public/nb
rm -rf public/nn && cp -Rv public/nn-no public/nn

npm ci
npm run build || exit $?

Expand Down
9 changes: 4 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<!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" />
<link rel="icon" href="/favicon.ico" />
<meta name="mobile-web-app-capable" content="yes" />
<link rel="icon" href="/logo-64.png" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
Expand All @@ -14,8 +14,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Wordle, på norsk" />
<link rel="apple-touch-icon" href="logo192.png" />
<link rel="manifest" href="manifest.json" />
<link rel="apple-touch-icon" href="/logo-192.png" />
<title>Ordle</title>
</head>
<body>
Expand Down
115 changes: 115 additions & 0 deletions logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
115 changes: 115 additions & 0 deletions ordle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9f41594

Please sign in to comment.