Skip to content

Commit

Permalink
first coommit
Browse files Browse the repository at this point in the history
  • Loading branch information
GianninaAnsaldo committed Jul 15, 2024
0 parents commit 6fdde2e
Show file tree
Hide file tree
Showing 17 changed files with 437 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Ricomida
39 changes: 39 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
* {
font-family: 'Cabin', 'sans-serif';
}

#navbar {
background-color: #373A3C;
color: var(--white);
}

#ricomida{
font-size: 37px;
}

.container {
font-family: 'Cabin', 'sans-serif';
color: #373A3C
}

#ingredientes {
color: #373A3C;
}

.newsletter {
background-color: #DC3545;
color: #fff;
}

.ricomida {
font-family: 'Lobster', 'sans-serif';
}

.btn {
border: #dddddd;
}

footer {
background-color: #373A3C;
color: #fff;
}
Binary file added assets/img/principal.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/recipe-card-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/recipe-card-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/recipe-card-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/slider-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/slider-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/slider-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/slider-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/slider-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/slider-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/slider-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/slider-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions assets/js/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
//tooltip y alerta
document.addEventListener('DOMContentLoaded', function(){
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl);
});
$("#enviarCorreo").click(function () {
alert("El correo fue enviado correctamente...");
});
});

//cambio color con dbclick
$(document).ready(function () {
$("#ingredientes").on("dblclick", function () {
$(this).css("color", "red");
});
});

$(document).ready(function () {
$("#preparacion").on("dblclick", function () {
$(this).css("color", "red");
});
});

//carrusel botones prev-next
$(document).ready(function () {
$('#customCarousel').carousel();

$('.prev-btn').on('click', function () {
$('#customCarousel').carousel('prev');
});

$('.next-btn').on('click', function () {
$('#customCarousel').carousel('next');
});
});

//cada card desaparece al hacer click en su titulo
$(document).ready(function () {
$("#cardTitle1").click(function () {
$(".card-text").toggle();
});
});


$(document).ready(function () {
$("#cardTitle2").click(function () {
$(".card-text").toggle();
});
});

$(document).ready(function () {
$("#cardTitle3").click(function () {
$(".card-text").toggle();
});
});
54 changes: 54 additions & 0 deletions assets/js/script.sj
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
document.addEventListener('DOMContentLoaded', function () {
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl);
});

$('#enviarCorreo').on('click', function() {
alert("El correo fue enviado correctamente...");
});
});

$(document).ready(function(){
$("#ingredientes").dblclick(function(){
$(this).hide('slow');
});

$("#ingredientes").click(function(){
$(this).css({
"color": "red",
"font-size": "2em"
});
});

$("#ingredientes").hover(function(){
$(this).html("Esto es un boton");
}, function() {
$(this).html("INGREDIENTES");
});
});

$(document).ready(function(){
$("#preparacion").dblclick(function(){
$(this).hide('slow');
});

$("#preparacion").click(function(){
$(this).css({
"color": "red",
"font-size": "2em"
});
});

$("#preparacion").hover(function(){
$(this).html("Esto es un boton");
}, function() {
$(this).html("PREPARACIÓN");
});
});

$(document).ready(function() {
$(".card-title").click(function() {
$(this).siblings(".card-text").toggle();
});
});
Loading

0 comments on commit 6fdde2e

Please sign in to comment.