diff --git a/17-results-summary-component-go/public/out.css b/17-results-summary-component-go/public/out.css index 35a23b0..07567d6 100644 --- a/17-results-summary-component-go/public/out.css +++ b/17-results-summary-component-go/public/out.css @@ -556,6 +556,14 @@ video { height: 8rem; } +.h-full { + height: 100%; +} + +.h-screen { + height: 100vh; +} + .w-32 { width: 8rem; } @@ -564,6 +572,10 @@ video { width: 100%; } +.w-screen { + width: 100vw; +} + .flex-1 { flex: 1 1 0%; } @@ -754,3 +766,82 @@ html { font-style: normal; } + +@media (min-width: 768px) { + .md\:h-44 { + height: 11rem; + } + + .md\:h-\[500px\] { + height: 500px; + } + + .md\:w-1\/2 { + width: 50%; + } + + .md\:w-44 { + width: 11rem; + } + + .md\:w-\[715px\] { + width: 715px; + } + + .md\:flex-row { + flex-direction: row; + } + + .md\:justify-around { + justify-content: space-around; + } + + .md\:rounded-3xl { + border-radius: 1.5rem; + } + + .md\:bg-white { + --tw-bg-opacity: 1; + background-color: rgb(255 255 255 / var(--tw-bg-opacity)); + } + + .md\:px-8 { + padding-left: 2rem; + padding-right: 2rem; + } + + .md\:pt-2 { + padding-top: 0.5rem; + } + + .md\:text-2xl { + font-size: 1.5rem; + line-height: 2rem; + } + + .md\:text-6xl { + font-size: 3.75rem; + line-height: 1; + } + + .md\:text-base { + font-size: 1rem; + line-height: 1.5rem; + } + + .md\:text-xl { + font-size: 1.25rem; + line-height: 1.75rem; + } + + .md\:shadow-2xl { + --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); + --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); + } + + .md\:shadow-light-lavender\/50 { + --tw-shadow-color: hsl(241 100% 89% / 0.5); + --tw-shadow: var(--tw-shadow-colored); + } +} diff --git a/17-results-summary-component-go/templates/summary-component.gohtml b/17-results-summary-component-go/templates/summary-component.gohtml index 1c23cd2..f43bf08 100644 --- a/17-results-summary-component-go/templates/summary-component.gohtml +++ b/17-results-summary-component-go/templates/summary-component.gohtml @@ -32,49 +32,62 @@ -
-
+
-

Your Result

-
- 76 - of 100 -
-
-

Great

-

- You scored higher than 65% of the people who have taken these tests. -

-
-
- -
-

Summary

-
- {{ range . }} +

+ Your Result +

- -
{{ .Name }}
-
- {{ .Score }} - / 100 -
+ class="flex flex-col justify-center items-center w-32 h-32 bg-gradient-to-t rounded-full md:w-44 md:h-44 from-violet-blue/60 to-persian-blue/75" + > + 76 + of 100
- {{ end }} -
- +

Great

+

+ You scored higher than 65% of the people who have taken these + tests. +

+ +
+ +
- Continue - -
+

Summary

+
+ {{ range . }} +
+ +
{{ .Name }}
+
+ {{ .Score }} + / 100 +
+
+ {{ end }} +
+ + Continue + + +