Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Invite page MOD-579 #1500

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 98 additions & 0 deletions pages/invite/index.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
<template>
<div class="card-container">
<div class="header-container">
<div>Logo</div>
<div>
<Button color="primary" outline>
<DownloadIcon />
Get Modrinth App
</Button>
</div>
</div>
<div class="card-margin">
<Card>
<h1>Invite</h1>
TODO: Content
</Card>
</div>
<div>
<div class="warning-section">
<div>
<strong class="warning-heading">
<WarningIcon />
Only install instances from people you trust!
</strong>
<p>
This instance has not been reviewed by Modrinth staff and may include inappropriate or
malicious content.
</p>
</div>
<Button transparent>
<ReportIcon />
Report Instance
</Button>
</div>
</div>
</div>
</template>

<script setup lang="ts">
import { Button, Card, DownloadIcon, ReportIcon } from 'omorphia'

definePageMeta({
layout: false,
})
</script>

<style scoped lang="scss">
@import '~/assets/styles/global.scss';
@import 'omorphia/dist/style.css';

* {
--max-w-sm: 36rem;
}

.card-container {
display: flex;
flex-direction: column;
justify-content: center;
height: 100vh;

max-width: var(--max-w-sm);
margin-left: auto;
margin-right: auto;

padding: var(--gap-sm);
}

.card-margin {
margin-top: var(--gap-sm);
}

.header-container {
display: flex;
justify-content: space-between;
align-items: center;
}

.warning-section {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: var(--gap-sm);
text-align: center;
}

.warning-heading {
color: var(--color-special-red);
}

@media (max-width: 36rem) {
.header-container {
flex-direction: column;
align-items: flex-start;
gap: var(--gap-md);
}
}
</style>
Loading