Compare commits
2 Commits
b9d2e57d5d
...
f6daba165f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f6daba165f | ||
|
|
199676800d |
Binary file not shown.
@@ -6,7 +6,7 @@
|
|||||||
<!-- Hero -->
|
<!-- Hero -->
|
||||||
<section class="text-center py-20 bg-gradient-to-br from-orange-500/20 via-rose-500/10 to-fuchsia-500/10 text-white shadow-inner">
|
<section class="text-center py-20 bg-gradient-to-br from-orange-500/20 via-rose-500/10 to-fuchsia-500/10 text-white shadow-inner">
|
||||||
<h1 class="text-5xl font-extrabold mb-4">Contact Me</h1>
|
<h1 class="text-5xl font-extrabold mb-4">Contact Me</h1>
|
||||||
<p class="text-lg opacity-90">Here’s my professional contact card — let’s connect!</p>
|
<p class="text-lg opacity-90">Here’s my contact card — let’s connect!</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- vCard Section -->
|
<!-- vCard Section -->
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
<!-- Avatar / Photo -->
|
<!-- Avatar / Photo -->
|
||||||
<div class="flex-shrink-0">
|
<div class="flex-shrink-0">
|
||||||
<img src="{{ url_for('static', filename='Headshot.jpg') }}" alt="{{ CONTACT.name }}"
|
<img src="{{ url_for('static', filename='Headshot.jpeg') }}" alt="{{ CONTACT.name }}"
|
||||||
class="w-40 h-40 rounded-full border-4 border-[rgb(var(--accent))] shadow-glass object-cover">
|
class="w-40 h-40 rounded-full border-4 border-[rgb(var(--accent))] shadow-glass object-cover">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
<!-- Content -->
|
<!-- Content -->
|
||||||
<div>
|
<div>
|
||||||
<label for="content" class="block font-semibold mb-1">Post Content</label>
|
<label for="content" class="block font-semibold mb-1">Post Content</label>
|
||||||
<textarea id="content" name="content" required
|
<textarea id="content" name="content"
|
||||||
class="text-black bg-white w-full border border-gray-300 rounded px-4 py-2 leading-relaxed text-base focus:ring-2 focus:ring-orange-400 focus:outline-none resize-none overflow-hidden"
|
class="text-black bg-white w-full border border-gray-300 rounded px-4 py-2 leading-relaxed text-base focus:ring-2 focus:ring-orange-400 focus:outline-none resize-none overflow-hidden"
|
||||||
rows="1"></textarea>
|
rows="1"></textarea>
|
||||||
</div>
|
</div>
|
||||||
@@ -77,12 +77,15 @@
|
|||||||
|
|
||||||
<script src="https://unpkg.com/easymde/dist/easymde.min.js"></script>
|
<script src="https://unpkg.com/easymde/dist/easymde.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
new EasyMDE({
|
const easyMDE = new EasyMDE({
|
||||||
element: document.getElementById('content'),
|
element: document.getElementById('content'),
|
||||||
spellChecker: false,
|
spellChecker: false,
|
||||||
autosave: { enabled: true, uniqueId: 'new_blog' },
|
autosave: { enabled: true, uniqueId: 'new_blog' },
|
||||||
toolbar: ['bold','italic','heading','|','quote','unordered-list','ordered-list','|','link','image','|','preview','side-by-side','fullscreen','|','guide'],
|
toolbar: ['bold','italic','heading','|','quote','unordered-list','ordered-list','|','link','image','|','preview','side-by-side','fullscreen','|','guide'],
|
||||||
});
|
});
|
||||||
|
document.querySelector('form').addEventListener('submit', function() {
|
||||||
|
easyMDE.codemirror.save();
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
<!-- Content -->
|
<!-- Content -->
|
||||||
<div>
|
<div>
|
||||||
<label for="content" class="block font-semibold mb-1">Post Content</label>
|
<label for="content" class="block font-semibold mb-1">Post Content</label>
|
||||||
<textarea id="content" name="content" required
|
<textarea id="content" name="content"
|
||||||
class="text-black bg-white w-full border border-gray-300 rounded px-4 py-2 leading-relaxed text-base focus:ring-2 focus:ring-orange-400 focus:outline-none resize-none overflow-hidden"
|
class="text-black bg-white w-full border border-gray-300 rounded px-4 py-2 leading-relaxed text-base focus:ring-2 focus:ring-orange-400 focus:outline-none resize-none overflow-hidden"
|
||||||
rows="1"></textarea>
|
rows="1"></textarea>
|
||||||
</div>
|
</div>
|
||||||
@@ -76,12 +76,15 @@
|
|||||||
|
|
||||||
<script src="https://unpkg.com/easymde/dist/easymde.min.js"></script>
|
<script src="https://unpkg.com/easymde/dist/easymde.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
new EasyMDE({
|
const easyMDE = new EasyMDE({
|
||||||
element: document.getElementById('content'),
|
element: document.getElementById('content'),
|
||||||
spellChecker: false,
|
spellChecker: false,
|
||||||
autosave: { enabled: true, uniqueId: 'new_project' },
|
autosave: { enabled: true, uniqueId: 'new_project' },
|
||||||
toolbar: ['bold','italic','heading','|','quote','unordered-list','ordered-list','|','link','image','|','preview','side-by-side','fullscreen','|','guide'],
|
toolbar: ['bold','italic','heading','|','quote','unordered-list','ordered-list','|','link','image','|','preview','side-by-side','fullscreen','|','guide'],
|
||||||
});
|
});
|
||||||
|
document.querySelector('form').addEventListener('submit', function() {
|
||||||
|
easyMDE.codemirror.save();
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user