From b76e35a95aea972f83466d012c01912b6539fc25 Mon Sep 17 00:00:00 2001 From: Chaoming Li Date: Thu, 21 Nov 2024 16:00:27 +1100 Subject: [PATCH] added company page design --- layouts/_default/company.html | 6 ++++++ layouts/shortcodes/investor-logo.html | 7 +++++++ layouts/shortcodes/section-container.html | 5 +++++ layouts/shortcodes/stat.html | 4 ++++ layouts/shortcodes/team-member.html | 22 ++++++++++++++++++++++ layouts/shortcodes/value-card.html | 21 +++++++++++++++++++++ static/images/company/exec-1.svg | 7 +++++++ static/images/company/exec-2.svg | 7 +++++++ static/images/company/exec-3.svg | 7 +++++++ static/images/company/investor-1.svg | 7 +++++++ static/images/company/investor-2.svg | 7 +++++++ static/images/company/investor-3.svg | 8 ++++++++ static/images/company/investor-4.svg | 8 ++++++++ 13 files changed, 116 insertions(+) create mode 100644 layouts/_default/company.html create mode 100644 layouts/shortcodes/investor-logo.html create mode 100644 layouts/shortcodes/section-container.html create mode 100644 layouts/shortcodes/stat.html create mode 100644 layouts/shortcodes/team-member.html create mode 100644 layouts/shortcodes/value-card.html create mode 100644 static/images/company/exec-1.svg create mode 100644 static/images/company/exec-2.svg create mode 100644 static/images/company/exec-3.svg create mode 100644 static/images/company/investor-1.svg create mode 100644 static/images/company/investor-2.svg create mode 100644 static/images/company/investor-3.svg create mode 100644 static/images/company/investor-4.svg diff --git a/layouts/_default/company.html b/layouts/_default/company.html new file mode 100644 index 0000000..27fca40 --- /dev/null +++ b/layouts/_default/company.html @@ -0,0 +1,6 @@ +{{ define "main" }} +
+ + {{ .Content }} +
+{{ end }} diff --git a/layouts/shortcodes/investor-logo.html b/layouts/shortcodes/investor-logo.html new file mode 100644 index 0000000..8de4fb1 --- /dev/null +++ b/layouts/shortcodes/investor-logo.html @@ -0,0 +1,7 @@ + diff --git a/layouts/shortcodes/section-container.html b/layouts/shortcodes/section-container.html new file mode 100644 index 0000000..34283ff --- /dev/null +++ b/layouts/shortcodes/section-container.html @@ -0,0 +1,5 @@ +
+
+ {{ .Inner }} +
+
diff --git a/layouts/shortcodes/stat.html b/layouts/shortcodes/stat.html new file mode 100644 index 0000000..3807736 --- /dev/null +++ b/layouts/shortcodes/stat.html @@ -0,0 +1,4 @@ +
+
{{ .Get "number" }}
+
{{ .Get "label" }}
+
diff --git a/layouts/shortcodes/team-member.html b/layouts/shortcodes/team-member.html new file mode 100644 index 0000000..6cc63c2 --- /dev/null +++ b/layouts/shortcodes/team-member.html @@ -0,0 +1,22 @@ +
+
+ {{ if .Get "image" }} + {{ .Get + {{ else }} +
+ + + +
+ {{ end }} + {{ if .Get "linkedin" }} + + + + + + {{ end }} +
+

{{ .Get "name" }}

+

{{ .Get "title" }}

+
diff --git a/layouts/shortcodes/value-card.html b/layouts/shortcodes/value-card.html new file mode 100644 index 0000000..5cf1e05 --- /dev/null +++ b/layouts/shortcodes/value-card.html @@ -0,0 +1,21 @@ +
+
+ {{ $icon := .Get "icon" }} + {{ if eq $icon "lightbulb" }} + + + + {{ else if eq $icon "users" }} + + + + {{ else if eq $icon "eye" }} + + + + + {{ end }} +
+

{{ .Get "title" }}

+

{{ .Get "description" }}

+
diff --git a/static/images/company/exec-1.svg b/static/images/company/exec-1.svg new file mode 100644 index 0000000..0c71641 --- /dev/null +++ b/static/images/company/exec-1.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/static/images/company/exec-2.svg b/static/images/company/exec-2.svg new file mode 100644 index 0000000..3b8aaa4 --- /dev/null +++ b/static/images/company/exec-2.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/static/images/company/exec-3.svg b/static/images/company/exec-3.svg new file mode 100644 index 0000000..65f79dd --- /dev/null +++ b/static/images/company/exec-3.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/static/images/company/investor-1.svg b/static/images/company/investor-1.svg new file mode 100644 index 0000000..b347891 --- /dev/null +++ b/static/images/company/investor-1.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/static/images/company/investor-2.svg b/static/images/company/investor-2.svg new file mode 100644 index 0000000..e15a0ce --- /dev/null +++ b/static/images/company/investor-2.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/static/images/company/investor-3.svg b/static/images/company/investor-3.svg new file mode 100644 index 0000000..cc6dd72 --- /dev/null +++ b/static/images/company/investor-3.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/static/images/company/investor-4.svg b/static/images/company/investor-4.svg new file mode 100644 index 0000000..386fab9 --- /dev/null +++ b/static/images/company/investor-4.svg @@ -0,0 +1,8 @@ + + + + + + + +