mirror of
https://github.com/LJ5O/website.git
synced 2026-08-11 22:54:46 +02:00
Worked on contact page
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="intersection_div">
|
||||
<div class="intersection_content test">
|
||||
<h2 class="test">{{ props.text }}</h2>
|
||||
<RouterLink :to="buttonLink"><div class="button intersection_button_div test">
|
||||
<RouterLink :to="buttonLink" @click="goToTop"><div class="button intersection_button_div test">
|
||||
<p>{{buttonText}}</p>
|
||||
</div></RouterLink>
|
||||
</div>
|
||||
@@ -26,6 +26,10 @@ const props = defineProps({
|
||||
required: true
|
||||
}
|
||||
});
|
||||
|
||||
function goToTop(){
|
||||
window.scrollTo(0, 0);
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user