first commit
This commit is contained in:
44
resources/views/ogimage.blade.php
Normal file
44
resources/views/ogimage.blade.php
Normal file
@@ -0,0 +1,44 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>OG image</title>
|
||||
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: "Mvaamu";
|
||||
src: url("/fonts/mv-aammu-fk.ttf");
|
||||
}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<div class="container mx-auto">
|
||||
<div class="bg-green-100 mt-6 rounded-lg py-6 flex items-center max-w-6xl max-h-lg">
|
||||
|
||||
<div class="flex flex-grow-0 justify-between">
|
||||
<div>
|
||||
<img class="h-4/5 w-4/5 max-w-4/5 max-h-4/5 min-h-4/5 min-w-4/5"
|
||||
src="{{$article->featured_image}}">
|
||||
</div>
|
||||
|
||||
<div class="ml-5 flex flex-col items-center">
|
||||
<h1 class="text-right text-4xl mb-2 mr-5" style="font-family: Mvaamu; direction:rtl;">
|
||||
{{$article->title}}
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user