Finish rough draft of website

Update the payment code so everything is working now

Improve DB structure

Improve design

Add API

Validate XMR Address upon registration

And Much More...

Still Need to work on:

- SEO
- Dropdown in menu (bug, not dropping down)
This commit is contained in:
dev 2021-08-06 13:06:07 -07:00
parent dbfda5cf9e
commit 821fb9b1ed
30 changed files with 186 additions and 261 deletions

View file

@ -23,8 +23,8 @@
.grid-memes .card-img-top {
max-width: 100% !important;
width: inherit;
max-height: 20vw;
object-fit: cover;
max-height: 250px;
}
#social-links li {

View file

@ -15,7 +15,7 @@
Rate Limit: 60 Request Per Hour
</p>
<code>
<pre class="bg-white p-1">{{ $data['memes_example'] }}</pre>
<pre class="bg-light p-1">{{ $data['memes_example'] }}</pre>
</code>
</div>
</div>

View file

@ -0,0 +1,22 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12 text-center">
<h1>FAQ</h1>
<hr>
<h3>I recieved a tip but I haven't been paid yet. When will I get paid?</h3>
<p>Payments usually go out a few times an hour however there can be a delay. Please submit an issue if you have not been paid after 24 hours.</p>
<hr>
<h3>Is this website created by Monero?</h3>
<p>Monero is a decentralized organization. This website was created by a developer who likes Monero and should not be seen as "official".</p>
<hr>
<h3>Someone stole my memes. What can I do?</h3>
<p>Please submit an issue with proof you are the creator of the meme.</p>
<hr>
<a class="btn btn-primary" href="https://repo.getmonero.org/AnonDev/xmrmemes/-/issues" target="_blank" role="button">Submit Issues on Gitlab</a>
</div>
</div>
</div>
@endsection

View file

@ -18,7 +18,7 @@
</div>
</div>
@if ($data['memes_pending'])
<div class="row row-cols-1 row-cols-md-4 grid-memes mt-3">
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-4 grid-memes mt-3">
@foreach ($data['memes_pending'] as $meme)
<div class="col mb-4">
<div class="card">

View file

@ -5,17 +5,12 @@
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="row row-cols-1 row-cols-md-4 grid-memes">
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-4 grid-memes">
@foreach ($data['memes'] as $meme)
<div class="col mb-4">
<div class="card">
<a href="{{ url('/meme/' . $meme->id) }}">
@if ($meme->image)
<img src="{{ url($meme->image) }}" class="card-img-top mx-auto d-block" alt="{{ $meme->title }} Meme">
@else
<img src="https://picsum.photos/200" class="card-img-top" alt="{{ $meme->title }} Meme">
@endif
<img src="{{ url($meme->image) }}" class="card-img-top mx-auto d-block" alt="{{ $meme->title }} Meme">
</a>
<div class="card-body">
<a href="{{ url('/meme/' . $meme->id) }}">
@ -29,11 +24,9 @@
</div>
@endforeach
</div>
<div class="d-flex justify-content-center w-100">
{{ $data['memes']->links() }}
</div>
</div>
</div>
</div>

View file

@ -138,9 +138,19 @@
</div>
<div class="col-6 col-md">
<ul class="list-unstyled">
<li><a href="#">Contact</a></li>
<li><a href="https://repo.getmonero.org/AnonDev/xmrmemes" target="_blank">Source Code</a></li>
</ul>
</div>
<div class="col-6 col-md">
<ul class="list-unstyled">
<li><a href="{{ route('contact') }}">Contact</a></li>
</ul>
</div>
</div>
<div class="row">
<div class="col-12 mt-4">
<a class="small text-muted" href="https://ccs.getmonero.org/" target="_blank">Proudly crowd funded by Monero's Community Crowdfunding System (CCS)</a>
</div>
</div>
</footer>

View file

@ -21,13 +21,9 @@
@endif
<p class="card-text">By: <a href="{{ url('/user/' . $data['meme']->user->id) }}">{{ $data['meme']->user->name }}</a></p>
</div>
@if ($data['meme']->image)
<a href="{{ url($data['meme']->image) }}">
<img src="{{ url($data['meme']->image) }}" class="card-img-top" alt="{{ $data['meme']->title }} Meme">
</a>
@else
<img src="https://picsum.photos/800" class="card-img-top" alt="{{ $data['meme']->title }} Meme">
@endif
<a href="{{ url($data['meme']->image) }}">
<img src="{{ url($data['meme']->image) }}" class="card-img-top" alt="{{ $data['meme']->title }} Meme">
</a>
<div class="card-body p-0 pt-3">
{!!html_entity_decode($data['share'])!!}
</div>
@ -42,7 +38,7 @@
<div class="col-md-12">
<h3 class="mt-4 mb-0">Tip The Creator</h3>
<img class="img-qr" src="{{ $data['qr'] }}" alt="QR code">
<p class="text-break">{{ $data['meme']->address->address }}</p>
<p class="text-break">{{ $data['meme']->address }}</p>
</div>
<div class="col-12 col-lg-6">
<h4 class="mt-4">Monero Tips Recieved</h4>
@ -62,7 +58,7 @@
<td>{{ $tip->amount_formatted }}</td>
<td>{{ $tip->created_at->diffForHumans() }}</td>
<td class="text-truncate">
<a href="https://testnet.xmrchain.net/tx/{{ $tip->txid }}" target="_blank">
<a href="{{ $tip->tx_url }}" target="_blank">
{{ $tip->txid }}
</a>
</td>
@ -91,7 +87,7 @@
<td>{{ $tip->amount_formatted }}</td>
<td>{{ $tip->created_at->diffForHumans() }}</td>
<td class="text-truncate">
<a href="https://testnet.xmrchain.net/tx/{{ $tip->txid }}" target="_blank">
<a href="{{ $tip->tx_url }}" target="_blank">
{{ $tip->txid }}
</a>
</td>

View file

@ -4,10 +4,10 @@
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<h3 class="text-center mb-4">Memes By {{ $data['user']->name }}</h3>
<h3 class="text-center mb-3">Memes By {{ $data['user']->name }}</h3>
<p class="text-center">Total Earnings: {{ $data['user']->tips_total }}</h3>
<p class="text-center">Total Memes: {{ $data['user']->memes_total }}</h3>
<div class="row row-cols-1 row-cols-md-4 grid-memes">
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-4 grid-memes">
@foreach ($data['memes'] as $meme)
<div class="col mb-4">
<div class="card">