refactor: reorganize assets to dist directory
Moved JavaScript and other assets to a 'dist' directory for better project structure. Updated script paths in views accordingly. This change helps in maintaining a cleaner and more organized directory structure, facilitating easier asset management and potentially improving build processes.
This commit is contained in:
parent
b3616ec183
commit
32e6a5e429
3 changed files with 5 additions and 3 deletions
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -1 +1 @@
|
|||
public/js/webtorrent.min.js linguist-vendored
|
||||
public/dist/** linguist-vendored
|
||||
|
|
|
@ -3,13 +3,15 @@
|
|||
<head>
|
||||
<title>Transfer.coffee</title>
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<script src="/js/webtorrent.min.js"></script>
|
||||
<script src="dist/js/webtorrent.min.js"></script>
|
||||
<link rel="icon" type="image/png" href="/img/logo.png" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header>
|
||||
<a href="/" class="home"><img src="/img/logo.png" alt="Transfer.coffee Logo" class="logo" /></a>
|
||||
<a href="/" class="home"
|
||||
><img src="/img/logo.png" alt="Transfer.coffee Logo" class="logo"
|
||||
/></a>
|
||||
<a href="/"><h1>Transfer.coffee</h1></a>
|
||||
</header>
|
||||
<div class="section" id="intro">
|
||||
|
|
Loading…
Reference in a new issue