Skip to content

Commit

Permalink
reorder files & config
Browse files Browse the repository at this point in the history
  • Loading branch information
RedVortexDev committed Jun 12, 2024
1 parent 7856052 commit 67d2265
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 68 deletions.
55 changes: 8 additions & 47 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pages/color_palette.html → src/color_palette.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<meta content="Updated color palette with click to copy" name="description">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<link href="/src/style.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
<title>Red DF</title>
</head>
<body class="bg-gray-950 text-white">
Expand All @@ -19,10 +19,10 @@
<div class="flex flex-1 items-stretch justify-start">
<div class="ml-6">
<div class="flex space-x-4">
<a class="nav-item" href="/">Home</a>
<a class="nav-item" href="/public">Home</a>
<a class="nav-item nav-selected-item" href="#">Color Palette</a>
<a class="nav-item" href="#">Template Splitter</a>
<a class="nav-item" href="/pages/text_file_to_template.html">Text File to Template</a>
<a class="nav-item" href="/text_file_to_template">Text File to Template</a>
<a class="nav-item" href="#">Skin Pixel Art Generator</a>
</div>
</div>
Expand All @@ -47,7 +47,7 @@ <h2 id="palette-status">Click on a color to copy it</h2>

</main>

<script src="/src/main.js" type="module"></script>
<script src="main.js" type="module"></script>
<script type="module">
function hexToRgb(hex) {
const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
Expand Down
8 changes: 4 additions & 4 deletions index.html → src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<meta name="description" content="DF related utilities">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/src/style.css">
<link href="style.css" rel="stylesheet">
<title>Red DF</title>
</head>
<body class="bg-gray-950 text-white">
Expand All @@ -20,9 +20,9 @@
<div class="ml-6">
<div class="flex space-x-4">
<a href="#" class="nav-item nav-selected-item">Home</a>
<a class="nav-item" href="/pages/color_palette.html">Color Palette</a>
<a class="nav-item" href="/color_palette">Color Palette</a>
<a href="#" class="nav-item">Template Splitter</a>
<a class="nav-item" href="pages/text_file_to_template.html">Text File to Template</a>
<a class="nav-item" href="/text_file_to_template">Text File to Template</a>
<a href="#" class="nav-item">Skin Pixel Art Generator</a>
</div>
</div>
Expand All @@ -43,6 +43,6 @@ <h2>Check out the navigation bar!</h2>
installed</p>
</main>

<script type="module" src="/src/main.js"></script>
<script src="main.js" type="module"></script>
</body>
</html>
Loading

0 comments on commit 67d2265

Please sign in to comment.