Skip to content

Commit

Permalink
Creating Screens
Browse files Browse the repository at this point in the history
  • Loading branch information
feliperl committed Aug 21, 2024
1 parent cf9624e commit 9020d5e
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 24 deletions.
File renamed without changes.
52 changes: 52 additions & 0 deletions static/index/styles css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
.custom-navbar-height .navbar-brand,
.custom-navbar-height .nav-link {
line-height: 40px;
}

h1 {
text-align: center;
padding: 30px;
color: white !important;
}

body,
html {
height: 100%;
margin: 0;
background-color: #161616 !important;
}

.navbar {
background-color: gray;
}

.container {
display: flex;
flex-direction: column;
justify-content: center;
min-height: 80vh;
}

.custom-navbar-height {
height: 80px;
}

.custom-navbar-height .navbar-brand,
.custom-navbar-height .nav-link {
line-height: 80px;
}

.card {
margin-bottom: 10px;
padding: 20px;
border-radius: 20px !important;
overflow: hidden;
padding: 50px;
}

.card-body {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
10 changes: 0 additions & 10 deletions static/styles.css

This file was deleted.

22 changes: 8 additions & 14 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../static/styles.css">
<link rel="stylesheet" href="../static/index/styles css/styles.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<title>Home</title>
</head>

<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark custom-navbar-height">
<nav class="navbar navbar-expand-lg navbar-dark bg-grey custom-navbar-height">
<div class="container-fluid">
<a class="navbar-brand" href="#">IA Testing</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
Expand All @@ -20,7 +20,7 @@
<div class="collapse navbar-collapse justify-content-end" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
<a class="nav-link active" aria-current="page" href="#">Projects</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Create Tests</a>
Expand All @@ -33,34 +33,28 @@
</div>
</nav>


<div class="container mt-5">
<h1>Bem-vindo ao seu site!</h1>
<h1>Welcome to IATesting!</h1>
<div class="row justify-content-center">
<div class="col-sm-6 col-md-4">
<div class="card mb-4">
<div class="card-body">
<h5 class="card-title">Create Test Cases</h5>
<p class="card-text">Com suporte a texto embaixo, que funciona como uma introdução a um conteúdo
adicional.</p>
<a href="#" class="btn btn-primary">Visitar</a>
<h5 class="card-title">Create Your Tests</h5>
<a href="#" class="btn btn-primary">Start Creating</a>
</div>
</div>
</div>
<div class="col-sm-6 col-md-4">
<div class="card mb-4">
<div class="card-body">
<h5 class="card-title">View Test Cases</h5>
<p class="card-text">Com suporte a texto embaixo, que funciona como uma introdução a um conteúdo
adicional.</p>
<a href="#" class="btn btn-primary">Visitar</a>
<h5 class="card-title">View Created Tests</h5>
<a href="#" class="btn btn-primary">View Tests</a>
</div>
</div>
</div>
</div>
</div>


<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</body>

Expand Down

0 comments on commit 9020d5e

Please sign in to comment.