-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from DREDGE-Mods/dev
Dev
- Loading branch information
Showing
9 changed files
with
124 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
<div class="d-flex justify-content-center text-white pb-2"> | ||
|
||
<div class="d-flex flex-column justify-content-center pe-2 text-center"> | ||
</br> | ||
<a href="/" class="link-light d-flex justify-content-center text-decoration-none"> | ||
<h2 class="chromatic-aberration">DREDGE Mods</h2> | ||
</a> | ||
<p class="bg-warning text-dark p-1 ps-4 pe-4 m-2 rounded text-white"> | ||
The DREDGE modding infrastructure is quite new - if anything breaks let us know in the <u><a href="https://discord.gg/qFqPuTUAmD" class="link-light">Discord server</a></u> | ||
</p> | ||
</div> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
export interface Props { | ||
mod: any; | ||
} | ||
const { mod: mod } = Astro.props; | ||
--- | ||
|
||
<div class="p-2 pb-1 card bg-secondary h-100"> | ||
<div class="d-flex flex-column text-center h-100"> | ||
<a href={"/mods/" + mod.name.toLowerCase().trim().split(" ").join("_")}><h5 class="text-center">{mod.name}</h5></a> | ||
{(mod.first_image != undefined) && | ||
<div class="pb-2"> | ||
<img class="w-75" src={mod.first_image}> | ||
</div> | ||
} | ||
<div class="flex-grow-1"></div> | ||
<div class="bg-black bg-opacity-25 rounded p-1"> | ||
<div style="height: 80px; max-height:80px; overflow: hidden; text-overflow:ellipsis; whitespace: nowrap" class="d-block align-text-top"> | ||
<p>{mod.description}</p> | ||
</div> | ||
<div class="opacity-50 "> | ||
<p class="mb-0"><i>By {mod.author} • {mod.downloads} downloads</i></p> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters