-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: style docs feedback widget (#8789)
- Loading branch information
1 parent
21b3400
commit 8023dc0
Showing
7 changed files
with
177 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
.feedbackWrapper { | ||
display: flex; | ||
} | ||
|
||
.feedbackWidget { | ||
min-height: 64px; | ||
margin: 15px auto; | ||
padding: 10px 20px; | ||
border: var(--ifm-hr-border-color) 1px solid; | ||
border-radius: 32px; | ||
text-align: center; | ||
display: flex; | ||
justify-content: center; | ||
flex-direction: column; | ||
} | ||
|
||
.feedbackButtons { | ||
strong { | ||
margin-right: 4px; | ||
} | ||
|
||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 1rem; | ||
} | ||
|
||
.feedbackForm { | ||
margin: 1rem 0; | ||
display: flex; | ||
flex-direction: column; | ||
width: 100%; | ||
gap: 0.8rem; | ||
button { | ||
margin-left: auto; | ||
} | ||
} | ||
|
||
.feedbackText { | ||
width: 100%; | ||
border: var(--ifm-hr-border-color) 1px solid; | ||
border-radius: 0.4rem; | ||
padding: 0.4rem; | ||
font-family: "Manrope", sans-serif; | ||
} | ||
|
||
.feedbackButton { | ||
width: 2rem; | ||
height: 2rem; | ||
text-align: center; | ||
font-size: 1.25rem; | ||
padding: 0.25rem; | ||
border-radius: 1000em; | ||
margin-left: 1rem; | ||
cursor: pointer; | ||
transition: all 0.2s ease-in-out; | ||
svg { | ||
fill: var(--ifm-link-color); | ||
} | ||
|
||
&:hover, | ||
&.active { | ||
background: var(--ifm-link-color); | ||
svg { | ||
fill: var(--ifm-background-color); | ||
} | ||
} | ||
} | ||
|
||
.feedbackMessage { | ||
display: flex; | ||
align-items: center; | ||
svg { | ||
font-size: larger; | ||
margin-right: 6px; | ||
fill: var(--ifm-color-success); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import { createClient } from "@supabase/supabase-js"; | ||
|
||
const supabaseUrl = ""; | ||
const supabaseKey = ""; | ||
const supabaseUrl = "https://ttydafdojardufehywni.supabase.co"; | ||
const supabaseKey = | ||
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InR0eWRhZmRvamFyZHVmZWh5d25pIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTMzNDk2NDksImV4cCI6MjAwODkyNTY0OX0.X2KKTPFzouQyXAQH3VTrL-fyhbdUtlPsLHIYtoACQss"; | ||
|
||
export const supabase = createClient(supabaseUrl, supabaseKey); | ||
|
||
export default supabase; | ||
export default supabase; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters