Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 6 additions & 1 deletion .env.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,10 @@
"SMTP_TIMEOUT": 50,

"MAIL_FROM_EMAIL": "example@domain.com",
"MAIL_FROM_NAME": "Bow Framework"
"MAIL_FROM_NAME": "Bow Framework",

"VITE_APP_NAME": "Bow Application",
"VITE_APP_URL": "http://localhost:5000",
"VITE_API_URL": "http://localhost:5000/api",
"VITE_APP_DEBUG": true
}
14 changes: 14 additions & 0 deletions app/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace App;

use Bow\Router\Router;
use Bow\Scheduler\Scheduler;
use Bow\Configuration\Loader as ApplicationLoader;

class Kernel extends ApplicationLoader
Expand All @@ -20,6 +21,19 @@ public function events(): array
];
}

/**
* Define your scheduled tasks
*
* @param Scheduler $schedule
* @return void
*/
public function schedules(Scheduler $schedule): void
{
// Define your scheduled tasks here
// $schedule->command("cache:clear")->daily();
// $schedule->call(fn () => logger()->info("Heartbeat"))->everyMinute();
}

/**
* Define the app namespace
*
Expand Down
Binary file removed public/img/logo.png
Binary file not shown.
38 changes: 38 additions & 0 deletions public/img/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions seeders/20251220174703-user-seeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ public function run()
$faker = FakerFactory::create();

foreach (range(1, 5) as $value) {
$user = [
$user = User::create([
'name' => $faker->name,
'description' => $faker->text(100),
'email' => $faker->email,
'password' => app_hash('password'),
'created_at' => date('Y-m-d H:i:s'),
'updated_at' => date('Y-m-d H:i:s'),
];
]);

User::create($user);
$user->persist();
}
}
}
107 changes: 27 additions & 80 deletions templates/layouts/default.tintin.php
Original file line number Diff line number Diff line change
@@ -1,107 +1,54 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}"/>
<link rel="icon" type="image/x-icon" href="/favicon.png"/>
<link rel="shortcut icon" type="image/x-icon" href="/favicon.png">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;600&display=swap" rel="stylesheet">
<title>%inject("title", "It's Worked")</title>
<title>%inject("title", "Bow Framework")</title>
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=inter:300,400,500,600,700" rel="stylesheet" />
<style>
* {
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html, body {
width: 100%;
height: 100%;
font-size: 100%;
:root {
--bow-red: #e63946;
--bow-red-dark: #c1121f;
--bow-dark: #1d1d1d;
--bow-darker: #141414;
--bow-light: #f8f9fa;
--bow-gray: #6c757d;
--bow-border: #2d2d2d;
}

body {
font-family: 'Montserrat', sans-serif;
color: #fff;
background-color: #181818;
}

#main {
display: flex;
flex-direction: column;
position: relative;
height: 100vh;
width: 100vw;
overflow: hidden;
}

#main .banner {
flex: 3;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: rgba(0, 0, 0, 0.05);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
color: white;
}

.banner img {
height: 80px;
opacity: 0.5;
}

.sub-banner {
flex: 1;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
width: 100%;
html {
line-height: 1.6;
scroll-behavior: smooth;
}

.sub-banner a {
flex: 0 0 120px;
width: 120px;
filter: grayscale(100%);
margin-right: 40px;
opacity: 0.3;
text-align: center;
}

.sub-banner a:hover {
filter: unset;
opacity: 0.8;
}

.sub-banner a:first-child img{
width: 60px;
}

.sub-banner a > img {
width: 100%;
height: auto;
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
background: var(--bow-darker);
color: var(--bow-light);
min-height: 100vh;
}

a {
color: #bd362f;
color: var(--bow-red);
text-decoration: none;
transition: color 0.2s;
}

a:hover {
text-decoration: underline;
}

h1 {
color: white;
font-size: 42px;
font-weight: 600;
line-height: 1.8;
color: var(--bow-red-dark);
}
</style>
</head>
<body>
<main id="main">
%inject('content')
</main>
%inject('content')
</body>
</html>
Loading
Loading