Skip to content

Commit 043795d

Browse files
committed
Update welcome view
1 parent 257cc77 commit 043795d

7 files changed

Lines changed: 536 additions & 154 deletions

File tree

.env.example.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,10 @@
5656
"SMTP_TIMEOUT": 50,
5757

5858
"MAIL_FROM_EMAIL": "example@domain.com",
59-
"MAIL_FROM_NAME": "Bow Framework"
59+
"MAIL_FROM_NAME": "Bow Framework",
60+
61+
"VITE_APP_NAME": "Bow Application",
62+
"VITE_APP_URL": "http://localhost:5000",
63+
"VITE_API_URL": "http://localhost:5000/api",
64+
"VITE_APP_DEBUG": true
6065
}

public/img/logo.png

-15.3 KB
Binary file not shown.

public/img/logo.svg

Lines changed: 38 additions & 0 deletions
Loading

seeders/20251220174703-user-seeder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ public function run()
1010
$faker = FakerFactory::create();
1111

1212
foreach (range(1, 5) as $value) {
13-
$user = [
13+
$user = User::create([
1414
'name' => $faker->name,
1515
'description' => $faker->text(100),
1616
'email' => $faker->email,
1717
'password' => app_hash('password'),
1818
'created_at' => date('Y-m-d H:i:s'),
1919
'updated_at' => date('Y-m-d H:i:s'),
20-
];
20+
]);
2121

22-
User::create($user);
22+
$user->persist();
2323
}
2424
}
2525
}
Lines changed: 27 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,107 +1,54 @@
11
<!DOCTYPE html>
22
<html lang="fr">
33
<head>
4-
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
56
<meta name="csrf-token" content="{{ csrf_token() }}"/>
67
<link rel="icon" type="image/x-icon" href="/favicon.png"/>
7-
<link rel="shortcut icon" type="image/x-icon" href="/favicon.png">
8-
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;600&display=swap" rel="stylesheet">
9-
<title>%inject("title", "It's Worked")</title>
8+
<title>%inject("title", "Bow Framework")</title>
9+
<link rel="preconnect" href="https://fonts.bunny.net">
10+
<link href="https://fonts.bunny.net/css?family=inter:300,400,500,600,700" rel="stylesheet" />
1011
<style>
11-
* {
12+
*, *::before, *::after {
13+
box-sizing: border-box;
1214
margin: 0;
1315
padding: 0;
1416
}
1517
16-
html, body {
17-
width: 100%;
18-
height: 100%;
19-
font-size: 100%;
18+
:root {
19+
--bow-red: #e63946;
20+
--bow-red-dark: #c1121f;
21+
--bow-dark: #1d1d1d;
22+
--bow-darker: #141414;
23+
--bow-light: #f8f9fa;
24+
--bow-gray: #6c757d;
25+
--bow-border: #2d2d2d;
2026
}
2127
22-
body {
23-
font-family: 'Montserrat', sans-serif;
24-
color: #fff;
25-
background-color: #181818;
26-
}
27-
28-
#main {
29-
display: flex;
30-
flex-direction: column;
31-
position: relative;
32-
height: 100vh;
33-
width: 100vw;
34-
overflow: hidden;
35-
}
36-
37-
#main .banner {
38-
flex: 3;
39-
display: flex;
40-
flex-direction: column;
41-
align-items: center;
42-
justify-content: center;
43-
background-color: rgba(0, 0, 0, 0.05);
44-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
45-
color: white;
46-
}
47-
48-
.banner img {
49-
height: 80px;
50-
opacity: 0.5;
51-
}
52-
53-
.sub-banner {
54-
flex: 1;
55-
display: flex;
56-
flex-direction: row;
57-
align-items: center;
58-
justify-content: space-around;
59-
width: 100%;
28+
html {
29+
line-height: 1.6;
30+
scroll-behavior: smooth;
6031
}
6132
62-
.sub-banner a {
63-
flex: 0 0 120px;
64-
width: 120px;
65-
filter: grayscale(100%);
66-
margin-right: 40px;
67-
opacity: 0.3;
68-
text-align: center;
69-
}
70-
71-
.sub-banner a:hover {
72-
filter: unset;
73-
opacity: 0.8;
74-
}
75-
76-
.sub-banner a:first-child img{
77-
width: 60px;
78-
}
79-
80-
.sub-banner a > img {
81-
width: 100%;
82-
height: auto;
33+
body {
34+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
35+
background: var(--bow-darker);
36+
color: var(--bow-light);
37+
min-height: 100vh;
8338
}
8439
8540
a {
86-
color: #bd362f;
41+
color: var(--bow-red);
8742
text-decoration: none;
43+
transition: color 0.2s;
8844
}
8945
9046
a:hover {
91-
text-decoration: underline;
92-
}
93-
94-
h1 {
95-
color: white;
96-
font-size: 42px;
97-
font-weight: 600;
98-
line-height: 1.8;
47+
color: var(--bow-red-dark);
9948
}
10049
</style>
10150
</head>
10251
<body>
103-
<main id="main">
104-
%inject('content')
105-
</main>
52+
%inject('content')
10653
</body>
10754
</html>

0 commit comments

Comments
 (0)