Skip to content

Commit

Permalink
Update links
Browse files Browse the repository at this point in the history
  • Loading branch information
alissatroiano committed Aug 30, 2023
1 parent 645e26a commit 2f92fb3
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 16 deletions.
2 changes: 2 additions & 0 deletions home/static/home/css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ a#shopBtn {
display: inline-block;
}



a#createArt1:hover,
a#createArt:hover,
a#shopBtn:hover {
Expand Down
9 changes: 7 additions & 2 deletions hugo/templates/add_hugo.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ <h2 class="display-font text-center my-3 my-md-4">Create AI Art</h2>
];

var randomPrompt = prompts[Math.floor(Math.random() * prompts.length)];
document.getElementById('id_artwork_description').value = randomPrompt;
document.getElementById('id_artwork_description').value = randomPrompt;

updateCharCount(randomPrompt); // Update character count after setting the prompt
}

function validateForm() {
Expand All @@ -138,7 +140,10 @@ <h2 class="display-font text-center my-3 my-md-4">Create AI Art</h2>
document.getElementById('charCountValue').textContent = charCount;
});

generateRandomPrompt();
function updateCharCount(text) {
var charCount = text.length;
document.getElementById('charCountValue').textContent = charCount;
}
</script>

<script src="{% static 'hugo/js/loading.js' %}"></script>
Expand Down
Binary file added media/image_1693366572_xruzlf.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion profiles/templates/profiles/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h3 class="display-font fw-normal mb-0">
<a href="{% url 'delete_artwork' artwork.id %}" class="text-small text-danger">Delete</a>
</div>
<div class="col-4 text-end">
<a href="{% url 'add_artwork_to_store' artwork.id %}" class="text-small text-info">DONATE</a>
<a href="{% url 'add_artwork_to_store' artwork.id %}" class="text-small text-info">SELL</a>
</div>
</div>
</div>
Expand Down
47 changes: 34 additions & 13 deletions static/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -190,18 +190,18 @@ a.icon-link:hover,
}

.icon-main:hover {
color: #6a509a;
color: #4b1fa9;
}

hr {
width: 20px;
margin: 0px auto;
border-top: 3px solid #6a509a;
border-top: 3px solid #4b1fa9;
}

#divider {
width: 100%;
border-top: 1.5px solid #6a509a;
border-top: 1.5px solid #4b1fa9;
}

button,
Expand Down Expand Up @@ -236,7 +236,7 @@ button,
.btn-none {
background-color: transparent;
border: none;
color: #6a509a;
color: #867def;
}

.btn-none:hover {
Expand All @@ -252,7 +252,7 @@ input {
}

.bg-primary {
background-color: #6a509aa6!important;
background-color: #867def!important;
}

.overlay {
Expand Down Expand Up @@ -309,18 +309,24 @@ li.nav-item:hover {
.navbar-dark .navbar-nav .nav-link:hover .navbar-dark .navbar-nav .nav-link .nav-link.active:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
color: rgb(132, 116, 161);
color: 867def;
background-color: transparent;
}

a#logo {
font-family: 'Oswald', sans-serif;
font-weight: 200;
font-size: 1.5rem;
letter-spacing: 1.5px;
text-transform: uppercase;
color: #fafafa;
text-shadow: 4px 4px 8px #033030;
text-decoration: none;
background-image: linear-gradient( -225deg, rgba(79, 23, 209, 0.882)0%, #867def 29%, #4d2bc8 67%, #755cd2 100% );
background-size: auto auto;
background-clip: border-box;
background-size: 200% auto;
color: #fff;
background-clip: text;
text-fill-color: transparent;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: textclip 2s linear infinite;
display: inline-block;
font-size: 1.5rem;
}

a#logo:hover {
Expand Down Expand Up @@ -1093,6 +1099,21 @@ main {
.header-container {
padding-top: 100px;
}
a#logo {
text-decoration: none;
background-image: linear-gradient( -225deg, rgba(79, 23, 209, 0.882)0%, #867def 29%, #4d2bc8 67%, #755cd2 100% );
background-size: auto auto;
background-clip: border-box;
background-size: 200% auto;
color: #fff;
background-clip: text;
text-fill-color: transparent;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: textclip 2s linear infinite;
display: inline-block;
font-size: 2rem;
}
}

/* pad the top a bit when navbar is collapsed on mobile */
Expand Down

0 comments on commit 2f92fb3

Please sign in to comment.