Skip to content

Commit f715eab

Browse files
committed
updated projectcard, fixed links, updated challenger page
- the large project card now doesn't require a banner - images will no longer shrink on resize in the project card
1 parent 0195bb9 commit f715eab

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

ciabi-web/src/components/ProjectCard.svelte

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@
1717
{description}
1818
</div> -->
1919

20+
{#if banner}
21+
2022
<div class="banner-container">
2123
<img src={banner} alt={name} />
2224
</div>
25+
{/if}
2326
<div class="card-main">
24-
<URLButton {url} {urlshort} {name} {img} />
27+
<URLButton {url} urlshort={urlshort} {name} {img} />
2528
<div class="contents">
2629
<div class="project-header">
2730
<h2 class="project-name">{name}</h2>
@@ -61,17 +64,19 @@
6164
}
6265
6366
.banner-container {
64-
width: 100%;
65-
height: 150px;
6667
display: flex;
6768
justify-content: center;
6869
align-items: center;
6970
overflow: hidden;
71+
height: 250px;
7072
}
7173
7274
.banner-container > img {
7375
object-fit: cover;
74-
width: 100%;
76+
flex-shrink: 0;
77+
min-width: 100%;
78+
min-height: 100%;
79+
height: auto;
7580
}
7681
7782
.project-header {

ciabi-web/src/routes/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import LoveNote from '$components/LoveNote.svelte';
2323
<h3>what projects</h3>
2424
<p>as of now, there are no projects but im working on it every day! </p>
2525
</section>
26-
<UrlButton url={"https://github.com/ciabidev/ciabidev.github.io"}, urlshort="github.com/ciabidev" name={"our repository"} img={"/logo/logo-padded.png"}/>
26+
<UrlButton url={"https://github.com/ciabidev"} urlshort="github.com/ciabidev" name={"The Team"} img={"/logo/logo-padded.png"}/>
2727
<p class="giantahhparagraph"><b>pick any menu item below ⏬</b></p>
2828
</div>
2929
</div>

ciabi-web/src/routes/challenger/+page.svelte

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<script>
22
import Markdown from '$components/Markdown.svelte';
33
import UrlButton from '$components/inputs-and-buttons/URLButton.svelte';
4+
45
const source = `
56
# What is AO Challenger?
67
@@ -43,15 +44,16 @@ To setup the bot for your server, simply use \`/setup\`
4344
4445
## Terms and Privacy
4546
46-
We do not store any data about you or your pings. Your data is your business and your business only (this is the statement on all of our projects).
47-
We are not responsible for rules broken using this bot.
48-
This bot is not affiliated with Arcane Odyssey or any of its subsidiaries.
49-
47+
[Terms, Ethics, Privacy](https://github.com/ciabidev/AO-Challenger/blob/main/TERMS.md)
48+
[Ban Appeals](https://github.com/ciabidev/AO-Challenger/blob/main/TERMS.md)
5049
## Why can't I add the bot / Why is it so slow?
5150
5251
Two possible reasons:
5352
1. I accidentally made it private
5453
2. For the bot to scale larger and be in more servers, I need to verify my identity. Unfortunately, I'm not old enough to verify my identity on Discord (18+)
54+
3. The Render free plan for the bot has expired
55+
56+
In case any of these have happened, message @wheatwhole_ on Discord IMMEDIATELY.
5557
`;
5658
5759
</script>

0 commit comments

Comments
 (0)