add homepage with styles

This commit is contained in:
albert 2024-11-07 17:47:14 +01:00
parent 6baa3231a6
commit 54a023c139
4 changed files with 136 additions and 1 deletions

89
resources/css/style.css Normal file
View File

@ -0,0 +1,89 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
display: flex;
flex-direction: column;
min-height: 100vh;
background-color: #f5f7fa;
color: #333;
}
header {
background-color: #4CAF50;
color: #fff;
padding: 1em;
text-align: center;
}
main {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
padding: 2em;
}
.cta, .about-us {
text-align: center;
max-width: 800px;
margin: 2em 0;
padding: 1em;
border-radius: 8px;
background-color: #ffffff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.cta h2, .about-us h2 {
font-size: 1.8em;
color: #4CAF50;
margin-bottom: 1em;
}
.cta p, .about-us p {
font-size: 1.1em;
color: #555;
margin: 1em 0;
}
.about-us h3 {
color: #007BFF;
font-size: 1.4em;
margin-top: 1em;
}
.about-us ul {
list-style-type: disc;
padding-left: 1.5em;
text-align: left;
margin-top: 0.5em;
}
.about-us ul li {
margin: 0.5em 0;
color: #333;
}
.btn {
display: inline-block;
padding: 0.7em 1.5em;
color: #fff;
background-color: #007BFF;
text-decoration: none;
border-radius: 5px;
font-size: 1em;
margin-top: 1em;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 1em;
font-size: 0.9em;
}

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return view('welcome');
return view('home');
});
Route::get('/dashboard', function () {

View File

@ -6,6 +6,7 @@ export default defineConfig({
laravel({
input: [
'resources/css/app.css',
'resources/css/style.css',
'resources/js/app.js',
],
refresh: true,