slink/laravel/resources/views/profile.blade.php

26 lines
696 B
PHP
Raw Normal View History

2024-06-09 22:03:34 +00:00
@extends('default')
@section('title')
Profile
@endsection
@section('content')
<h1>Profile</h1>
<p>Username: <em>{{ Auth::user()->name }}</em></p>
<p>Email: <em>{{ Auth::user()->email }}</em></p>
<p>Created at: <em>{{ Auth::user()->created_at }}</em></p>
2024-06-10 22:29:22 +00:00
<table>
<tr>
<th>Link</th>
<th>Destination</th>
<th>Created at</th>
</tr>
@foreach ($shortlinks as $shortlink)
<tr>
<td>{{ $shortlink['shortid'] }}</td>
<td>{{ $shortlink['destination'] }}</td>
<td>{{ $shortlink['created_at'] }}</td>
</tr>
@endforeach
</table>
2024-06-09 22:03:34 +00:00
@endsection