diff --git a/web/app/View/Components/Card.php b/web/app/View/Components/Card.php new file mode 100644 index 0000000..c7ffb7c --- /dev/null +++ b/web/app/View/Components/Card.php @@ -0,0 +1,30 @@ +title = $title; + } + + /** + * Get the view / contents that represent the component. + * + * @return \Illuminate\Contracts\View\View|\Closure|string + */ + public function render() + { + return view('components.card'); + } +} diff --git a/web/app/View/Components/SocialCard.php b/web/app/View/Components/SocialCard.php new file mode 100644 index 0000000..02dcd3d --- /dev/null +++ b/web/app/View/Components/SocialCard.php @@ -0,0 +1,34 @@ +title = $title; + $this->description = $description; + $this->link = $link; + } + + /** + * Get the view / contents that represent the component. + * + * @return \Illuminate\Contracts\View\View|\Closure|string + */ + public function render() + { + return view('components.social-card'); + } +} diff --git a/web/resources/sass/Graphictoria.scss b/web/resources/sass/Graphictoria.scss index c2f973f..6d56206 100644 --- a/web/resources/sass/Graphictoria.scss +++ b/web/resources/sass/Graphictoria.scss @@ -183,7 +183,6 @@ html { background-position: center; min-height: calc(100vh - 63px); display: flex; - margin-top: -16px; } .graphictoria-nojs { diff --git a/web/resources/views/components/card.blade.php b/web/resources/views/components/card.blade.php new file mode 100644 index 0000000..30a011f --- /dev/null +++ b/web/resources/views/components/card.blade.php @@ -0,0 +1,8 @@ +
{{ $body }}
+ {{ $footer }} +* Graphictoria is not affiliated with, endorsed by, or sponsored by Roblox Corporation.
+